Skip to content

Bash script setting emails creation time according to Date: header

Notifications You must be signed in to change notification settings

ldesgrange/fix-imap-time

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

This shell script corrects email messages where the file system date does not match the Date: header in the email.

This will fix problems with mail clients like Apple's mail.app which uses the file system timestamp resulting in emails with the wrong file system timestamp to display the wrong received date

This script has to be run by a user [root] with the necessary privileges to read/modify files in a user's Maildir. It has been successfully tested on Linux.

Original author:  
Date: July 4th, 2005  
Author: Benson Wong  
Email: [email protected]

About

Bash script setting emails creation time according to Date: header

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages