[Mimedefang] Trouble with Auto-Whitelist

Brett Simpson Simpsonb at hillsboroughcounty.org
Fri Jan 2 16:37:08 EST 2004


Never mind. I figured it out.

Had to add the following to /etc/mail/spamassassin/sa-mimedefang.cf

#Enable AWL
auto_whitelist_path        /var/spool/MIMEDefang-AWL/auto_whitelist
auto_whitelist_file_mode   0666

Thanks,
Brett

>>> Simpsonb at hillsboroughcounty.org 01/02/04 02:58PM >>>
I'm trying to setup AWL in my /etc/mail/mimedefang-filter and it doesn't seem to be working. 

Would uncommenting the SASpamTester section be enough for it to work or do I need to setup something like "$SASpamTester = 1;" in my mimedefang-filter?

if ($Features{"SpamAssassin"}) {
    spam_assassin_init()->compile_now(1) if defined(spam_assassin_init());
                                                                                                                                                          
    # If you want to use auto-whitelisting:
   if (defined($SASpamTester)) {
       use Mail::SpamAssassin::DBBasedAddrList;
       my $awl = Mail::SpamAssassin::DBBasedAddrList->new();
       $SASpamTester->set_persistent_address_list_factory($awl) if defined($awl);
   }
}



_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca 
MIMEDefang mailing list
MIMEDefang at lists.roaringpenguin.com 
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang




More information about the MIMEDefang mailing list