Notifications on banned files

Patrick Ben Koetter p at sys4.de
Fri Feb 22 16:30:12 CET 2013


* Michael Dukelsky <amavism at mail.ru>:
> I'd like a recipient to receive a notification of a banned file moved to
> the quarantine, if and only if the recipient is in my net. How do I do it?

Set @mynetworks to tell where your machines are:

@mynetworks = qw( 
    127.0.0.0/8
    ...
    );  # 

Set @local_domains_maps to tell amavis who your recipients are:

@local_domains_maps = (
    ".$mydomain"
    );

Tell amavis to notify recipients of banned file quarantine:

# Don't send notification to sender
$warnbannedsender = 0;

# Send notification to recipient
$warnbannedrecip = 1;

p at rick

-- 
[*] sys4 AG
 
http://sys4.de, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München
 
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer
Aufsichtsratsvorsitzender: Joerg Heidrich
 


More information about the amavis-users mailing list