4.50.12 - please test

Steve Freegard smf at f2s.com
Mon Jan 23 13:14:51 GMT 2006


Hi Michael,

On Mon, 2006-01-23 at 07:50 -0500, Michael H. Martel wrote:
> --On January 23, 2006 7:43:22 AM -0500 "Michael H. Martel" 
> <martelm at quark.vsc.edu> wrote:
> 
> > However, MailWatch doesn't like it.  It gives me :
> >
> > Error:  Unable to select a regular expression for your primary virus
> > scanner (auto) - please see the examples in functions.php to create one.
> >
> > I haven't even looked at functions.php yet.
> 
> I'm not sure what the "correct" fix is.  I know what I did.
> 
> I added this to functions.php :
> 
> case 'auto':
> 	define(VIRUS_REGEX, '/(.+) contains (\S+)/');
> 	break;
> 

This will work just fine provided that ClamAV is installed.  In the
longer term I'm not sure what default is best for this - but I'll
release a new version soon to address this.

I'm working on MailWatch 2.0 at the moment - and plan on removing the
VIRUS_REGEX requirement in MailWatch and moving the functionality into
MailScanner instead (e.g. capture the names of the viruses caught per
scanner) so this should be a non-issue by then.

Cheers,
Steve.



More information about the MailScanner mailing list