Fix Incorrect Email Dates After IMAP Migration to Exchange Online
Question details
The user needs to correct email messages that display the synchronization time instead of the original receipt time after migrating from a local Dovecot IMAP server to Exchange Online.

- Product
- Microsoft Exchange Online and Dovecot IMAP
- Device & OS
- not provided
- Scenario
- The user migrated a mailbox from a local Dovecot IMAP server to Exchange Online and found that some messages show incorrect dates.
- Observed behavior
- Some migrated messages display the synchronization time instead of the original receipt time.
Back up the affected mailbox before moving or deleting any messages, and identify which messages show the incorrect date so you can isolate them from the unaffected mail.
Back Up the Mailbox and Rerun the Migration for Problematic Messages
Use this solution when only some messages show the synchronization time and you need to correct them by removing the bad items and migrating them again.
Because only some messages are affected, do not change migration tools without further investigation. Remove or move the problematic messages, then rerun the migration so Exchange Online receives them again.
Before changing any messages, export or copy the mailbox from the Dovecot IMAP server to a safe location so the original data is preserved.
In Exchange Online, open the migrated mailbox and check which messages show the synchronization time instead of the original receipt date.
Delete the problematic messages from the Exchange Online mailbox, or move them to a separate folder outside the migration scope.
Start the migration batch again from the Exchange admin center, or re-run your IMAP migration tool so the removed messages are re-imported.

Transfer the Mail Through an Outlook PST as a Workaround
Use this alternative when the direct IMAP migration keeps producing incorrect dates for only some messages.
Use WPS Office as a Free, Lightweight Microsoft Office Alternative
WPS Office does not change Microsoft Exchange Online migration dates, but it is a free, lightweight Office alternative that opens and edits Microsoft Office formats with a familiar interface, making it easy to manage migrated mail attachments and documents alongside your existing workflow.

Frequently Asked Questions
Why do some emails show the migration time instead of the original date after IMAP migration?
This can happen when the source IMAP server stores date headers in a format that Exchange Online does not map correctly, so only certain messages are affected.
Will deleting and re-migrating the messages always fix the wrong dates?
Not always. Back up first, remove or move the problematic messages, then rerun the migration. If the same messages still show wrong dates, use an Outlook PST transfer as a workaround.
How do I transfer migrated mail through an Outlook PST?
In Outlook, export the affected mailbox or folders to an Outlook Data File (.pst), then import the PST into the Exchange Online mailbox using File > Open & Export > Import/Export.
Do I need to back up the mailbox before changing affected messages?
Yes. Back up the mailbox before deleting or moving affected messages so you can restore the original data if the migration issue is not resolved.
Should I switch to another migration tool?
Do not change migration tools without further investigation, because only some messages are affected and the issue may be related to the source IMAP date headers.




