Small tool to fix the IMAP internaldate in case it's too much off compared to the last date stored in the received lines. F.e. some IMAP clients tend to reset the imap internaldate when you move a message between folders. Features: - Configurable tolerance - Test mode: Show only what would be done - Statistics: How many messages it would modify per user / folder - Log file with all actions - Caching Important note: Only the -first- received line is interpreted. This was the lastest date on our server. We don't interpret all received lines because spam messages tend to contain bogus dates. An alternative approach would be to interpret the "Date:" header. Prerequisites: Python version 3 or later Necessary files: - userdata.csv: Contains information necessary for the user session with format: username,password testuser1,testpass1 testuser2,testpass2 Produced files: - confscript.cfg: Configuration of the script - created on first run. - message_cache.dat: Cache file used for performance improvements - fix_imap_internaldate.log: Log file that resets with the script. - conflict_stats.txt: Final report on statistics about detected date conflicts and missing dates. Invocation on Windows requires and results in the same files. For more information please contact opensource@intra2net.com