mikie at x.org.pl
2009-Jan-29 16:52 UTC
[Dovecot] problem with some mailboxes (failed: Is a directory)
I have this problem with some mailboxes (actually Maildirs) on my system. After some user's activity there is following information in dovecot logs: Jan 29 16:24:28 mailserv dovecot: IMAP(username): unlink(/var/spool/mail/imap/user/username/Maildir/cur/Sent:2,ST) failed: Is a directory User can not connect to his account neither via POP3 nor IMAP. There is one workaround I know which is: rm /var/spool/mail/imap/user/username/Maildir/dovecot.index* But after some time (some activity of user) the problem comes back. Mikie
Claudio Prono
2009-Jan-29 16:55 UTC
[Dovecot] problem with some mailboxes (failed: Is a directory)
mikie at x.org.pl ha scritto:> I have this problem with some mailboxes (actually Maildirs) on my system. > After some user's activity there is following information in dovecot logs: > > Jan 29 16:24:28 mailserv dovecot: IMAP(username): > unlink(/var/spool/mail/imap/user/username/Maildir/cur/Sent:2,ST) failed: > Is a directory > > User can not connect to his account neither via POP3 nor IMAP. > There is one workaround I know which is: > > rm /var/spool/mail/imap/user/username/Maildir/dovecot.index* > > But after some time (some activity of user) the problem comes back. > > > Mikie >Please post the configuration of dovecot (dovecot -n) for more information of your problem. Cordially, Claudio. -- ------------ Claudio Prono Systems Development @ PSS Srl, Divisione Implementazione Sistemi Via San Bernardino, 17 - 10137 Torino (TO) - IT Tel +39-011.32.72.100 Fax +39-011.32.46.497 PGP Fingerprint: 75C2 4049 E23D 2FBF A65F 40DB EA5C 11AC C2B0 3647 Disclaimer: http://atpss.net/disclaimer ------------
Timo Sirainen
2009-Jan-29 23:36 UTC
[Dovecot] problem with some mailboxes (failed: Is a directory)
On Jan 29, 2009, at 11:52 AM, mikie at x.org.pl wrote:> I have this problem with some mailboxes (actually Maildirs) on my > system. > After some user's activity there is following information in dovecot > logs: > > Jan 29 16:24:28 mailserv dovecot: IMAP(username): > unlink(/var/spool/mail/imap/user/username/Maildir/cur/Sent:2,ST) > failed: > Is a directorySomething has created a directory called Sent inside Maldir/cur or Maildir/new. Dovecot treats it as a message and so it has added \Seen and \Deleted flags to it. Dovecot didn't create the Sent directory, look at other software/scripts you have.> There is one workaround I know which is: > > rm /var/spool/mail/imap/user/username/Maildir/dovecot.index*Delete the Sent* directory.