--- Gary V <[EMAIL PROTECTED]> wrote: > >> 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'
The first command created the log file and messages began to append. Messages are also appended when amavisd-new starts but none when razor is actually employed. __________________________________________________________ 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 _______________________________________________ Razor-users mailing list Razor-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/razor-users