Mark Martinec wrote:
>
> Try adding a /m regexp flag, which changes how ^ matches in a
> perl regular expressions, letting it match at any line beginning,
> not only at the first line:
>
> ['AVG Anti-Virus',
> \&ask_daemon, ["SCAN {}\n", '127.0.0.1:55555'],
> qr/^200/m, qr/^403/m, qr/^403 .*?: ([^\r\n]+)/m ],
>
> Let me know if it helps.
>
Thanks that did the job, and it's successfully spotted an Eicar message,
excellent!
John.
--
John Beranek To generalise is to be an idiot.
http://redux.org.uk/ -- William Blake
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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/