Ubuntu (debian-unstable) + Mailscanner + Postfix

Tristan RHODES TristanRhodes at WEBER.EDU
Wed Apr 13 20:22:52 IST 2005

Thank you Peter, Drew, and Julian for your help.

As Drew said, this was caused by Razor placing a file in the queue
directory.  I needed to edit the
"/etc/MailScanner/spam.assassin.prefs.conf" file and add a line that

razor_config /var/lib/Mailscanner

(Ubuntu 5.04 does not have a "/var/spool/MailScanner/spamassassin"
directory, but it does have "/var/lib/Mailscanner" directory that
contains the Bayes database.)

Everything appears to be working correctly without any errors.  Great
to have such a talented and friendly mailing list.

Tristan Rhodes

P.S.  Installing Razor is as easy as typing "apt-get install razor".
No sweat.

>>> drew at THEMARSHALLS.CO.UK 04/13/05 12:29 AM >>>
Peter Russell wrote:

> You need to install razor properly. Its a buggar.
> But temporarily make your postfix account so you can log in with it,
> switch to it and then create razor, then change the conf file to log
> dev/null
> I am sure there is an easier way but i dont know it :)

In spam.assassin.prefs.conf just add
razor_config /var/spool/MailScanner/spamassassin

and that will set razor to log to .razor in that directory (Or indeed
where ever you wish it to set it's home directory to). It's only
MS runs as the user postfix, who happens to have it's home directory
/var/spool/postfix so drops it's log file in the queue directory,
Postfix doesn't like.


------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!

More information about the MailScanner mailing list