Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #set default values for all following accounts.
- defaults
- auth on
- tls on
- tls_trust_file /etc/ssl/certs/ca-certificates.crt
- logfile ~/.msmtp.log
- # Gmail
- account gmail
- host smtp.gmail.com
- port 587
- from myname@gmail.com
- user myname
- password mypassword
- # Set a default account
- account default : gmail
- echo "test" | mutt -s "test email" anotheremail@gmail.com
- msmtp: cannot locate host smtp.gmail.com: Temporary failure in name resolution
- msmtp: could not send mail (account default from ~/.msmtprc)
- Error sending message, child exited 68 (Host unknown.).
- Could not send the message.
- ping smtp.gmail.com
- ping: unknown host smtp.gmail.com
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement