Friday 28 Dec 2012

Friday 28 Dec 2012

msmtp + mutt

sudo apt-get install mutt msmtp gnutls-bin ca-certificates

\~/.msmtprc defaults tls on tls_starttls off tls_trust_file /etc/ssl/certs/ca-certificates.crt

account default host mail.nchc.narl.org.tw port 465 auth on user 0603106@nchc.narl.org.tw password NCHCokok7480 from thomas at nchc.narl.org.tw logfile \~/msmtp.log

test msmtp XXX@example.com

mutt set sendmail="/usr/bin/msmtp" set use_from=yes set realname="Thomas Tsai" set from=thomas at nchc.org.tw set envelope_from=yes set editor="vim"

Comments