I recently had a system crash and my inbox became inaccessible via IMAP. ls -ld /var/spool/mail drwxrwxr-x 2 root mail 4096 Sep 1 07:54 /var/spool/mail ls -l /var/spool/mail/ignacio -rw-rw---- 1 ignacio mail 7222021 Sep 1 07:54 /var/spool/mail/ignacio /usr/libexec/dovecot/imap * PREAUTH [CAPABILITY IMAP4rev1 SORT THREAD=REFERENCES MULTIAPPEND UNSELECT IDLE CHILDREN LISTEXT LIST-SUBSCRIBED NAMESPACE] Logged in as ignacio A142 SELECT INBOX imap(ignacio): Error: open(/var/mail/ignacio.lock) failed: Permission denied imap(ignacio): Error: file_lock_dotlock() failed with mbox file /var/mail/ignacio: Permission denied imap(ignacio): Error: open(/var/mail/ignacio.lock) failed: Permission denied imap(ignacio): Error: file_lock_dotlock() failed with mbox file /var/mail/ignacio: Permission denied A142 NO Internal error occured. Refer to server log for more information. [2005-09-01 08:00:34] rpm -q dovecot dovecot-(none):0.99.14-4.fc4.i386 System is running Fedora Core 4. SELinux is not a factor in the problem. http://fedora.ivazquez.net/private/dovecot.conf Thanks in advance for any help in resolving this issue. -- Ignacio Vazquez-Abrams
On Thu, 1 Sep 2005, Ignacio Vazquez-Abrams wrote:> I recently had a system crash and my inbox became inaccessible via IMAP. > > ls -ld /var/spool/mail > drwxrwxr-x 2 root mail 4096 Sep 1 07:54 /var/spool/mail > > ls -l /var/spool/mail/ignacio^^^^^^^^^^^^^^^> -rw-rw---- 1 ignacio mail 7222021 Sep 1 07:54 /var/spool/mail/ignacio> imap(ignacio): Error: open(/var/mail/ignacio.lock) failed: Permission denied^^^^^^^^^ Do you have a symlink /var/mail -> /var/spool/mail ? Did you forgot to adjust default_mail_env = ? Is dovecot running with group mail? Bye, -- Steffen Kaiser
On Thu, 2005-09-01 at 08:08 -0400, Ignacio Vazquez-Abrams wrote:> imap(ignacio): Error: open(/var/mail/ignacio.lock) failed: Permission > denied > imap(ignacio): Error: file_lock_dotlock() failed with mbox file > /var/mail/ignacio: Permission deniedhttp://wiki.dovecot.org/moin.cgi/VarMailDotLock Don't know why it was working before though. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20050911/3b5e93c9/attachment.bin>