James Wyper
2006-Oct-01 20:47 UTC
[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
Geert Hendrickx
2006-Oct-02 06:54 UTC
[Dovecot] Received dates problem in Outlook after migration
On Sun, Oct 01, 2006 at 09:47:02PM +0100, James Wyper wrote:> 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 had the same problem when migrating one dovecot system to another using "scp -r" to copy the maildirs. "scp -r -p" fixed the problem. Geert
Timo Sirainen
2006-Oct-13 13:50 UTC
[Dovecot] Received dates problem in Outlook after migration
[repost] On Sun, 2006-10-01 at 21:47 +0100, James Wyper wrote:> 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.Updating the files' mtime timestamps and removing dovecot.index.cache does update them from Dovecot's point of view. I guess your problem is that Outlook already cached the mails locally with wrong timestamps, in which case the easiest fix would be to change uidvalidity field in dovecot-uidlist (second field in first line) file to force a resync. -------------- 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/20061013/ec5fe572/attachment.bin>
James Wyper
2006-Oct-16 12:42 UTC
[Dovecot] Received dates problem in Outlook after migration
>From: Timo Sirainen <tss at iki.fi> >Subject: Re: [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 Maildirs > >Outlook 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.tried this without any luck (& it made Outlook crash the first time it ran after the change). However, deleting the 192.168.xx.xxxxxx.pst file in c:\windows\application manager\microsoft\outlook did work, so my problem is now resolved. Thanks, James. Send instant messages to your online friends http://uk.messenger.yahoo.com