[Dovecot] Imap unlink "failed, is a directory".

dovecot at corwyn.net dovecot at corwyn.net
Tue Feb 10 05:40:19 EET 2009


At 09:55 PM 2/9/2009, Timo Sirainen wrote:
>On Feb 9, 2009, at 8:44 PM, dovecot at corwyn.net wrote:
>Feb  9 20:05:58 mailserver dovecot: imap-login: Login: 
>user=<user at example.com >, method=PLAIN, rip=10.0.0.1, lip=192.168.250.80, TLS
>>Feb  9 20:05:58 mailserver dovecot: IMAP(user at example.com): 
>>unlink(/ var/spool/mail/example.com/user/Maildir/cur/cur:2,ST) failed: Is a
>>directory
>>Feb  9 20:05:58 mailserver dovecot: IMAP(user at example.com): 
>>unlink(/ var/spool/mail/example.com/user/Maildir/cur/new:2,ST) failed: Is a
>>directory
>
>This means that "new" and "cur" directories were created to either
>Maildir/cur/ or Maildir/new/ and since there should be only messages
>Dovecot tried to handle them as files/messages. Dovecot didn't create
>those directories. You probably misconfigured some other program at
>some point which created those (or you did it manually).

I don't quite understand "since there should be only messages". Do 
you mean there should not be ./cur/cur folders, because there should 
only be files under cur?  That makes sense, thanks!

>So the solution is to just rmdir those directories away. They just
>shouldn't be there. If they come back, try to figure out what creates
>them.

will do, thank you!

Rick







More information about the dovecot mailing list