<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><DIV>On 11 Jul 2006, at 19:28, Sid Ramdane wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV style="font-family:times new roman, new york, times, serif;font-size:12pt">Hi,<BR><BR>I am using MS on Fedora Core 5 with spamd, pyzor and razor.<BR>The MTA is postfix and I am seeing errors, which I believe are<BR>caused by permission; however I do not know where to start.<BR><BR><SPAN>I have followed guidelines here: <A target="_blank" href="http://www.clarkconnect.com/wiki/index.php?title=Howtos_-_Anti-Virus_and_Anti-Spam_Filtering_with_MailScanner">http://www.clarkconnect.com/wiki/index.php?title=Howtos_-_Anti-Virus_and_Anti-Spam_Filtering_with_MailScanner</A></SPAN><BR><BR>Also I am seeing when postfix restart errors:<BR><BR>Jul 11 18:10:17 cansado postfix/postsuper[6336]: warning: bogus file name: hold/razor-agent.log<BR>Jul 11 18:10:34 cansado postfix/postsuper[6407]: warning: bogus file name: hold/razor-agent.log<BR></DIV></BLOCKQUOTE>This is becuase the home directory for the user that is running SpamAssassin (Postfix) is being used to store the log file. Stop Postfix and delete it. Stop MailScanner and add razor_config /var/spool/MailScanner/spamassassin/razor/ to spam.assassin.prefs.conf</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Make sure these directories exist and can be written by the postfix user. Make sure that you run razor-admin -create -conf=/var/spool/MailScanner/spamassassin/razor (In my example. Pick where ever suits you. Make sure you change the value in spam.assassin.pref.conf) and make sure a line 'logfile = razor-agent.log' and a line 'razorhome = /var/spool/MailScanner/spamassassin/razor' are in place.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>You can now restart MailScanner and Postfix and all should now be happy.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Drew</DIV></BODY><br />-- 
<br />In line with our <a href="http://www.themarshalls.co.uk/policy">policy</a>, this message has been scanned for 
<br />viruses and dangerous content by
<a href="http://www.mailscanner.info/">MailScanner</a>, and is
<br />believed to be clean.
</HTML>