MailScanner[nnnn]: Could not use Custom Function code /usr/lib/MailScanner/...

Peter A.Nesterov peter at pele.spb.ru
Thu Nov 17 08:52:18 GMT 2011


Hi,

I've just implemented MailScanner 4.84.3 on CentOS 5.7 x64_86 with 
Postfix 2.3.3, spamassassin 3.3.1, ClamAV 0.97.2, Perl 5.8.8.

I followed this guide to setting it up

http://www.linuxmail.info/how-to-install-mailscanner-centos-5/

Everything works,  but I see some error messages in maillog:

...
Nov 15 12:45:17 mail MailScanner[3227]: MailScanner E-Mail Virus Scanner 
version 4.84.3 starting...
Nov 15 12:45:17 mail MailScanner[3227]: Could not use Custom Function 
code 
/usr/lib/MailScanner/MailScanner/CustomFunctions/Ruleset-from-Function.pm, 
it could not be "require"d. Make sure the last line is "1;" and the 
module is correct with perl -wc (Error: Error in tempfile() using 
MailScanner.XXXXXX: Parent directory (.) is not writable
Nov 15 12:45:17 mail MailScanner[3227]: at 
/usr/lib/MailScanner/MailScanner/CustomFunctions/Ruleset-from-Function.pm line 
34
Nov 15 12:45:17 mail MailScanner[3227]: Compilation failed in require at 
/usr/lib/MailScanner/MailScanner/Config.pm line 760.
Nov 15 12:45:17 mail MailScanner[3227]: )
Nov 15 12:45:17 mail MailScanner[3227]: Reading configuration file 
/etc/MailScanner/MailScanner.conf
...

Any suggestions?

Cheers,
Peter


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20111117/a356c139/attachment.html


More information about the MailScanner mailing list