Dear all,

I'm configuring amavisd-new with postfix to filter messages against 
spamassassin and clamav.

I succeed to configure clamav to filter all message going on my server.

Now I'd like to use a exclusion list to prevent amavisd-new filter messages 
that are sent to the subscribe/unsubscribe addressess of my mailing list 
system.

As I have a lot of mailing list, I've decided to create the exclusion list by 
using a file containing emails extracted from my alias file.

Indeed my file (/var/amavis/spam_lovers) looks like:
list1-subscribe
list1-unsubscribe
list2-subscribe
list2-unsubscribe

I've added in my amavisd-new configuration file, this line :
@bypass_spam_checks_maps = ( [read_array("/var/amavis/spam_lovers")] );

However that doesn't work. It still scan my messages sent to that previous 
email.

I've also added the domain name after the email address, but it doesn't affect 
the result.
I've too test read_hash insted of read_array.

I don't know why it doesn't work.

I wonder if someone has succeeded to configure amavisd-new to use a file as a 
spam exclusion list.

Thanks a lot for your precious help !

-- 
Xavier MOGHRABI - ObjectWeb Consortium
jabber: [EMAIL PROTECTED]
-- 
[email protected] mailing list

Reply via email to