Hi all, We're looking to run ESET's Security for Linux Mail servers (esets) on our amavisd-new box, but I can't get the scanner config right. I've checked the listed configs and tried various incarnations of those, but haven't had any luck.
Info: hostname:~# dpkg -l esets Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-====================-====================- ii esets 3.0.11 ESET Security for Linux Server Distro: Debian 4.0 etch ESET recommends the following definition for amavisd-new: ### http://www.eset.com/ ['ESET Software ESETS Command Line Interface', '/usr/bin/esets_cli', '--subdir {}', [0], [1, 2, 3], qr/virus=.([^.]+)./ ], But that doesn't let me extract the virus name properly from the scanner output. I get the following in the virus admin notification: ======================== A virus was found: is OK" /var/lib/amavis/amavis-20090213T090451-32674/parts/p001: action="accepted" /var/lib/amavis/amavis-20090213T090451-32674/parts/p001: virus="is OK" /var/lib/amavis/amavis-20090213T090451-32674/parts/p003: action="discarded" /var/lib/amavis/amavis-20090213T090451-32674/parts/p003: virus="Eicar test file Scanner detecting a virus: ESET Software ESETS Command Line Interface The mail originated from: <[send...@[mydomain]> First upstream SMTP client IP address: [xx.xx.xx.xx] unknown According to the 'Received:' trace, the message originated at: [xx.xx.xx.xx] hostname(unknown [xx.xx.xx.xx]) The message WAS NOT delivered to: <recipi...@[mydomain]>: 250 2.7.1 Ok, discarded, id=32674-01 - VIRUS: is OK" /var/lib/amavis/amavis-20090213T090451-32674/parts/p001: action="accepted" /var/lib/am... Virus scanner output: p002: action="accepted" p002: virus="is OK" p001: action="accepted" p001: virus="is OK" p003: action="discarded" p003: virus="Eicar test file" Not quarantined. ============================ I'm not too familiar with Perl regex, but have tried a few variations nail this thing down. The problem seems to me to be in the output from the scanner in that it's sending output for all message parts, rather than just the infected part, and is also adding an "action" output for the part. It seems that ESET has updated their scanner output again from previous versions, so those configs are no longer working. Does anybody know how I can either tell ESET to shut up about the "action" and clean items or the scanner definition I can use to work around and just extract the virus name? ________________________________ Hugo Slabbert (i-worx) ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ 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/
