Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

I have imported several thousand messages into my Gmail account over IMAP, but in the Gmail interface and the iPhone Mail application the date of every message has been changed to the date of the import, rather than the original receipt date.

If I open one of the messages however, the correct date is shown and the email headers appear to remain intact.

How can I correct this issue?

share|improve this question

migrated from superuser.com Mar 24 '11 at 23:01

This question came from our site for computer enthusiasts and power users.

1 Answer 1

up vote 2 down vote accepted

The problem seems to be what IMAP client is used to copy the messages into gmail. This is a known issue where the IMAP client does not specify the internal date of the email and the server defaults to the current time.

In my case I was attemping to copy old courier Maildir folders into gmail. I ended up using this link that gave direction on how to have Mutt do the dirty work of converting Maildir to mbox. I then used this script from github to accomplish copying the mbox files into gmail. The results were perfect although I did have to boot up an Ubuntu virtual machine to accomplish this.

Alternatively, use a different IMAP client to see if it appends the correct date.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.