[Dovecot] 1.1.alpha2 error in logs
Did a quick-n-dirty install of 1.1.alpha2 on a Fedora Core 6 server... am getting the following message in the maillog, though there seems to be no problem accessing mail. Error seems to be consistent for all users. Running 1.0.3 on the system previously.
Aug 8 22:49:26 stage2 dovecot: IMAP(testuser): mkdir(/var/spool/vmail/192.168.0.199/.imap/testuser) failed: Permission denied
This is what I'm using for my env in dovecot.conf... default_mail_env = mbox:/vhome/%l/home/%n/mail:INBOX=/var/spool/vmail/%l/%n
And here's what we have in the user's mail directory (from before)...
/vhome/192.168.0.199/home/testuser/mail/.imap/Deleted Items /vhome/192.168.0.199/home/testuser/mail/.imap/Deleted Items/dovecot.index /vhome/192.168.0.199/home/testuser/mail/.imap/Deleted Items/dovecot.index.cache /vhome/192.168.0.199/home/testuser/mail/.imap/Deleted Items/dovecot.index.log /vhome/192.168.0.199/home/testuser/mail/.imap/INBOX /vhome/192.168.0.199/home/testuser/mail/.imap/INBOX/dovecot.index /vhome/192.168.0.199/home/testuser/mail/.imap/INBOX/dovecot.index.cache /vhome/192.168.0.199/home/testuser/mail/.imap/INBOX/dovecot.index.log /vhome/192.168.0.199/home/testuser/mail/.imap/INBOX/dovecot.index.log.2 /vhome/192.168.0.199/home/testuser/mail/.imap/sent-mail /vhome/192.168.0.199/home/testuser/mail/.imap/sent-mail/dovecot.index /vhome/192.168.0.199/home/testuser/mail/.imap/sent-mail/dovecot.index.cache /vhome/192.168.0.199/home/testuser/mail/.imap/sent-mail/dovecot.index.log
I'm assuming that it's trying to create a folder for the user's INBOX index, but it's trying to create it in the mail spool directory rather than in /vhome/192.168.0.199/home/testuser/mail/.imap/INBOX as previously?
Thoughts, comments, something I need to modify in my config?
Cheers,
Mike <<<<<
On Thu, 2007-08-09 at 09:44 -0600, Mike Cisar wrote:
Did a quick-n-dirty install of 1.1.alpha2 on a Fedora Core 6 server... am getting the following message in the maillog, though there seems to be no problem accessing mail. Error seems to be consistent for all users. Running 1.0.3 on the system previously.
Aug 8 22:49:26 stage2 dovecot: IMAP(testuser): mkdir(/var/spool/vmail/192.168.0.199/.imap/testuser) failed: Permission denied
This is what I'm using for my env in dovecot.conf... default_mail_env = mbox:/vhome/%l/home/%n/mail:INBOX=/var/spool/vmail/%l/%n
This reminds me that I'll remove default_mail_env from v1.1. It was renamed to mail_location long time ago.
Thoughts, comments, something I need to modify in my config?
Looks like this was a bug. Thanks, fixed: http://hg.dovecot.org/dovecot/rev/c6b1d8515354
default_mail_env = mbox:/vhome/%l/home/%n/mail:INBOX=/var/spool/vmail/%l/%n
This reminds me that I'll remove default_mail_env from v1.1. It was renamed to mail_location long time ago.
Looks like this was a bug. Thanks, fixed: http://hg.dovecot.org/dovecot/rev/c6b1d8515354
Thanks Timo. Will make that change in my config and rebuild with the bugfix.
Cheers,
Mike <<<<<
participants (2)
-
Mike Cisar
-
Timo Sirainen