Razor-agent.log - how?

Dhawal Doshy dhawal at NETMAGICSOLUTIONS.COM
Fri Mar 4 10:42:30 GMT 2005

    [ The following text is in the "windows-1251" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Steen, Glenn wrote:
> Seems like that is the home dir for your webserver, not postfix?
> Perhaps this is from MailWatch?
> No matter... Another way to solve this is to create the .razor
> directory in ~postfix and make it writeable to postfix, then
> run the discovery/setup as the postfix user ... If you run in a
> chroot jail, this might entail "su - postfix -s /bin/sh" and ...
> well discover away:-).
> At least how I solved it. My .02^Ès worth...:-)
> -- Glenn

Some more unsolicited advise

RAZOR INSTALL (stolen conveniently from 
Install Razor as per http://razor.sourceforge.net/docs/install.php upto 
step 4.
Use the following commands to configure razor for SA, replace 
'/etc/mail/spamassassin/' with your preferred path:

razor-admin -home=/etc/mail/spamassassin/.razor -create
razor-admin -home=/etc/mail/spamassassin/.razor -discover
razor-admin -home=/etc/mail/spamassassin/.razor -register

If you have already done the above without the '-home' parameter then 
use the following step:
mv ~/.razor /etc/mail/spamassassin/

Add to /etc/MailScanner/spam.assassin.prefs.conf, the following lines:
razor_config /etc/mail/spamassassin/.razor/razor-agent.conf
razor_timeout 10

Add to /etc/mail/spamassassin/.razor/razor-agent.conf the following line:
razorhome = /etc/mail/spamassassin/.razor/

Use this in your crontab for razor discovery:
minute hour * * * /usr/bin/razor-admin \
-conf=/etc/mail/spamassassin/.razor/razor-agent.conf -discover

Ideally it should never complain about razor home or log again. Also use 
the following command for lint:
/usr/bin/spamassassin -x -D \
-p /etc/MailScanner/spam.assassin.prefs.conf --lint

2 more units of whatever currency,
- dhawal

------------------------ 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 MAQ (http://www.mailscanner.biz/maq/) 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