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:

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).