logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Mail::MtPolicyd::Plugin::AddScoreHeader - mtpolicyd plugin for adding the score as header to the mail

Author

       Markus Benning <ich@markusbenning.de>

Description

       Adds an header with the current score and score details to the mail.

Example

         <Plugin add-score-header>
           module = "AddScoreHeader"
           # score_field = "score"
           # header_name = "X-MtScore"
           spam_score = 5
         </Plugin>

       Will return an action like:

         X-MtScore: YES score=7.5 [CTIPREP_TEMP=2.5, spamhaus-rbl=5]

Name

       Mail::MtPolicyd::Plugin::AddScoreHeader - mtpolicyd plugin for adding the score as header to the mail

Parameters

       (uc_)spam_score (default: 5)
           If the score is higher than this value it'll be tagged as 'YES'.  Otherwise 'NO'.

       score_field (default: score)
           Specifies the name of the field the score is stored in.  Could be set if you need multiple scores.

       header_name (default: X-MtScore)
           The name of the header to set.

Version

       version 2.05

See Also