X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=amavisd-cn.git;a=blobdiff_plain;f=templates%2F40-carnet;h=d4fe258b780e0f71327d44ce9ff3c5d20e904956;hp=f93356efc9fd1698ee0aecb1955e5617fdf35498;hb=9639f8270b6d25fba28032e8ffdc3b4f79340005;hpb=15dc167dd76adb8351422cf012e2c8f8f25fbfd2 diff --git a/templates/40-carnet b/templates/40-carnet index f93356e..d4fe258 100644 --- a/templates/40-carnet +++ b/templates/40-carnet @@ -70,7 +70,7 @@ $first_infected_stops_scan = 1; # default is false, all scanners are call push @av_scanners, ( # ### http://www.csupomona.edu/~henson/www/projects/SAVI-Perl/ -# ['Sophos SAVI', \&sophos_savi ], + ['Sophos SAVI', \&sophos_savi ], ); @@ -78,8 +78,20 @@ push @av_scanners, ( # push @av_scanners_backup, ( +# Commented out because the name 'sweep' clashes with Debian and FreeBSD +# package/port of an audio editor. Make sure the correct 'sweep' is found +# in the path when enabling. +# +# ### http://www.sophos.com/ - backs up Sophie or SAVI-Perl + ['Sophos Anti Virus (sweep)', 'sweep', + '-nb -f -all -rec -ss -sc -archive -cab -tnef --no-reset-atime {}', + [0,2], qr/Virus .*? found/, + qr/^>>> Virus(?: fragment)? '?(.*?)'? found/, + ], + # other options to consider: -mime -oe -idedir=/usr/local/sav + # always succeeds (uncomment to consider mail clean if all other scanners fail) -['always-clean', sub {0}], + ['always-clean', sub {0}], );