The POPAuth Plugin

Utilizes an access.db style hash file to extend the SpamAssassin trusted_networks to 'POPAuth' or 'POP-before-SMTP' hosts by dynamically adding and removing the hosts or networks found in the specified database to SpamAssassin's trusted_networks configuration.

Code

Add the following files to your local configuration directory (usually /etc/mail/spamassassin):

For Apache SpamAssassin 3.0.x:

For Apache SpamAssassin 3.1.x:

For Apache SpamAssassin 3.2.x:

  • The plugin for 3.1 works with 3.2 but you must configure at least one host (such as your MX's IP address) or network manually using the trusted_networks config option. Configuring trusted_networks manually is recommended anyway.

How To Use It

Add the above files to your local configuration directory and edit the supplied POPAuth.cf file to suit your setup (ie. change the popauth_hash_file setting to point at your 'POPAuth' or 'POP-before-SMTP' access database hash file).