Re: no messages to log file

Gary V <[email protected]>
Newsgroups gmane.mail.spam.razor.user
Message-ID <[email protected]>
Peter wrote:

> I am using amavisd-new 2.3.3 with Spamassassin 3.04 on OpenBSD 3.8.
> razor-agents 2.72 has been installed.
> The module is being recognized when amavis starts.  How can I verify
> whether razor is working?  There is no log file created.  Config
> file sets a log level of 5.

With amavisd-new, one way to see if Razor is called (and functioning) is
to run spamassassin in debug mode as your amavisd-new user, for example:

su vscan -c 'spamassassin --lint -D'

The log you are looking for should be in the .razor directory of the
home directory of your amavisd-new user. Often this is:

/var/amavis/.razor/razor-agent.log

If not, then you may not have it set up correctly. The easiest way
to set it up is to configure it as your amavisd-new user. For example:

su vscan
razor-admin -create
razor-admin -register
exit

The config file for the amavisd-new user will either be:
/etc/razor/razor-agent.conf
or something similar to:
/var/amavis/.razor/razor-agent.conf

The files you may have in /root/.razor will not be used by amavisd-new.

Gary V



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.