[Dovecot] stat() failed with mbox /var/mail/%u

Jim Tittsler jt at onjapan.net
Fri Jul 8 04:06:20 EEST 2005


On Jul 8, 2005, at 02:58, Jungshik Shin wrote:

> I tried various combinations of permissions and ownerships for /var/ 
> mail
> (1777, 2775) and /var/mail/<userid>, but nothing made any  
> difference.  I
> also tweaked mbox locking methods ('dotlock fcntl' or 'fcntl' alone)
> When I came across this problem with the latest stable (2005-07-06), I

FC normally makes /var/mail a symbolic link to /var/spool/mail.  With  
the -stable version I specified /var/spool/mail in my  
default_mail_env, and chmod'ed /var/spool/mail to 1777 (although with  
the extra_groups setting you could reduce that with the correct group  
ownership).

Are you running with SELinux enabled?  (If so, did you update the  
policy for Dovecot?)

I can't explain why it worked in your initial tests though.


-- 
Jim Tittsler     http://www.OnJapan.net/      GPG: 0x01159DB6
Python Starship  http://Starship.Python.net/crew/jwt/
Mailman IRC      irc://irc.freenode.net/#mailman






More information about the dovecot mailing list