Mark Martinec wrote:

> Note the final /m in the last regexp, which is needed for perl 5.10.0
> (and does not hurt the 5.8.8) :
> 
>  ['ClamAV-clamd',
>    \&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd.ctl"],
>    qr/\bOK$/, qr/\bFOUND$/,
>    qr/^.*?: (?!Infected Archive)(.*) FOUND$/m ],

Thanks for looking into this! :) The modified line works like a charm:

--------------------------------<SNIP>--------------------------------
Sep 30 18:14:37 decado amavis[5039]: (05039-20) run_av (ClamAV-clamd): 
/var/lib/amavis/tmp/amavis-20080930T171404-05039/parts INFECT
ED: MSRBL-Images/3-0-whrB.UNOFFICIAL, MSRBL-Images/3-0-whr6.UNOFFICIAL, 
MSRBL-Images/3-0-whrM.UNOFFICIAL
Sep 30 18:14:37 decado amavis[5039]: (05039-20) Turning AV infection 
into a spam report: score=0.5, AV:MSRBL-Images/3-0-whrB.UNOFFIC
IAL=0.5,AV:MSRBL-Images/3-0-whr6.UNOFFICIAL=0.5,AV:MSRBL-Images/3-0-whrM.UNOFFICIAL=0.5
--------------------------------<SNIP>--------------------------------
-- 
The From: and Reply-To: addresses are internal news2mail gateway addresses.
Reply to the list or to Martin Huber <[EMAIL PROTECTED]>

-------------------------------------------------------------------------
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/ 

Reply via email to