# 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>
- 25: SMTP, typically used for MTA to MTA
- 465: SMTPS
- 587
- SIGUSR1 - aborts current sleep, triggering a full sync
mutt -f /var/mail/USERNAME
my_hdr X-Operating-System: TempleOS
tls on
tls_fingerprint <fingerprint>
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: |
postqueue -f
postsuper -d ALL
postconf -n
Mailing list
5,000 subscriber limit
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 |