Alright,

I answered my own question. The working scanner definition for esets 3.0.11 is 
as follows:

### http://www.eset.com/
['ESET Software ESETS Command Line Interface',
'/usr/bin/esets_cli', '--subdir {}',
[0], [1, 2, 3], qr/rejected.[\n].+virus=.([^.]+)./ ],

Note that this requires the infected items policy to be set to "reject" in the 
esets configuration file. To accomplish this, in the [cli] section of the 
/etc/esets/esets.cfg file, set action_av_infected = "reject". If you set it to 
"discard" instead, then just adjust the "rejected" string in the scanner 
configuration to "discarded".

This allows amavisd-new to properly extract the virus name from the esets 
scanner output.

Cheers,

________________________________

Hugo Slabbert

-----Original Message-----
From: Hugo Slabbert (i-worx) [mailto:[email protected]] 
Sent: Friday, February 13, 2009 10:12 AM
To: [email protected]
Subject: [AMaViS-user] ESET Security Config for amavisd-new
....

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=.([^.]+)./ ],
 

------------------------------------------------------------------------------
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/ 

Reply via email to