Videos
Links
Connect via command line
# Connect via telnet
telnet example.com 25
# Encrypted connection
openssl s_client -connect example.com:587 -starttls smtp
HELO example.com
MAIL FROM: from@example.com
RCPT TO: to@example.com
DATA
Blah blah
.
<CR-LF>
<CR-LF>
Ports
- 25: SMTP, typically used for MTA to MTA
- 465: SMTPS
- 587
OfflineIMAP
Signals
- SIGUSR1 - aborts current sleep, triggering a full sync
Mutt
Open system mail spool
mutt -f /var/mail/USERNAME
Add header to messages
my_hdr X-Operating-System: TempleOS
Whitelist TLS fingerprint
tls on
tls_fingerprint <fingerprint>
Search
command | desc |
---|---|
~b EXPR | Search for messages containing EXPR in the body |
~C EXPR | To: or CC: |
~f EXPR | From: |
~d [MIN]-[MAX] | messages with date-sent in date range |
~l | mailing lists |
~s | Subject: |
Postfix
Retry delivery
postqueue -f
Drop queue
postsuper -d ALL
Print non-default configuration values
postconf -n
TinyLetter
Mailing list
5,000 subscriber limit
Gmail shortcuts
desc | key |
---|---|
select | x |
archive | e |
delete | # |
mark as read | S-r |
select all | *-a |
go to inbox | gi |
go to all mail | ga |
go to previous | gp |
go to next | gn |