[Dovecot] Test migration (IMAP copy) and INTERNALDATE?

Timo Sirainen tss at iki.fi
Fri Apr 21 15:54:57 EEST 2006


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20060421/fd2fdf3a/attachment.pgp


More information about the dovecot mailing list