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

Mark Martinec Mark.Martinec+amavis at ijs.si
Thu Jun 7 16:07:09 CEST 2012


> ['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 :

NOTE: When upgrading Perl to version 5.10 or planning to do so, please do
not forget to add a missing /m flag to regular expressions in your existing
AV entries (if you haven't already done so with a 2.6.3 upgrade), as
suggested in an example file amavisd.conf in a package.  Perl 5.8 does
not mind missing /m flags, but with perl 5.10 the results from a virus
scanner may no longer be properly recognized. See the BUG FIXES section
in 2.6.3 release notes.


   Mark


More information about the amavis-users mailing list