>> Well it was always working.  Just no log messages.  The permissions are
>> fine.  BTW, shouldn't razor create the file if it is missing?

> I know I said this, previously:

> From what I've seen amavisd does not call razor, by executable name, just
> as SpamAssassin does not.  Instead, it includes the razor calls into its
> runtime environment, just as it does with SpamAssassin (if you've enabled
> it).  Logging of Razor positives, if available, should be found in the
> amavis logs.

I don't think amavisd-new calls razor at all. SpamAssassin calls razor.
In my experience amavisd-new will only log something related to SpamAssassin
if SpamAssassin croaks (or you run amavisd-new in 'debug-sa' mode), so
I don't think you will ever find razor stuff in your /var/log/mail.


To get your log working:
Try either creating /var/amavisd/.razor/razor-agent.log manually (and
then change ownership and permissions) or simply run:
su amavisd -c 'razor-admin -create'
which should create the file also (with the correct ownership and
permissions). In my experience, version 2.72 had some issues where
all the files may not be created when running 'razor-admin -create'
so I suggest running BOTH these commands AS YOUR AMAVISD-NEW USER,
and that may solve the problem...

su amavisd -c 'razor-admin -create'
su amavisd -c 'razor-admin -register'

This should set up razor for 'amavisd' with everything the
way it should be (we hope, version 2.72 was a little buggy).
http://sourceforge.net/mailarchive/forum.php?thread_id=7581465&forum_id=4258
http://marc.theaimsgroup.com/?l=amavis-user&m=112377156704787&w=2

Since you have a file named /etc/razor/razor-agent.conf, that file
will be used as a system wide .conf file.

If the files are still not created properly, try removing (or mv'ing)
/etc/razor and try again.

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
_______________________________________________
Razor-users mailing list
Razor-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/razor-users

Reply via email to