Hi Andy,

> >Which document requires this? I don't know better, but it seems to be a
> >stupid requirement to use the "new" folder when copying or moving
> >messages, thus losing all flags...
> 
> It's a strict requirement in Maildir, to avoid losing emails.

It's not that I don't trust you (in fact, I want to); I'm just inable to
find that requirement in the Maildir definition.

For the clueless as I am: A message gets delivered; it is new and thus
gets into "new". After seeing it for the first time, the filename gets
":info" appended, and the file moves to "cur". Where exactly in the
process of moving a mail into another IMAP folder changes its state to
"new" again? Doesn't seem logical to me.

Or should I interpret the Maildir definition as being blind to IMAP
folders, just having Maildirs that are "accidentally" below another
Maildir within the filesystem, and the state change doesn't mean that
the message is "new", but "new to the Maildir we moved it into"?

> Can you explain how it works? Does Courier-IMAP keep all flags that are 
> set by the COPY command?

Uhm... I'm no C/C++ programmer and can't really judge from the code ;)

I'll try to analyze the issue this week.

> >I sometimes move a bunch of mails to a new folder, i.e. from
> >"qmail-current" to "qmail-2003-01". Does that mean that moving 3000
> >messages requires _additional_ 3000 seconds to happen?
>
> No, an additional _one_ second. :-)

Sounds acceptable ;)  but still like a clumsy workaround... Anyway, I
don't think it is acceptable for the average user to lose all flags when
moving a message around.

Jonas

Reply via email to