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     = "[EMAIL PROTECTED]";  # notifications sender
> $mailfrom_notify_recip     = "[EMAIL PROTECTED]";  # notifications sender
> $mailfrom_notify_spamadmin = "[EMAIL PROTECTED]";
> $hdrfrom_notify_admin = "Content Filter <[EMAIL PROTECTED]>";

> $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
[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/

Reply via email to