Mail::SpamAssassin::Plugin::WLBLEval(3p)

NAME
Mail::SpamAssassin::Plugin::WLBLEval - SpamAssassin plugin for blocklist and welcomelist evaluation

SYNOPSIS
  loadplugin Mail::SpamAssassin::Plugin::WLBLEval

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

DESCRIPTION
This plugin provides functions for blocklists and welcomelists for sender and recipient addresses, as well as URI host lists. It supports matching by address, domain, and relay information.

METHODS

check_from_in_blocklist()
    Checks if the sender address is in the blocklist.

check_to_in_blocklist()
    Checks if the recipient address is in the blocklist.

check_to_in_welcomelist()
    Checks if the recipient address is in the welcomelist.

check_to_in_more_spam()
    Checks if the recipient address is in the more_spam_to list.

check_to_in_all_spam()
    Checks if the recipient address is in the all_spam_to list.

check_from_in_list($list)
    Checks if the sender address is in the specified list.

check_replyto_in_list($list)
    Checks if the Reply-To address is in the specified list.

check_wb_list($params)
    Checks if an address is in a welcomelist or blocklist, based on parameters.

check_to_in_list($list)
    Checks if the recipient address is in the specified list.

check_from_in_welcomelist()
    Checks if the sender address is in the welcomelist.

check_forged_in_welcomelist()
    Checks if the sender address is forged with respect to the welcomelist.

check_from_in_default_welcomelist()
    Checks if the sender address is in the default welcomelist.

check_forged_in_default_welcomelist()
    Checks if the sender address is forged with respect to the default welcomelist.

check_mailfrom_matches_rcvd()
    Checks if the envelope sender domain matches the relay domain.

check_uri_host_in_blocklist()
    Checks if any URI host is in the blocklist.

check_uri_host_in_welcomelist()
    Checks if any URI host is in the welcomelist.

check_uri_host_listed($subname)
    Checks if any URI host is listed in the specified list.