Mail::...eHeader(3pm)
β¨ NAME β¨
Okay bestie, so this page is Mail::MtPolicyd::Plugin::AddScoreHeader (the manual for it lives in Mail::...eHeader(3pm), iconic abbreviation energy π
) β it's an mtpolicyd plugin for adding the score as header to the mail. Slay.
π VERSION π
version 2.05 β yes, we're on that one, no cap π«Ά
πΈ DESCRIPTION πΈ
It adds an header with the current score and score details to the mail. That's literally it. It's giving "do one thing and do it well" π
π PARAMETERS π
(uc_)spam_score(default:5) β if the score is higher than this value it'll be tagged as'YES'. Otherwise'NO'. Simple as that, fr fr β¨score_field(default:score) β specifies the name of the field the score is stored in. Could be set if you need multiple scores. Multiple scores? We love a polyamorous queen πheader_name(default:X-MtScore) β the name of the header to set. Name your baby whatever you want, main character choice π¦
π§ EXAMPLE π§
Okay so here's the vibe:
<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]
Look at that score breakdown. Not me being obsessed with CTIPREP_TEMP=2.5 and spamhaus-rbl=5 doing the lord's work ππ₯
π AUTHOR π
Markus Benning <ich@markusbenning.de> β we stan a legend π
πΊ COPYRIGHT AND LICENSE πΊ
This software is Copyright (c) 2014 by Markus Benning <ich@markusbenning.de>.
This is free software, licensed under:
The GNU General Public License, Version 2, June 1991
GPLv2, the classic. Free as in freedom, bestie π
And that's the whole page, bestie!! This one's documented under perl v5.38.2, dated 2024-05-26, and it's Mail::...eHeader(3pm) β thanks for reading, ily, mwah π
β¨π
π¦ where this page comes from
- debian trixie: mtpolicyd 2.05-1.2 Β· GPL-2.0-only
- ubuntu questing: mtpolicyd 2.05-1.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms