NOD32 Linux with Amavis-new config question

Discussion in 'Other ESET Home Products' started by greminn, May 9, 2007.

Thread Status:
Not open for further replies.
  1. greminn

    greminn Registered Member

    Joined:
    May 9, 2007
    Posts:
    2
    Hi There, We are running NOD32 on Debian Linux. We are using amavis-new to do the scanning of mail as it comes into our mail-gateway (postfix). We are having a configuration issue with amavis-new and nod32. This is the output of the mail.log file and the amavis-new config. Any thoughts here?:

    May 10 13:51:51 mail-in2 amavis[5683]: (05683-01) Using ESET NOD32 for Linux Mail servers: /usr/bin/nod32cli --subdir --files -z --sfx --rtp --adware --unsafe --pattern --heur -w -a --action-on-infected=accept --action-on-uncleanable=accept --action-on-notscanned=accept /var/lib/amavis/amavis-20070510T135151-05683/parts
    May 10 13:51:51 mail-in2 amavis[5683]: (05683-01) run_av: /usr/bin/nod32cli status=64 (16384 ),/usr/bin/nod32cli: unrecognized option `--files'\n/usr/bin/nod32cli: invalid option -- z\n/usr/bin/nod32cli: unrecognized option `--sfx'\n/usr/bin/nod32cli: unrecognized option `--rtp'\n/usr/bin/nod32cli: unrecognized option `--adware'\n/usr/bin/nod32cli: unrecognized option `--unsafe'\n/usr/bin/nod32cli: unrecognized option `--pattern'\n/usr/bin/nod32cli: unrecognized option `--heur'\n/usr/bin/nod32cli: invalid option -- w\n/usr/bin/nod32cli: invalid option -- a\n/usr/bin/nod32cli: unrecognized option `--action-on-infected=accept'\n/usr/bin/nod32cli: unrecognized option `--action-on-uncleanable=accept'\n/usr/bin/nod32cli: unrecognized option `--action-on-notscanned=accept'
    May 10 13:51:51 mail-in2 amavis[5683]: (05683-01) Virus scanner failure: /usr/bin/nod32cli (exit status: 64)

    This is our amavis config for nod32:

    ### http://www.nod32.com/, version v2.52 and above
    ['ESET NOD32 for Linux Mail servers',
    ['/opt/eset/nod32/bin/nod32cli', 'nod32cli'],
    '--subdir --files -z --sfx --rtp --adware --unsafe --pattern --heur '.
    '-w -a --action-on-infected=accept --action-on-uncleanable=accept '.
    '--action-on-notscanned=accept {}',
    [0,3], [1,2], qr/virus="([^"]+)"/ ],
     
  2. greminn

    greminn Registered Member

    Joined:
    May 9, 2007
    Posts:
    2
    Hi There,

    I have fixed this now... The correct amavis-new config is:

    ### http://www.eset.com/
    ['ESET Software NOD32 Command Line Interface v 2.52',
    '/usr/bin/nod32cli','--subdir {}',
    [0], [1,2], qr/virus="([^"]+)"/ ],
     
Thread Status:
Not open for further replies.