POP-before-SMTP for SpamAssassin

Discussion in 'Feature Requests' started by jmroth, Nov 3, 2006.

  1. jmroth

    jmroth New Member

    Any chance of adding this to ISPConfig's SpamAssassin?
    http://wiki.apache.org/spamassassin/POPAuthPlugin

    I am using pop-before-smtp from Debian Sarge.

    It works by adding
    Code:
    loadplugin Mail::SpamAssassin::Plugin::POPAuth 
    popauth_hash_file /var/lib/pop-before-smtp/hosts.db
    
    to /home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/init.pre

    and POPAuth.pm to /home/admispconfig/ispconfig/tools/spamassassin/usr/share/perl/5.8.4/Mail/SpamAssassin/Plugin/

    Works like a charm ;)

    (A note on the side: Is it normal that there is both ./usr/lib/perl5/site_perl/5.8.0/Mail/ and ./usr/share/perl/5.8.4/Mail/ containing the same perl modules in /home/admispconfig/ispconfig/tools/spamassassin ??)


    Actually, my mail relay also contains accounts where mail is delivered to, that is why I am doing this. I am still on the search for a solution for SA to recognize authenticated SMTP connections, since I am both using pop-before-smtp and SASL AUTH. So, this is the first step towards that goal.
    Recognizing SASL AUTH will however be more complicated, since the Debian Sarge Postfix is not recent enough to enable the sasl_auth_headers and installing a Postfix 2.3 backport did not work in a first attempt... :(


    Regards,
    Marc
     
  2. falko

    falko Super Moderator Howtoforge Staff

Share This Page