Hello,
I'm using Dovecot to provide an IMAP service to a small number of
users and I'm seeing two recurring errors which look like they might
be related.
Environment:
o FreeBSD 5.2.1 / Postfix 2.0.18 / Dovecot 0.99.10.4
o Maildir mailboxes
Problem:
On logging in all the folders under the users mailbox are empty. This
has happened with both MS Outlook 2000 clients as well as
Squirrelmail which uses c-client. When you look at the mail log it
shows errors from Dovecot about index file corruption and file
permissions (see attached sample section).
I've checked the permissions on the maildir and it seems at the moment
that the user has rw permssion on every file under cur, could this
error be caused by an interaction between Postfix and Dovecot?
Any comments / suggestions greatly appreciated,
--
Dominic Marks
-------------- next part --------------
Mar 16 01:24:22 mail imap-login: Login: someuser [192.168.0.1]
Mar 16 01:24:24 mail imap(someuser): open() failed with file
/raid/mail/someuser/cur/1076979223.V416I136863.silverback.example.com:2,ST:
Permission denied
Mar 16 01:24:28 mail imap(someuser): Corrupted index file (in-memory index for
/raid/mail/someuser): UIDVALIDITY changed in uidlist
Mar 16 01:24:37 mail imap-login: Login: someuser [192.168.0.1]
Mar 16 01:24:42 mail imap(someuser): open() failed with file
/raid/mail/someuser/cur/1076979223.V416I136863.silverback.example.com:2,ST:
Permission denied
Mar 16 01:24:42 mail imap(someuser):
open(/raid/mail/someuser/cur/1076979223.V416I136863.silverback.example.com:2,ST)
failed: Permission denied
Mar 16 01:24:44 mail imap(someuser):
open(/raid/mail/someuser/cur/1078674523.V416I1368e6.mail.example.com:2,ST)
failed: Permission denied
Mar 16 01:24:44 mail imap(someuser):
open(/raid/mail/someuser/cur/1078712574.V416I1368e9.mail.example.com:2,ST)
failed: Permission denied
Mar 16 01:24:44 mail imap(someuser):
open(/raid/mail/someuser/cur/1078736436.V416I137461.mail.example.com:2,ST)
failed: Permission denied
Mar 16 01:24:44 mail imap(someuser):
open(/raid/mail/someuser/cur/1078737332.V416I13747e.mail.example.com:2,ST)
failed: Permission denied
Mar 16 01:24:44 mail imap(someuser):
open(/raid/mail/someuser/cur/1078737978.V416I137483.mail.example.com:2,ST)
failed: Permission denied
Mar 16 01:24:44 mail imap(someuser):
open(/raid/mail/someuser/cur/1078746019.V416I1374b7.mail.example.com:2,ST)
failed: Permission denied
Mar 16 01:24:44 mail imap(someuser):
open(/raid/mail/someuser/cur/1078746025.V416I1374b9.mail.example.com:2,ST)
failed: Permission denied
Mar 16 01:24:44 mail imap(someuser):
open(/raid/mail/someuser/cur/1078801454.V416I1374c3.mail.example.com:2,ST)
failed: Permission denied
Mar 16 01:24:44 mail imap(someuser):
open(/raid/mail/someuser/cur/1078828634.V416I1374cc.mail.example.com:2,ST)
failed: Permission denied
Mar 16 01:24:44 mail imap(someuser):
open(/raid/mail/someuser/cur/1078843562.V416I1374d8.mail.example.com:2,ST)
failed: Permission denied
Mar 16 01:24:44 mail imap(someuser):
open(/raid/mail/someuser/cur/1078855478.V416I1374f9.mail.example.com:2,ST)
failed: Permission denied
Mar 16 01:24:44 mail imap(someuser):
open(/raid/mail/someuser/cur/1078855581.V416I1374fb.mail.example.com:2,ST)
failed: Permission denied
Mar 16 01:24:44 mail imap(someuser):
open(/raid/mail/someuser/cur/1078857816.V416I1374fc.mail.example.com:2,ST)
failed: Permission denied
Mar 16 01:24:44 mail imap(someuser):
open(/raid/mail/someuser/cur/1078865114.V416I137502.mail.example.com:2,ST)
failed: Permission denied
-------------- next part --------------
base_dir = /var/dovecot/
protocols = imap imaps
ssl_disable = no
ssl_cert_file = /var/dovecot/ssl/certs/imapd.pem
ssl_key_file = /var/dovecot/ssl/private/imapd.pem
ssl_parameters_file = /var/dovecot/ssl/parameters.dat
disable_plaintext_auth = no
login_dir = /var/dovecot/login
login_chroot = yes
login = imap
login_executable = /usr/local/libexec/dovecot/imap-login
login_user = dovecot
login = pop3
login_executable = /usr/local/libexec/dovecot/pop3-login
verbose_proctitle = yes
verbose_ssl = yes
first_valid_gid = 0
valid_chroot_dirs = /var/mail:/raid/mail
default_mail_env = maildir:/raid/mail/%u
client_workarounds = oe6-fetch-no-newmail outlook-idle
mail_save_crlf = yes
maildir_copy_with_hardlinks = yes
mbox_locks = fcntl
imap_executable = /usr/local/libexec/dovecot/imap
pop3_executable = /usr/local/libexec/dovecot/pop3
auth = default
auth_mechanisms = plain
auth_userdb = passwd
auth_passdb = passwd
auth_executable = /usr/local/libexec/dovecot/dovecot-auth
auth_user = root
auth_verbose = yes