Using SMTP AUTH on SDF with mutt and msmtp
------------------------------------------
1. Install mutt (
http://www.mutt.org/)
2. Install msmtp (
http://msmtp.sourceforge.net/)
3. Put one of the following lines in your .muttrc or .mutt/muttrc:
set from="James Prevatt <
[email protected]>"
my_hdr "From: James Prevatt <
[email protected]>"
4. Also put the following in your .muttrc or .mutt/muttrc:
set sendmail="$PATHTO/msmtp"
5. Use the following as a template for your .msmtprc (be sure to chmod 600 as
your secret is not even base-64 in this file):
host smtp.freeshell.org
from
[email protected]
user jprevatt.tenex.org
password SMTP-AUTH-secret
auth plain
6. That's it!