avg amavis setup FAILED - unexpected , output='220-AVG daemon mode scanner''

lists at sbt.net.au lists at sbt.net.au
Thu Jun 7 16:29:09 CEST 2012


On Fri, June 8, 2012 12:07 am, Mark Martinec wrote:
>> ['AVG Anti-Virus',
>> \&ask_daemon, ["SCAN {}\n", '127.0.0.1:54322'],
>> qr/^200/, qr/^403/, qr/^403 .*?: ([^\r\n]+)/ ],
> Missing the /m flag in regexps:
> ['AVG Anti-Virus',
> \&ask_daemon, ["SCAN {}\n", '127.0.0.1:54322'],
> qr/^200/m, qr/^403/m, qr/^403 .*?: ([^\r\n]+)/m ],

> amavisd-new-2.6.4 release notes :


Mark,

thanks

ahem, I just noticed it came with README amavis that has this:

----
@av_scanners = (

  ['AVG Anti-Virus',
      \&ask_daemon, ["SCAN {}\n", '127.0.0.1:54322'],
      qr/^200 [oO][kK]/m, qr/^403/m, qr/^403 .*?: ([^\r\n]+)/m ],

-----




More information about the amavis-users mailing list