[Dovecot] Folder creation errors
Mark E. Mallett
mem at mv.mv.com
Sat Jun 14 19:43:28 EEST 2003
On Sat, Jun 14, 2003 at 06:29:11PM +0300, Timo Sirainen wrote:
> On Wed, 2003-06-11 at 22:50, Mark E. Mallett wrote:
> > i.e. I get "internal error" if there is no path component in the
> > folder name. Is this a problem? I would guess that "internal error"
> > is always a problem :-)
>
> Yes .. And log file should show exactly what the error message is. I
> guess you've some weird settings. :)
Jun 14 12:21:09 iridium mem[118]: imap(dummydummy): mkdir_parents(/usr2/users/username/) failed: Is a directory
dovecot.conf has:
default_mail_env = mbox:~/:INBOX=%h/Mailbox
Probably not so much a weird setting as a weird artifact in BSD/OS:
mkdir x
mkdir x
returns EEXIST
mkdir x/
returns EISDIR
This is a long-standing thorn..
if I change mkdir-parents.c to check for EISDIR as well as EEXIST it
fixes the problem. Can you add that to the official version?
Sorry for not checking that myself.
-mm-
More information about the dovecot
mailing list