Matt wrote: > Hi all,
> I followed instructions given to me for creating /var/amavis/.razor and > all files inside of it. > When I added the razor location to the spamassassin config file, I get: > Sep 9 18:56:23 relay3 spamd[491]: razor2 check skipped: No such file or > directory Can't read conf file: /var/amavis/.razor/razor-agent.conf > Sep 9 18:57:58 relay3 spamd[490]: razor2 check skipped: No such file or > directory Can't read conf file: /var/amavis/.razor/razor-agent.conf > Sep 9 19:03:02 relay3 spamd[553]: razor2 check skipped: No such file or > directory Can't read conf file: /var/amavis/.razor/razor-agent.conf > repeated over and over again.... > The file exists, but it looks like its a permissions problem. My > /var/amavis dir is chmod 640 and owned by user vscan, group vscan. According to http://www.ijs.si/software/amavisd/INSTALL.txt chmod -R 750 /var/amavis Not sure, but you may need execute permissions to use razor-agent.conf > Should I just add the spamd user into the vscan group? > Or should I chmod 644 that directory? > Thanks! > -Matt The question is, why is spamd in use? Typically SpamAssassin is called by amavisd-new and therefore only your vscan user would use /var/amavis/.razor/razor-agent.conf. The instructions to place razor_config /var/amavis/.razor/razor-agent.conf in local.cf assume the only users that use those razor files are 'root' and 'vscan'. This setting is optional. If other users are involved, it may be best to give them their own razor files (the .razor directory and files copied to the user's home directory may suffice; chown of course), and then remove this setting in local.cf. I would assume it's best to not allow anyone other than 'root' and 'vscan' access to anything in the /var/amavis directory. Gary V ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
