Mail::...cessDB(3pm)

πŸ’– Mail::SpamAssassin::Plugin::AccessDB πŸ’–

okay bestie so this one lives in the User Contributed Perl Documentation section β€” it's a 3pm page, iykyk β€” and it's genuinely iconic.

✨ NAME ✨

Mail::SpamAssassin::Plugin::AccessDB β€” it checks your message against an Access Database, fr fr πŸŽ€

🌸 SYNOPSIS 🌸

like, this is the whole setup, no notes:

loadplugin     Mail::SpamAssassin::Plugin::AccessDB

header   ACCESSDB  eval:check_access_database('/etc/mail/access.db')
describe ACCESSDB  Message would have been caught by accessdb
tflags   ACCESSDB  userconf
score    ACCESSDB  2

πŸ¦‹ DESCRIPTION πŸ¦‹

So many MTAs out there have access databases β€” we're talking Sendmail, Postfix, etc. πŸ’… And this plugin does similar checks to see whether a message would have been flagged. It's giving detective energy. πŸ”

Here's the vibe check on what the rule returns:

  • The rule returns false if an entry isn't found, or the entry has a RHS of OK or SKIP. 🫢
  • The rule returns true if an entry exists and has a RHS of REJECT, ERROR, or DISCARD. πŸ”₯
⚠️ okay important note, bestie: only the first word (split on non-word characters) of the RHS is checked, so "error:5.7.1:..." means "ERROR". Don't come for me, that's just how it is. 😭

🧚 AccessDB Pointers 🧚


⭐ and that's the whole page, periodt. this was perl v5.40.1, dated 2026-07-23, and the manual is literally Mail::...cessDB(3pm). slay, go forth and check those access databases πŸ’–πŸŒˆπŸ’…

πŸ“¦ where this page comes from