Update .gitignore
[imap-fix-internaldate] / README
1 Small tool to fix the IMAP internaldate
2 in case it's too much off compared to the last date
3 stored in the received lines.
4
5 F.e. some IMAP clients tend to reset the imap internaldate
6 when you move a message between folders.
7
8 Features:
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
15 Important note: Only the -first- received line is interpreted.
16 This was the lastest date on our server. We don't interpret
17 all received lines because spam messages tend to contain bogus dates.
18 An alternative approach would be to interpret the "Date:" header.
19
20 Prerequisites:
21 Python version 3 or later
22
23 Necessary files:
24 - userdata.csv: Contains information necessary for the user session with format:
25                 username,password
26                 testuser1,testpass1
27                 testuser2,testpass2
28
29 Produced files:
30 - confscript.cfg: Configuration of the script - created on first run.
31 - message_cache.dat: Cache file used for performance improvements
32 - fix_imap_internaldate.log: Log file that resets with the script.
33 - conflict_stats.txt: Final report on statistics about detected date conflicts and missing dates.
34
35 Invocation on Windows requires and results in the same files.
36
37 For more information please contact opensource@intra2net.com