[Dovecot] Folder creation errors
Hi-
In a mbox environment:
1 login username password 1 OK Logged in. 2 create "slar" 2 NO Internal error [2003-06-11 15:44:56] 3 create "/slar" 3 NO Invalid mailbox name: /slar 4 create "Mail/slar" 4 OK Create completed. 5 create "./slar" 5 OK Create completed. 6 create "blar" 6 NO Internal error [2003-06-11 15:46:54] 7 logout
- BYE Logging out 7 OK Logout completed.
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 :-)
mm
On Sat, Jun 14, 2003 at 06:29:11PM +0300, Timo Sirainen wrote:
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-
participants (2)
-
Mark E. Mallett
-
Timo Sirainen