[Dovecot] Errors logged from 2.0.11
Hi all,
we use dovecot 2.0.11 with local (LDAP based) users and see (occasionally) error messages like "Mar 15 09:29:26 MailServ local3:err|error dovecot: imap(xxxx): Error: creat(/dovecot.mailbox.log) failed: Permission denied (euid=1985(xxxx) egid=219(yyyy) stat() failed: No such file or directory, euid is not dir owner) but all (filesystem) permissions are correct and the user doesn't report any errors.
All works as expected. What can be the reason for such messages?
-- Mit freundlichen Grüßen A. Kossack
Andreas Kossack Andreas.Kossack@TU-Cottbus.De BTU Cottbus, Brandenburg, Germany, Walther-Pauer-Str.2, 03046 Cottbus http://wwwca.telesec.de/cgi-bin/caservice/Common/InstallRoot/DT-Root-CA-2.de...
Diese Nachricht wurde aus 100% wiederverwerteten Elektronen erstellt.
On Tue, 2011-03-15 at 10:38 +0100, Andreas Kossack wrote:
we use dovecot 2.0.11 with local (LDAP based) users and see (occasionally) error messages like "Mar 15 09:29:26 MailServ local3:err|error dovecot: imap(xxxx): Error: creat(/dovecot.mailbox.log) failed: Permission denied (euid=1985(xxxx) egid=219(yyyy) stat() failed: No such file or directory, euid is not dir owner)
It's trying to open a file from root directory. Maybe that user's home directory is set to /?
Hi Timo, hi all,
"Mar 15 09:29:26 MailServ local3:err|error dovecot: imap(xxxx): Error: creat(/dovecot.mailbox.log) failed: Permission denied (euid=1985(xxxx) egid=219(yyyy) stat() failed: No such file or directory, euid is not dir owner)
It's trying to open a file from root directory. Maybe that user's home directory is set to /? No, HOME directories for those users are correct (from LDAP: "/home/xxx"; physical via softlink to "/srv/mail/xxx").
What time "dovecot.mailbox.log" should be created? We use "mail_location = maildir:~/Maildir:CONTROL=~/Maildir:INDEX=MEMORY" in "10-mail.conf".
-- Mit freundlichen Grüßen A. Kossack
Andreas Kossack Andreas.Kossack@TU-Cottbus.De BTU Cottbus, Brandenburg, Germany, Walther-Pauer-Str.2, 03046 Cottbus http://wwwca.telesec.de/cgi-bin/caservice/Common/InstallRoot/DT-Root-CA-2.de...
Diese Nachricht wurde aus 100% wiederverwerteten Elektronen erstellt.
On Mon, 2011-03-21 at 09:19 +0100, Andreas Kossack wrote:
Hi Timo, hi all,
"Mar 15 09:29:26 MailServ local3:err|error dovecot: imap(xxxx): Error: creat(/dovecot.mailbox.log) failed: Permission denied (euid=1985(xxxx) egid=219(yyyy) stat() failed: No such file or directory, euid is not dir owner) .. "mail_location = maildir:~/Maildir:CONTROL=~/Maildir:INDEX=MEMORY"
I see. INDEX=MEMORY is the problem, fixed: http://hg.dovecot.org/dovecot-2.0/rev/4f1b77b81cf3
(Why do you have indexes disabled anyway?)
Hi Timo, hi all,
I see. INDEX=MEMORY is the problem, fixed: http://hg.dovecot.org/dovecot-2.0/rev/4f1b77b81cf3
(Why do you have indexes disabled anyway?) Because of too much errors "Corrupted index cache file ..." in logfiles.
-- Mit freundlichen Grüßen A. Kossack
Andreas Kossack Andreas.Kossack@TU-Cottbus.De BTU Cottbus, Brandenburg, Germany, Walther-Pauer-Str.2, 03046 Cottbus http://wwwca.telesec.de/cgi-bin/caservice/Common/InstallRoot/DT-Root-CA-2.de...
Diese Nachricht wurde aus 100% wiederverwerteten Elektronen erstellt.
participants (2)
-
Andreas Kossack
-
Timo Sirainen