Ruleset-from-function Custom Function Broken??

Julian Field MailScanner at ecs.soton.ac.uk
Thu Mar 6 16:29:07 GMT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Rose, Bobby wrote:
> Doe anyone know how this example is supposed to work?  I'm rtrying to 
> use it as a template but if I set
> Virus Scanning =  &VirusScanning('%rules-dir%/virus.scanning.rules')
> and don't change anything with Ruleset-from-function.pm  I start a 
> MailScanner process in debug
>  
> Can't use string ("/var/spool/mqueue.in") as an ARRAY ref while 
> "strict refs" in use at ./MailScannerTest line 1427.
>  and I also see
What happens if you don't use "%rules-dir%" but give the real directory 
name there instead?
>  
> Enabling SpamAssassin auto-whitelist functionality...
>  
> in the maillogs even though that isn't enabled in the MailScanner.conf 
> file
>  
> If I remove the Virus Scaning custom function and start in debug, 
> there's no error and no SA Autowhitelist message is logged.
>  
> I'm thinking something changed in Config.pm that breaks the calling of 
> rulesets external to config.pm
>  
> Any ideas?
>  
> Bobby

Jules

- -- 
Julian Field MEng CITP CEng
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

Need help customising MailScanner?
Contact me!
Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654


-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.8.1 (Build 2523)
Comment: (pgp-secured)
Charset: ISO-8859-1

wj8DBQFH0BvUEfZZRxQVtlQRAhCBAJ42irIMILFvy9V+7/NmucXXfDAl+gCfZjyd
KDuAeCgCKSS/s2xw7z46mwE=
=sU8n
-----END PGP SIGNATURE-----

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the MailScanner mailing list