Commercial virus checker failed ...
Mike Rylander
miker at incanta.net
Wed Jan 9 16:32:08 GMT 2002
On Wednesday 09 January 2002 11:17, Mike Rylander wrote:
> On Wednesday 09 January 2002 11:10, Christopher Hicks wrote:
> > On Wed, 9 Jan 2002, Mike Rylander wrote:
> > > On Wednesday 09 January 2002 07:21, Christopher Hicks wrote:
> > > > On Wed, 9 Jan 2002, Nick Phillips wrote:
> > > > > Which would be Bad.
> > > >
> > > > Ah. Why not make "Virus Scanner" comma-delimited as Julian
> > > > proposed and replace Sweep with
> > > > Sweep Sophos = /some/path/to/wrapper
> > > > Sweep Mcafee = /some/path/to/wrapper
> > > > Sweep Fprot = /some/path/to/wrapper
> > > > ...
> > > > ?
> > >
> > > Or rather
> > >
> > > Sweep = f-prot, /some/path/to/wrapper
> > > Sweep = sophos, /another/path/to/wrapper
> > > Sweep = mcafee, /some/other/path/to/wrapper
> >
> > But that conflicts with the current Sweep config variable which would
> > give folks the opportunity to set it the old way thinking nothing was
> > changed. From what I can recall, there aren't any config parameters that
> > are repeatedable currently, so the config reader may puke on it too.
>
> Not necessarily... image this code...
>
> if (/\s*Virus Scanner\s*=\s*(\S+)/) {
> $Config::VirusScanner = $1; # ... I dont know the real variable
> name ... }
>
> if (/\s*Sweep\s*=\s*(\S+),\s*(\S*)\s*$/) {
> $Config::VirusScanner = $1; # ... I dont know the real variable
> name ... $Config::Sweep = $2; # ... again ...
> } elsif (/\s*Sweep\s*=\s*(\S+) && $Config::VirusScanner) {
> $Config::Sweep = $2;
err, opps...
$Config::Sweep = $1;
> }
>
>
> --
> Mike Rylander
> Senior Systems Engineer
> Incanta, Inc.
> 404.845.4147
> miker at incanta.net
> miker-pager at incanta.net
--
Mike Rylander
Senior Systems Engineer
Incanta, Inc.
404.845.4147
miker at incanta.net
miker-pager at incanta.net
More information about the MailScanner
mailing list