amavisd ESET File Security 9 as primary antivirus

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
ryck
Posts: 8
Joined: Fri Sep 12, 2014 10:45 pm
Location: Mexico
ZCS/ZD Version: 8.8.15
Contact:

amavisd ESET File Security 9 as primary antivirus

Post by ryck »

I'm trying to add EFS 9 as primary antivirus before clamav. I add the AV section before clam:

Code: Select all

['ESET File Security for Linux',
  ['/opt/eset/efs/bin/odscan','odscan'],
  '-s --profile amavis-scan',
  [0,10,100],[1,50],
  qr/threat="([^"]+)"/m ],
When I do a "zmamavisdctl restart" i do get: "amavis[1651371]: Found primary av scanner ESET File Security for Linux at /opt/eset/efs/bin/odscan"
but it's not like "amavis[1840864]: Using primary internal av scanner code for ClamAV-clamd"

In other words, amavisd find the new AV, but do not use it.

Code: Select all

[zimbra@Server ~]$ time /opt/eset/efs/bin/odscan -s --profile amavis-scan /tmp/eicar-test.txt 
real    0m0.205s
user    0m0.068s
sys     0m0.015s

[zimbra@Server ~]$ echo $?
50
Zimbra user is able to run odscan and get the right result.

What am I missing?

Thank you for your assistance.
Post Reply