Re: no messages to log file

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

> 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

This is how I set it up as root:

# razor-client
# razor-admin -home=/etc/razor -d -create
# razor-admin -home=/etc/razor -d -register
# mkdir -p /var/amavisd/.razor
# cp -r /etc/razor/* /var/amavisd/.razor
# chown -R amavisd.amavisd /var/amavisd/.razor

User 'amavisd' has home directory /var/amavisd.  This is also the
chroot of amavisd-new.  Neither the configuration nor the logfile
were created under /etc/razor.  I forced the former to be created by
later doing:

# razor-admin -home=/etc/razor -conf=/etc/razor/razor-agent.conf -d
-create

But still no logfile.



	

	
		
__________________________________________________________ 
Find your next car at http://autos.yahoo.ca


-------------------------------------------------------
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.