defaults auth on tls on tls_trust_file /etc/ssl/certs/ca-certificates.crt logfile ~/.msmtp.log account gmail host smtp.gmail.com port 587 from urbain.p.vaes@gmail.com user urbain.p.vaes passwordeval "gpg --use-agent --quiet --for-your-eyes-only --no-tty --decrypt ~/.password-store/Mail/gmail.gpg" account imperial host smtp.cc.ic.ac.uk from u.vaes13@imperial.ac.uk user uv113 passwordeval "gpg --use-agent --quiet --for-your-eyes-only --no-tty --decrypt ~/.password-store/Mail/imperial.gpg" port 587 # Set a default account account default : imperial