Gary V a écrit : > Gary wrote: > >> Correction, Benny is correct in this particular case of >> [email protected], since the header of the mail does have: > >> To: [email protected] >> or possibly >> CC: [email protected] > >> whitelist_to in local.cf would work, but the majority of the time, mail >> will be addressed to you. > > This was not worded correctly. The mail *is* of course addressed to you. > You are the envelope recipient. What I wanted to say was the majority > of the time you will listed in the headers in the To: or CC: (or other > similar) fields. > >> SpamAssassin reads the headers to determine >> this, but amavisd-new uses the envelope sender. So to whitelist the >> amavis list, you would actually add these to your whitelist_sender table: > > So, the difference is what sender and recipient addresses amavisd-new > sees (the envelope sender and recipient) as opposed to what sender and > recipient addresses SpamAssassin sees (gleaned from the headers). In > many cases, they are the same, but in this case, they are not. > > 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?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > AMaViS-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/amavis-user > AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 > AMaViS-HowTos:http://www.amavis.org/howto/
Thanks, I've another question. I've this line on amavisd.conf: read_hash(\%local_domains, '/etc/amavis/local_domains'); and in /etc/amavis/local_domains, I put all my domains. I recently saw that I forgot to add a domain in this file, and for all mails intending to mails with that domain, he didn't verify spams on those mails (there were no score and I received all spams directly to my inbox folder). After, I added it, all was good. Is it normal? I thought that this parameter was to distinguish if it was incoming or outcpoming mails. Thanks :-) ------------------------------------------------------------------------- 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?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
