4.54.4

Steve Freegard steve.freegard at fsl.com
Tue May 23 22:00:15 UTC 2006


Hi Jules,

The only way I could seem to get this to work is add a function to
SweepViruses.pm that does:

sub return_scanners {
 return $scannerlist;
}

Then in the CustomFunction run:

my($scanners) = MailScanner::SweepViruses::return_scanners();

This seems like I've gone around the houses, but it does work...

Cheers,
Steve.

> -----Original Message-----
> From: mailscanner-beta-bounces at lists.mailscanner.info 
> [mailto:mailscanner-beta-bounces at lists.mailscanner.info] On 
> Behalf Of Julian Field
> Sent: 23 May 2006 21:48
> To: MailScanner Beta-testers
> Subject: Re: 4.54.4
> 
> I think it's called %MailScanner::SweepViruses::Scanners.
> 
> Steve Freegard wrote:
> > Hi Jules,
> >
> >   
> >> On 23 May 2006, at 12:47, Steve Freegard wrote:
> >>
> >>     
> >>> Thinking about this further - I could move all of this
> >>>       
> >> functionality
> >>     
> >>> into a CustomFunction and work it out in there as I can get
> >>>       
> >> the list
> >>     
> >>> of scanners from
> >>>       
> >> MailScanner::SweepViruses::InstalledScanners(); and
> >>     
> >>> that would save you from having to put this into SweepViruses...
> >>>       
> >> That sounds good from here :-)
> >>     
> >
> > Cool! -- I've been fiddling about with this for a while but I can't 
> > seem to get access to 
> $MailScanner::SweepViruses::scannerlist from a 
> > CustomFunction, any pointers would be gratefully received ;-)
> >
> > Cheers,
> > Steve.
> >
> >   
> 
> --
> Julian Field
> www.MailScanner.info
> Buy the MailScanner book at www.MailScanner.info/store 
> Professional Support Services at www.MailScanner.biz 
> MailScanner thanks transtec Computers for their support
> 
> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
> 
> 
> --
> This message has been scanned for viruses and dangerous 
> content by MailScanner, and is believed to be clean.
> MailScanner thanks transtec Computers for their support.
> 
> --
> MailScanner-Beta mailing list
> mailscanner-beta at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner-beta
> 
> Before posting, read http://wiki.mailscanner.info/posting
> 
> Support MailScanner development - buy the book off the website!
> 




More information about the MailScanner-Beta mailing list