You&#39;ll have to look at the content of Ruleset-from-Function.pm ? Especially line 34. It looks like it&#39;s trying to create a temp file but doesn&#39;t have the permissions to do so. Find out where and why it&#39;s making a temp file and disable that functionality or make sure it has the correct permissions.<br>

<br><div class="gmail_quote">On 17 November 2011 09:52, Peter A.Nesterov <span dir="ltr">&lt;<a href="mailto:peter@pele.spb.ru">peter@pele.spb.ru</a>&gt;</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&#39;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 &quot;require&quot;d. Make sure the last line is &quot;1;&quot;
      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<br>
    </p><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></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>