[SUMMARY] Re: Fix dates on mail received when system date was wrong

Lee Sanders cyrus-337 at ccp.com.au
Mon Apr 14 00:22:53 EDT 2003


Hi Everyone,

Special thanks to Patrick Welche and Ken Murchison who suggested the
"reconstruct" command. 

This regenerated the indexes as I wanted and it pulled the correct dates
in from the email messages.

Thanks Again Everyone.

Lee Sanders
Systems Engineer


On Fri, 2003-04-11 at 21:48, Ken Murchison wrote:
> Patrick Welche wrote:
> > 
> > On Fri, Apr 11, 2003 at 11:10:38AM +0800, Lee Sanders wrote:
> > ...
> > > I can/have write a script to go clean up the date's in the cyrus mail
> > > spool files but the IMAP index the clients have still lists the wrong
> > > date. I assume this is because the cyrus.cache and cyrus.index (binary
> > > files) have some sort of date cache but I don't know enough to mess with
> > > these files.
> > ...
> > 
> > I have never tried it, but I'm under the impression that the "reconstruct"
> > command uses the information (which you corrected) in the mail messages to
> > recreate cyrus.index etc.
> 
> This is correct.  If you fix the message files and then reconstruct the
> mailbox, the clients _might_ see the new date.  But since the UID of the
> messages won't change, the client might continue to use its own internal
> cache instead of refetching the IMAP envelope (which includes the date).





More information about the Info-cyrus mailing list