James Wyper
2006-Oct-12 06:49 UTC
[Dovecot] Fwd: Received dates problem in Outlook after migration
Having looked at this again, I think I have a hypothesis: 1. Outlook is ignoring the date/timestamps on the files in my Maildirs 2. The file names of my transferred files follow a similar pattern (they start with near-identical numbers) 3. Dovecot's file naming scheme for mails must relate somehow to the date that they were created / transferred / received 4. If I can therefore **rename** the files correctly to reflect their sending date then I can fix my problem Does this make sense? Can anyone point me in the direction of a spec that says how Dovecot names its files? Thanks, James. --- James Wyper wrote:> Date: Sun, 1 Oct 2006 21:47:02 +0100 (BST) > From: James Wyper > To: dovecot at dovecot.org > Subject: [Dovecot] Received dates problem in Outlook after migration > > Hello everyone, > > I've just started using 1.0-beta3 on Ubuntu Dapper, having migrated > from an mbox / UW-IMAP combination to a Maildir / Dovecot one. For > some reason the mb2md tool failed to recognise some of my mbox files > as > valid ones, so I migrated my email by running UW-IMAP, copying my > folders to local storage in Evolution, then running Dovecot instead > and > copying the folders back. > > All seems OK, except that in Outlook 98 all the emails now have the > date/time of their migration, not when they were received. This > isn't > a problem in Thunderbird or Evolution - but my wife uses Outlook and > doesn't wish to switch. > > I've tried using touch to change the timestamps of the mails in my > inbox (in ~/Maildir/cur) but this hasn't had any effect. I've also > tried deleting ~/Maildir/dovecot.index and > ~/Maildir/dovecot.index.cache but this hasn't made any difference > either. > > Something else in dovecot must be being sent to Outlook as the date / > time on these emails. Can anyone suggest what it would be and how I > might go about changing it (to, for example, the Received: date on > the > email header?). > > Thanks in advance, > James. > > > > ___________________________________________________________ > Try the all-new Yahoo! Mail. "The New Version is radically easier to > use" ? The Wall Street Journal > http://uk.docs.yahoo.com/nowyoucan.html >Send instant messages to your online friends http://uk.messenger.yahoo.com
Timo Sirainen
2006-Oct-12 07:53 UTC
[Dovecot] Fwd: Received dates problem in Outlook after migration
On Thu, 2006-10-12 at 07:49 +0100, James Wyper wrote:> Having looked at this again, I think I have a hypothesis: > > 1. Outlook is ignoring the date/timestamps on the files in my MaildirsOutlook should use IMAP's INTERNALDATE, which are taken from maildir files' mtime timestamps. If these timestamps are correct but they're not showing correctly in Outlook, I'd guess Outlook is caching them internally. One way to fix this would be to change UIDVALIDITY to force a coplete resync. You can do this by modifying the second number in dovecot-uidlist file.> 2. The file names of my transferred files follow a similar pattern > (they start with near-identical numbers)Filenames don't really matter.> 3. Dovecot's file naming scheme for mails must relate somehow to the > date that they were created / transferred / receivedYea. The first number is the UNIX timestamp, but this is done only to make maildir filenames unique.> 4. If I can therefore **rename** the files correctly to reflect their > sending date then I can fix my problemDoesn't change anything. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20061012/f81b8481/attachment.bin>