This must mean America is more advanced or something…disgusting.
2 months ago
So after much experimenting, I have come to a conclusion about where the “Date Received” field comes from in Apple’s Mail.app. My ‘hunch’ is that it is a cached value that it has for a message if that is available. If that is not available, it will use the earlier of the time of connection with IMAP or the INTERNAL DATE on the message provided by IMAP.
Now for some more useless information. It appears that the INTERNAL DATE sent from IMAP is the last modified date of the file in the Maildir for Courier IMAP.
How’s that for useless information for the day. (Had I known this before it would have saved me the last 3 hours.)
6 months agotelnet server imap . LOGIN username "password" . LIST "" "*" . EXAMINE INBOX.test . FETCH 1 all . FETCH 1 fast . CLOSE . LOGOUT6 months ago