On Tue, 2006-04-18 at 10:02 -0400, Apps Lists wrote:
We're trying some migration tests ... from CommuniGate to Dovecot. The migration program does an APPEND into the new mailbox:
src>: a0 FETCH 2900 (FLAGS INTERNALDATE RFC822.PEEK) src<: * 2900 FETCH (FLAGS (\Seen) INTERNALDATE "29-Aug-2005 18:36:54 +0000" RFC822 {1194157} src<: ) dst>: bAPP APPEND "INBOX" (\Seen) "29-Aug-2005 18:36:54 +0000" {1194157} dst<: + OK
It appears to be trying to set the message date... in this example, to 29 Aug 2005.
Dovecot seems to be ignoring it.
Am I doing something wrong, or does Dovecot not allow this?
With maildir? Seems to be working with me..:
x append "INBOX" (\Seen) "29-Aug-2005 18:36:54 +0000" {10}
- OK From: foo
- 40 EXISTS
- 1 RECENT x OK Append completed. x fetch * internaldate
- 40 FETCH (INTERNALDATE "29-Aug-2005 21:36:54 +0300") x OK Fetch completed.
The date is stored in file's mtime field. What filesystem do you use? Maybe it's breaking this somehow.