home | codereading | contact | github | math | misc | notes | patches | tech | README


msmtp notes

Gmail configuration

This is the content of my .msmtprc file for my gmail account:

account gmail
host smtp.gmail.com
auth on
user <e-mail>
password <password>
tls on
tls_starttls on
from <e-mail>
maildomain gmail.com
account default: gmail
tls_certcheck off

Don't forget to chmod 600 ~/.msmtprc before running msmtp.