This is a discussion on Re: [AMaViS-user] When a virus found, amavid does not bounce to the sender within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; Adrian wrote: > hello list, > my scenario is when amavisd found a virus from received email, it > should ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Adrian wrote:
> hello list, > my scenario is when amavisd found a virus from received email, it > should bounce the email and a email should return to sender saying > that your email cannot be deliveried due to a virus. > This is my amavisd configuration > $mailfrom_notify_admin = "postmaster\@$mydomain"; # notifications sender > $mailfrom_notify_recip = "postmaster\@$mydomain"; # notifications sender > $mailfrom_notify_spamadmin = "postmaster\@$mydomain"; > $hdrfrom_notify_admin = "Content Filter <postmaster\@$mydomain>"; > $final_virus_destiny = D_BOUNCE; > $final_banned_destiny = D_BOUNCE; > $final_spam_destiny = D_DISCARD; > I configured $final_virus_destiny = D_BOUNCE; > it should return a bounce email to the sender if a virus was found. > But it didn't . > Any other settings I missed to make it work? Read through the @viruses_that_fake_sender_maps settings. If the virus is listed in this section, then no bounce will occur. In real life, the sender usually is faked, so I think it is not a good idea to confuse innocent victims by notifying them that they sent a virus, when in fact they have not. I think you would have to make changes in that section as it appears it is set to assume every virus sender address is faked (version 2.3.2) [qr/^/ => 1], # true by default (remove or comment-out if undesired) I personally would set $final_virus_destiny = D_DISCARD; and forget about sender notifications for viruses. Gary V ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ 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/ |