This is a discussion on Re: [AMaViS-user] How to use Spam exclusion file with amavisd-new within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; Xavier wrote: > Dear all, > I'm configuring amavisd-new (version 2.4.1) with postfix to filter messages &...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Xavier wrote:
> Dear all, > I'm configuring amavisd-new (version 2.4.1) with postfix to filter messages > against spamassassin and clamav. > I succeed to configure amavisd-new to filter all messages 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 ! You want to use the envelope sender in a whitelist. This list gets mail from amavis-user-bounces@lists.sourceforge.net or amavis-user-admin@lists.sourceforge.net You will notice that the @score_sender_maps setting already has examples of a number of mailing lists. You could add more there and adjust the scores downward to suit your needs. I see this in the header of this message: Sender: amavis-user-bounces@lists.sourceforge.net Gary V ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?p...rge&CID=DEVDEV _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/...fo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/ |