This may be obvious, but since you didn't explicitly mention it, check the permissions on the /var/amavisd/.razor folder and the actual file as well.
/var/amavis/.razor is 755 /var/amavis/.razor/razor-agent.conf is 644
However, /var/amavis is symlinked to /hd2/amavis, which is 750 and owned by the user vscan and group vscan. Meaning that if something in that group (like the spamd process) tries to access that file, indeed it wont be able to. I think if I change /var/amavis to 755, it would work fine.... but this might be a security issue, no? Better to add the "spamd" user to the vscan group?
The 2nd thing I can think of is that you are running amavisd chrooted and when razor tries to find the config file it looks in /var/amavisd/var/amavisd/.razor (since it thinks /var/amavisd is the actual root). You can create a symlink as root like so 'cd /var/amavisd && ln -s / var/amavisd'.
Nope, not chrooted...
I just noticed that the error says '/var/amavis' and not '/var/amavisd/', so perhaps you will need to change the path where razor looks for the config as well.
Was a typo on my part, sorry. The directory is indeed /var/amavis. All the paths match up fine.
Hope this helps. Regards, Adriel
Thanks :) Let me know if you can think of anything else. ------------------------------------------------------- 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/
