Mail::...BLEval(3pm)

πŸ’– Mail::...BLEval β€” the blocklist & welcomelist bestie πŸ’–

okay so hi 🫢 you found the manual page for Mail::SpamAssassin::Plugin::WLBLEval, and yeah it ships as part of the User Contributed Perl Documentation (so it's a community icon, not a core-coded legend, iykyk). It's a SpamAssassin plugin, it's giving gatekeeper energy, and it's literally here to tell your mail who's allowed in and who's getting ✨ignored✨.


πŸŽ€ NAME πŸŽ€

Mail::SpamAssassin::Plugin::WLBLEval β€” a SpamAssassin plugin for blocklist and welcomelist evaluation. no cap, that's the whole vibe.


✨ SYNOPSIS ✨

load it up like this, bestie:

loadplugin Mail::SpamAssassin::Plugin::WLBLEval

and then in your rules you just… call it. yes it's that easy:

# In your rules:
header   FROM_IN_BLOCKLIST   eval:check_from_in_blocklist()
header   TO_IN_WELCOMELIST   eval:check_to_in_welcomelist()

periodt. πŸ’…


🌈 DESCRIPTION 🌈

okay so here's the tea πŸ“: this plugin hands you a whole collection of functions for blocklists and welcomelists covering sender addresses, recipient addresses, and URI host lists too. so it's not just one little list girlie, it does the most and we love that for it.

and it doesn't just match the plain address either β€” it can match by address, by domain, and by relay information. three whole flavor options, iconic. πŸ‘‘


πŸ’… METHODS πŸ’…

every single one, in order, no skips, no cuts, we're doing the whole setlist:

  • check_from_in_blocklist() β€” is the sender address sitting in the blocklist? that's the check. 🚫
  • check_to_in_blocklist() β€” is the recipient address in the blocklist? yeah. that one.
  • check_to_in_welcomelist() β€” is the recipient address in the welcomelist? cute, they're invited. πŸ’–
  • check_to_in_more_spam() β€” is the recipient address chillin' in the more_spam_to list? πŸ‘€
  • check_to_in_all_spam() β€” and is the recipient address in the all_spam_to list? πŸ’€
  • check_from_in_list($list) β€” is the sender address in the list you named in $list? you tell it which list, it does the lookup. 🀝
  • check_replyto_in_list($list) β€” same energy but for the Reply-To address instead. check if it's in the specified $list. πŸ“¬
  • check_wb_list($params) β€” the flexible one πŸ¦‹: checks whether an address is in a welcomelist or a blocklist, and it figures that out based on the parameters you pass it.
  • check_to_in_list($list) β€” is the recipient address in the specified $list? yes bestie, that exact thing.
  • check_from_in_welcomelist() β€” is the sender address in the welcomelist? 🌸
  • check_forged_in_welcomelist() β€” spicy one πŸ”₯: is the sender address forged with respect to the welcomelist? (callout behavior fr fr)
  • check_from_in_default_welcomelist() β€” is the sender address in the default welcomelist? the default one specifically, not just any.
  • check_forged_in_default_welcomelist() β€” and is that sender address forged with respect to the default welcomelist? yeah, same callout energy but scoped to the default list.
  • check_mailfrom_matches_rcvd() β€” does the envelope sender domain match the relay domain? πŸ” because sometimes those two are giving different stories.
  • check_uri_host_in_blocklist() β€” is any URI host in the blocklist? (any. not just one. all of them get checked. 😀)
  • check_uri_host_in_welcomelist() β€” and is any URI host in the welcomelist? same deal, opposite vibe. ✨
  • check_uri_host_listed($subname) β€” is any URI host listed in the list you specify with $subname? that's it, that's the function. 🎯

heads up bestie: this is a 3pm manual page, so it's documenting the Perl module β€” the calls above are exactly the calls, spelled exactly like that, don't freestyle the names. πŸ’œ

and that's the whole page, we ate and left no crumbs 🍽️✨. officially signed, sealed, and part of perl v5.40.1, dated 2026-07-23. mwah, go forth and evaluate those lists, you main character. πŸŽ€πŸ¦‹πŸ’…

πŸ“¦ where this page comes from