Date problem after migration

Karl Boyken boyken at divms.uiowa.edu
Tue Oct 9 16:39:08 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 ran into the same problem, and we cobbled together the attached 
script to fix it.  Enjoy!

Karl

-- 
Karl Boyken, system administrator 
karl-boyken at uiowa.edu
303A MLH, Dept. of Comp. Sci. 
http://www.cs.uiowa.edu/~boyken/
The U. of Iowa, Iowa City, IA  52242   319-335-2730 (voice) 
319-335-3668 (fax)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fixdate
Url: http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20071009/be16f627/attachment.ksh 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3257 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20071009/be16f627/attachment.bin 


More information about the Info-cyrus mailing list