> >> > 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.
> 
Hi

ok my mistake - I have set $warnbannedsender to undef
like you have written before and set 

$final_virus_destiny      = D_DISCARD;
$final_banned_destiny     = D_BOUNCE;
$final_spam_destiny       = D_PASS;
## $final_bad_header_destiny = D_PASS;

like you said and ***YEP*** it works. THX !!!

-- 
Regards,

     Jens Strohschnitter

-------------------------------------
*!!!LINUX LINUX LINUX LINUX LINUX!!!*
 
* http://www.jens-strohschnitter.de *
-------------------------------------
Set the controls for 
                 the heart of the sun
-------------------------------------
__________________________________________________________

Raiffeisen Waren-Zentrale Rhein-Main eG
50668 Koeln, Altenberger Str. 1a

Tel: 0221/1638-0
Fax: 0221/1638-254

Sitz: Koeln

Amtsgericht Koeln, GnR 728

Vorstand: 
Hans-Josef Hilgers (Sprecher)
Markus Stuettgen
Dr. Karl-Heinrich Suemmermann
Friedhelm Decker (Vorsitzender)
Ingo Steitz

Vorsitzender des Aufsichtsrates: 
Peter Bleser (MdB)

St.Nr.: 215/5938/0152

Bankverbindung:
WGZ Bank AG, Duesseldorf
(BLZ 300 600 10) Konto-Nr.: 300 011



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

Reply via email to