MSMTP SMTP Client
MSMTP SMTP Client configuration
Below is an example msmtp config:
account mit-csail
host outgoing.csail.mit.edu
port 587
auth cram-md5
user CSAIL_USER
password CSAIL_PASSWD
from CSAIL_USER@csail.mit.edu
tls on
tls_starttls on
tls_trust_file /etc/ssl/certs/ca-certificates.crt
Msmtp is often used with the Mutt email client, and can be enabled by adding the following to your .muttrc:
set sendmail="/usr/bin/msmtp -a mit-csail"