"Patrick Ben Koetter" wrote: > There's a user 'amavis' that wants to read a file > /var/amavis/.spamassassin/bayes_toks that is owned by 'root' and may only > be > read by 'root'. > > When you start amavisd, which user does it run as? Does it run as > 'amavis'? Is > 'amavis' allowed to read /var/amavis/.spamassassin/bayes_toks?
..now amavisd is run with root user but also with: [EMAIL PROTECTED] ~]# ls -l /var/amavis/.spamassassin/ totale 8300 -rwxr-x--- 1 amavis amavis 45056 4 gen 11:52 auto-whitelist -rwxr-x--- 1 amavis amavis 5214208 2 gen 11:01 bayes_seen -rw------- 1 amavis amavis 5427200 2 gen 11:01 bayes_toks ..and with: #ls -l /var/sbin/amavisd -rwxr-xr-x 1 amavis amavis 624857 9 mag 2005 /usr/sbin/amavisd ..I have: #amavisd debug .... Mail::SpamAssassin Killed ..now I haven't: bayes: cannot open bayes databases /var/amavis/.spamassassin/bayes_* R/O: tie failed: Permission denied bayes: cannot open bayes databases /var/amavis/.spamassassin/bayes_* R/O: tie failed: Permission denied ..but however amavisd not function. thanks. ------ Salvatore. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ 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/
