MailScanner[nnnn]: Could not use Custom Function code
mailscanner at joolee.nl
Thu Nov 17 09:18:25 GMT 2011
You'll have to look at the content of Ruleset-from-Function.pm ? Especially
line 34. It looks like it's trying to create a temp file but doesn't have
the permissions to do so. Find out where and why it's making a temp file
and disable that functionality or make sure it has the correct permissions.
On 17 November 2011 09:52, Peter A.Nesterov <peter at pele.spb.ru> wrote:
> 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
> Everything works, but I see some error messages in maillog:
> Nov 15 12:45:17 mail MailScanner: MailScanner E-Mail Virus Scanner
> version 4.84.3 starting...
> Nov 15 12:45:17 mail MailScanner: Could not use Custom Function code
> 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: at
> line 34
> Nov 15 12:45:17 mail MailScanner: Compilation failed in require at
> /usr/lib/MailScanner/MailScanner/Config.pm line 760.
> Nov 15 12:45:17 mail MailScanner: )
> Nov 15 12:45:17 mail MailScanner: Reading configuration file
> Any suggestions?
> This message has been scanned for viruses and
> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
> believed to be clean.
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> Before posting, read http://wiki.mailscanner.info/posting
> Support MailScanner development - buy the book off the website!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the MailScanner