Mail::...Lookup(3pm)

πŸ’– NAME πŸ’–

okay bestie, so this is the manpage for Mail::...Lookup(3pm) β€” specifically Mail::MtPolicyd::Plugin::SaAwlLookup, which is an mtpolicyd plugin that goes and asks a spamassassin AWL database what it thinks about a sender's reputation. slay. πŸ’…


✨ VERSION ✨

version 2.05 β€” iconic, we're on it πŸŽ€


🌸 DESCRIPTION 🌸

okay so picture this: this plugin literally queries the auto_whitelist database that spamassassin's AWL plugin uses, to get the reputation of a sender ip/address combination. that's the whole vibe. πŸ¦‹

and then β€” based on that AWL score β€” you can apply a score or an action in mtpolicyd. and like, the way you do that is in combination with the SaAwlAction plugin. they're a duo fr fr. πŸ‘‘


🫢 PARAMETERS 🫢

  • db_file (default: /var/lib/amavis/.spamassassin/auto-whitelist) β€” the path to the auto-whitelist database file. that's it, that's the one setting. lowkey simple πŸ’œ

🌈 EXAMPLE 🌈

so if you wanna read reputation from amavis/spamassassin AWL, you do this:

<Plugin amavis-awl>
  module = "SaAwlLookup"
  db_file = "/var/lib/amamvis/.spamassassin/auto-whitelist"
</Plugin>
⚠️ heads up bestie: the location of auto-whitelist may be different on your system, so don't just copy-paste and ghost it. and make sure mtpolicyd is allowed to read the db_file β€” permissions matter, no cap. 😭

πŸ’œ AUTHOR πŸ’œ

Markus Benning <ich@markusbenning.de> β€” king behavior πŸ‘‘


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

and that's the whole page bestie, we ate πŸ’…βœ¨ β€” this was Mail::...Lookup(3pm) from perl v5.38.2, dated 2024-05-26. mwah, go forth and rate those senders πŸŒΈπŸ¦‹πŸ’–

πŸ“¦ where this page comes from