MailWatch problem with Latest Beta

Steve Freegard steve.freegard at fsl.com
Fri May 26 11:28:39 UTC 2006


Hi Lee,

On Fri, 2006-05-26 at 08:53 +0100, Lee Hetherington wrote:
> Im currently using the MailWatch.pm custom module todo logging into a 
> MySQL database. However, when ive put the file into the CustomFunctions 
> directory on the latest one (New box also) im getting MailScanner saying 
> the following in the log:
> 
> MailScanner[17276]: Could not use Custom Function code 
> MailScanner::CustomConfig::InitMailWatchLogging, it could not be 
> "eval"ed. Make sure the module is correct with perl -wc
> 
> Any ideas?

Make sure that you have the Storable perl module installed.

> perl -wc returns:
> 
> perl -wc MailWatch.pm
> Useless use of private variable in void context at MailWatch.pm line 247.
> MailWatch.pm syntax OK
> 
> Line 247 contains:
> 
> $file = $message->{file2safefile}{$file} or $file;

This is just a harmless warning.

Cheers,
Steve.

-- 
Steve Freegard
Development Director
Fort Systems Ltd.
Tel:    +44 (0)1243 200 001
Mobile: +44 (0)7740 364 348
Skype:  smfreegard




More information about the MailScanner-Beta mailing list