SMTP via Telnet
Cause I always forget this…I am documenting it here:
telnet <server> 25
> EHLO <test.com>
> MAIL FROM: <from address>
> RCPT TO: <to address>
> DATA:
> this is the body
> more of it
> .
Cause I always forget this…I am documenting it here:
telnet <server> 25
> EHLO <test.com>
> MAIL FROM: <from address>
> RCPT TO: <to address>
> DATA:
> this is the body
> more of it
> .
This must mean America is more advanced or something…disgusting.
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.)
2 years agoI always have to look this up whenever I want to do it…so here are the commands so I don’t forget
telnet server imap . LOGIN username "password" . LIST "" "*" . EXAMINE INBOX.test . FETCH 1 all . FETCH 1 fast . CLOSE . LOGOUT2 years ago