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 πŸ‘‘


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