make sure the permission on the folders for quarantine/ Incoming work dir/ <a name="SpamAssassin Cache Database File">SpamAssassin Cache Database File</a> etc allow Postfix to write<br><br> su to postfix and run mailScanner in Debug, you'll be able to find out what it's trying to do in more detail to findout where you've not got the permissions correct<br>
<br><br clear="all">-- <br>Martin Hepworth<br>Oxford, UK<br>
<br><br><div class="gmail_quote">On 17 November 2011 08:52, Peter A.Nesterov <span dir="ltr"><<a href="mailto:peter@pele.spb.ru">peter@pele.spb.ru</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#FFFFFF" text="#000000">
<p style="margin-bottom:0cm">Hi,<br>
</p>
<p style="margin-bottom:0cm">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.</p>
<p style="margin-bottom:0cm">I followed this guide to setting
it up <br>
</p>
<p style="margin-bottom:0cm"><a href="http://www.linuxmail.info/how-to-install-mailscanner-centos-5/" target="_blank">http://www.linuxmail.info/how-to-install-mailscanner-centos-5/</a>
<br>
</p>
<p style="margin-bottom:0cm">Everything works, but I see some
error messages in maillog: <br>
</p>
<p style="margin-bottom:0cm">...<br>
Nov 15 12:45:17 mail MailScanner[3227]:
MailScanner E-Mail Virus Scanner version 4.84.3 starting... <br>
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 <br>
Nov
15 12:45:17 mail MailScanner[3227]: at
/usr/lib/MailScanner/MailScanner/CustomFunctions/Ruleset-from-Function.pm
line
34 <br>
Nov 15 12:45:17 mail MailScanner[3227]: Compilation
failed in require at /usr/lib/MailScanner/MailScanner/Config.pm
line
760. <br>
Nov 15 12:45:17 mail MailScanner[3227]: ) <br>
Nov 15
12:45:17 mail MailScanner[3227]: Reading configuration file
/etc/MailScanner/MailScanner.conf<br>
...<br>
</p>
<p style="margin-bottom:0cm">Any suggestions?<br>
</p>
<p style="margin-bottom:0cm">Cheers,<br>
Peter<span class="HOEnZb"><font color="#888888"><br>
</font></span></p><span class="HOEnZb"><font color="#888888">
<pre cols="72"></pre>
<br>--
<br>This message has been scanned for viruses and
<br>dangerous content by
<a href="http://www.mailscanner.info/" target="_blank"><b>MailScanner</b></a>, and is
<br>believed to be clean.
</font></span></div>
<br>--<br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
<br>
Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/posting</a><br>
<br>
Support MailScanner development - buy the book off the website!<br>
<br></blockquote></div><br>