Tiny tiny report formatting correction
[imap-fix-internaldate] / README
CommitLineData
d927792b
TJ
1Small tool to fix the IMAP internaldate
2in case it's too much off compared to the last date
3stored in the received lines.
4
5F.e. some IMAP clients tend to reset the imap internaldate
6when you move a message between folders.
7
8Features:
9- Configurable tolerance
10- Test mode: Show only what would be done
11- Statistics: How many messages it would modify per user / folder
12- Log file with all actions
13- Caching
14
002533ab
TJ
15Important note: Only the -first- received line is interpreted.
16This was the lastest date on our server. We don't interpret
17all received lines because spam messages tend to contain bogus dates.
18An alternative approach would be to interpret the "Date:" header.
19
20Prerequisites:
21Python version 3 or later
22
97bd6bea
PD
23Necessary files:
24- userdata.csv: Contains information necessary for the user session with format:
1007fa6d
TJ
25 username,password
26 testuser1,testpass1
27 testuser2,testpass2
28
29 Note: The first line are the column names and gets ignored.
002533ab 30
97bd6bea 31Produced files:
1007fa6d
TJ
32- fix_imap_internaldate.cfg: Configuration of the script - created on first run.
33- fix_imap_internaldate.log: Log file. Will be truncated on script invocation.
97bd6bea 34- conflict_stats.txt: Final report on statistics about detected date conflicts and missing dates.
1007fa6d 35- message_cache.dat: Cache file used for performance improvements
97bd6bea
PD
36
37Invocation on Windows requires and results in the same files.
8fe4e3ff 38
002533ab 39For more information please contact opensource@intra2net.com