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:
- http://people.apache.org/~dos/sa-plugins/3.0/POPAuth.cf
- http://people.apache.org/~dos/sa-plugins/3.0/POPAuth.pm
For Apache SpamAssassin 3.1.x:
- http://people.apache.org/~dos/sa-plugins/3.1/POPAuth.cf
- http://people.apache.org/~dos/sa-plugins/3.1/POPAuth.pm
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).