Date problem after migration

Rob Mueller robm at fastmail.fm
Tue Oct 9 22:42:09 EDT 2007


There's no really easy way, but this patch might help. Basically it parses 
the last Received: header to set the internal date.

http://cyrus.brong.fastmail.fm/#cyrus-receivedtime-2.3.8.diff

The problem is if you apply it, you then have to reconstruct all your 
mailboxes to rebuild the cyrus.index with the new values.

Rob

----- Original Message ----- 
From: "Guillaume Postaire" <gpostaire at karavel.com>
To: <info-cyrus at lists.andrew.cmu.edu>
Sent: Tuesday, October 09, 2007 10:23 PM
Subject: Date problem after migration


> 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
>
> Cheers.
>
> -- 
> Guillaume Postaire - KARAVEL - Responsable infrastructure
> gpostaire at karavel.com -
> http://www.promovacances.com - http://www.karavel.com
> https://www.linkedin.com/in/gpostaire
>
>
>
> ----
> Cyrus Home Page: http://cyrusimap.web.cmu.edu/
> Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
> 



More information about the Info-cyrus mailing list