What you're looking for is both possible, and an extremely bad idea. Far more viruses will pass into an e-mail system with a false "FROM" address than ones that are legitimate. Your proposal will be sending response messages for every virus it finds, and the majority of those will be from incorrect sender addresses.
So, in effect, you will be telling a lot of people that they not only have a virus, but their e-mail (that they didn't send in the first place) couldn't be delivered. Some places consider these false notifications to be SPAM, and you could end up with more headaches than it's worth. In addition, some sites have configured their filter server to look for those "you sent a virus" type messages and simply discard them. Your thought process makes sense, until you see the bigger picture. That's why virus notifications are not enabled by default in amavisd-new. --- Adrian Mak <[EMAIL PROTECTED]> 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? > > > ------------------------------------------------------- > 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/ > ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs ------------------------------------------------------- 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/
