Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: correcting and completing whitelisting/blacklisting chapter

...

Blacklisting/whitelisting can be done through the standard following command line options of SpamAssassin:

  • spamassassin --add-addr-to-blacklist=foe@spam.biz
  • spamassassin --add-addr-to-whitelist=friend@ham.org

You can repeat the whitelisting/blacklisting multiple times - either to make it stronger, or to negate previous whitelisting by blacklisting (or vice versa).

It is necessary to understand that whitelisting/blacklisting through TxRep is not the same as whitelisting/blacklisting in a cf file, using the whitelist_from or blacklist_from directives. TxRep whitelisting/blacklisting only adjusts the reputation of the plain email address mean reputation by 100 points. However, the reputation of the plain email address is only one part of the overall reputation, and the influence of the reputation is also limited by the txrep_factor. It means, the whitelisting or blacklisting through TxRep may still be overridden.More details can be found in TxRep PODby a high score (details can be found in TxRep POD). This blacklisted or whitelisted reputation score can wear out over time, as scores of new messages from the sender are added to the total reputation score.

Besides whitelisting/blacklisting of email addresses, in the same way also domain names, IP addresses, and dot-less HELO names can be whitelisted or blacklisted. For example:

  • spamassassin --add-addr-to-whitelist=spamming.biz
  • spamassassin --add-addr-to-whitelist=12.123.12.234
  • spamassassin --add-addr-to-whitelist=1234:abcd:1111:12::3
  • spamassassin --add-addr-to-blacklist=foe-pc

Please note that when blacklisting/whitelisting an email address or domain, all records of the address or domain bound to certain IP address, DKIM signature, or an SPF pass, will be removed from the database, and only the plain record (not bound to any specific IP address or signature) is kept.

Database Storages & Utilities

...