[Dovecot] 1.0-test22 - maildir fixed?

Moe Wibble t1lt at bk.ru
Mon Jun 28 17:57:13 EEST 2004


On Mon, Jun 28, 2004 at 12:39:08PM +0300, Timo Sirainen wrote:
> On Thu, 2004-06-24 at 21:32, Moe Wibble wrote:
> > Sorry, still getting:
> > 
> > sp dovecot: IMAP(moe): Maildir /home/moe/Maildir/.INBOX.zp sync: UID inserted in the middle of mailbox (1515 > 1514, file = msg.QNsy:2,)
> 
> Are you sure the maildir filename is unique and has never existed
> before? If "msg.QNsy" is the real name, it doesn't conform to maildir
> spec, although Dovecot doesn't really care about that. But if QNsy is
> eg. inode number, this could easily happen just because inode numbers
> are reused and you don't have any kind of timestamp in the file name. 

Nope, I'm not sure. The only program delivering to my maildirs is procmail,
tho. Seems like procmail creates these kind of filenames, should I file a bug?

> Older Dovecots and probably most other maildir clients don't complain
> about reappearing files, but I think that may cause some (rare) hidden
> problems.

If the bugs are gone for other people then that's most likely the cause.
Strange enough that procmail doesn't write properly to Maildirs.

> If they really are unique, it would be helpful if you could run a
> debugging patch and send all the output to me. It generates
> /tmp/dovecot.* files with tons of debugging data.

I'm not sure whether they're unique but since they're only 4 digits I
suppose they're at best some Very Cheap Imitation of unique...
I guess it's time to find a better mailfilter than procmail.

> http://dovecot.org/patches/dovecot-maildir-debug.diff

Gonna try that later if switching to a filter that writes _real_
Maildir didn't help.

Any suggestions on what to use?
It should run from dot-qmail..

greets




More information about the dovecot mailing list