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.


Maybe the spamd user isn't in use. I know it exists in /etc/passwd (was created by the port), but I just assumed that the following log messages were coming from the spamd process which was being run as the spamd user....

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

Otherwise, why wouldn't it be able to access the file? Below is proof that something is up....

relay1# sudo -H -u vscan head -1 /var/amavis/.razor/razor-agent.conf
#
relay1# sudo -H -u spamd head -1 /var/amavis/.razor/razor-agent.conf
head: /var/amavis/.razor/razor-agent.conf: Permission denied

The vscan user can access the file fine, while the spamd user can't....
Is something up with the port thats calling spamd as the spamd user?

-Matt



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/


!DSPAM:43223753583549807516236!



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

Reply via email to