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/gmail/urbain.p.vaes@gmail.com.gpg" account imperial host outlook.office365.com from u.vaes13@imperial.ac.uk user uv113@ic.ac.uk 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 : gmail