Fix imap timestamp
i just moved my Mails to another server. Unfortunately the server set the timestamp of all mails to the current time.
After searching for a solution for about a week, i finally tumbled over this Website.
There is a script to be run on the maildir to change the timestamp to the mailheaders date. I'm using ISPCONFIG , so the directory to the mails is /var/vmail. After running the script , you should delete courierimapuiddb in the corresonding directory. It will be rebuilt the next time the user logs in.
Now all mails have the correct date again ;-)