Gary V skrev:
>>>> ## Definition below by Anders Norrbring (anders AT norrbring DOT se)
>>>> ['Kaspersky Antivirus v5.5',
>>>> ['/opt/kav/5.5/kav4unix/bin/kavscanner', 'kavscanner'],
>>>> '-r -i0 -xpn -mn -ePASBME -R -i0 {}/*', [0], [5,21,25],
>>>> qr/(?:INFECTED|SUSPICIOUS) (.+)/,
>>>> ],
>>>> ## NOTES:
>>>> ## Due to the command line configuration of the scanning, there is
>>>> ## no need to include detection of "cured", "cure-failed" and others.
>>>> ## The scanner ONLY scans, it doesn't cure or delete anything, just
>>>> ## report is made.
>>>> ## Also beware of your kav4unix.conf settings!
>
> ['Kaspersky kavscanner v5.5',
> ['/opt/kav/5.5/kav4unix/bin/kavscanner',
> '/opt/kav/5.5/kav4mailservers/bin/kavscanner','kavscanner'],
> '-i1 -xp {}', [0,10,15], [5,20,21,25],
> qr/(?:CURED|INFECTED|CUREFAILED|WARNING|SUSPICION) (.*)/ ,
> ],
>
> Taking the existing settings, and updating it to reflect the newer
> version, I come up with this. Certainly you can turn off the attempt
> to cure with -i0 instead of -i1; it could possibly save a little
> processing power, and turning off display of OK files with -xpn in
> place of -xp does not appear to have any negative consequences. It
> might save a little bit of logged text if you log at 3 or more.
> Your -mn may affect logging, but that is more of a personal choice.
> Personally, I disable appending to the log in the .conf file. If you
> turn some stuff off, then other stuff can probably go too, but since
> I have only seen exit codes of 0 and 25, and don't know what the
> others are, I personally am going to leave well enough alone.
> But that's just me.
>
> Gary V
Yep. Everything is a matter of taste, I just posted my thoughts as
suggestions.. :)
I've made some alterations for MAV Mailserver, NOD32, F-Secure and Panda
as well. Will post when they're worked through and verified to work.
--
Anders Norrbring
Norrbring Consulting
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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/