* sasa <[EMAIL PROTECTED]>:
> "Ralf Hildebrandt" wrote:
> > Run amavisd-new in debug mode:
> >
> >
> > % amavisd-new debug
> 
> #amavisd debug
> ...
> Jan  4 13:23:46 mail /usr/sbin/amavisd[3788]: SpamControl: initializing 
> Mail::SpamAssassin
> 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
> Killed
> 
> ..the permission are:
> 
> [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 root   root   5427200  2 gen 11:01 bayes_toks
> 
> ..this permission are corrects ??

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?

[EMAIL PROTECTED]

-- 
The Book of Postfix
<http://www.postfix-book.com>
saslfinger (debugging SMTP AUTH):
<http://postfix.state-of-mind.de/patrick.koetter/saslfinger/>

-------------------------------------------------------------------------
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
AMaViS-user@lists.sourceforge.net
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