Jens wrote: >> > I want to costumize the notification on amavisd-new-2.4.4 >> > with the following settings: >> >> > - Banned-Files: Notify only sender (not recipient, not admin) >> > - Virusmails: Notify only admin >> > - All other notification should be disabled (SPAM ...) >> >> > How do I have to costumize my amavisd.conf to let it work so ? >> >> >> To disable notifications to virus sender: >> $final_virus_destiny = D_DISCARD; >> >> To enable notifications to banned sender: >> $final_banned_destiny = D_BOUNCE; >> >> If you mark and pass spam: >> $final_spam_destiny = D_PASS; >> >> otherwise: >> $final_spam_destiny = D_DISCARD; >> >> you can probably leave this at: >> $final_bad_header_destiny = D_PASS; >>
> Hi > Thanx for your reply. > I have set as you have written the following settings: > [...] > $warnvirussender = undef; > $warnspamsender = undef; > $warnbannedsender = 1; > $warnbadhsender = undef; > $warn_offsite = undef; > $warnvirusrecip = undef; > $warnbannedrecip = undef; > $warnbadhrecip = undef; Actually, I said you could comment all of those out. You can leave them all at the default value (undef). It's not necessary to $warnbannedsender = 1; when you are set to bounce banned files. > $final_virus_destiny = D_DISCARD; > $final_banned_destiny = D_BOUNCE; > $final_spam_destiny = D_PASS; > ## $final_bad_header_destiny = D_PASS; > [...] > But when I send a message with a blacklisted extension > like .msi, the message was blocked, but the sender does > not have any infomail about it in the mailbox :-( > Also a virus-rejected mail is blocked, but the admin > is not informed about the blocked mail. > In the logs of my MTA there is no entry about a reply > or mail to virusalert. What MTA are you using and how are you connecting to it (milter, after-queue filter, before-queue filter, dual sendmail)? There have been cases where the notifications are fed back through amavis and subsequently marked as spam. The next step would be to *temporarily* raise $log_level to 5 and send the two test messages again. The log with the amavis data should show if a notification is created (in the case of virus) or if a bounce notice is created (in the case of a banned file) or if there is some reason they were not created. 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/
