Banned/Virus Help

Mark Martinec Mark.Martinec+amavis at ijs.si
Mon Mar 28 18:41:19 CEST 2011


Guilherme,

> Hello, i'm using amavisd-new 2.6.4 and i'm want to warn local virus/banned
> just for admin.

If I understand this correctly, you'd like an administartor to receive
notifications of virus/banned messages originating from inside.
The following should do (for simple setups without roaming
authenticated users):


@mynetworks = qw(
  0.0.0.0/8 127.0.0.0/8 [::1] [FE80::]/10 [FEC0::]/10
  169.254.0.0/16 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16
   ...
);

$policy_bank{'MYNETS'} = {  # mail originating from @mynetworks
  originating => 1,
  virus_admin_maps => [ 'postmaster at example.com' ],
  banned_admin_maps => [ 'postmaster at example.com' ],
};


  Mark


More information about the amavis-users mailing list