Date problem after migration

Andrew Morgan morgan at orst.edu
Tue Oct 9 14:04:46 EDT 2007


On Tue, 9 Oct 2007, Guillaume Postaire wrote:

> Hi all,
>
> We just have done a migration from a very old Cyrus stand alone
> installation to a new one with murder.
>
> During the migration everything went ok and no user complaint, so we
> destroy our old mailbox.
>
> Shortly after that one of our user notice a huge problem with outlook
> that we don't reproduce with thunderbird (put here whatever imap
> compliant client). All the mail older than the migration have the date
> of the migration in outlook. It seems that outlook don't use the header
> date (wich are ok in the plain text storage) but another information
> that come from cyrus.
>
> We try to analyse what happen and discover we forget to use "
> --syncinternaldates" with imapsync. We simulate some migration and this
> problem don't exist if we had this.
>
> How could we correct the date stored in cyrus ?
>
> Here is the command we use for migration
> imapsync --ssl1 --ssl2 --host1 #HOST1# --host2 #HOST2# \
> --authuser1 cyrus --password1 #PASSWORD1# --authuser2 cyrus \
> --password2 #PASSWORD2# --authmech1 PLAIN --authmech2 PLAIN \
> --subscribe --user1 #USER# --user2 #USER# \
> --delete2 --expunge --expunge2

We had the same problem here, but just told our users to suck it up.  :)

I suppose you could create some script to read the Date: header from each 
message and set the message file mtime to match.  You would probably need 
to reconstruct the mailbox after that to pick up the change.

Or, you can tell Outlook to sort on the Date: header rather than the 
arrival time of the message.

 	Andy


More information about the Info-cyrus mailing list