Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2014
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. #set default values for all following accounts.
  2. defaults
  3. auth on
  4. tls on
  5. tls_trust_file /etc/ssl/certs/ca-certificates.crt
  6. logfile ~/.msmtp.log
  7.  
  8. # Gmail
  9. account gmail
  10. host smtp.gmail.com
  11. port 587
  12. from myname@gmail.com
  13. user myname
  14. password mypassword
  15.  
  16. # Set a default account
  17. account default : gmail
  18.  
  19. echo "test" | mutt -s "test email" anotheremail@gmail.com
  20.  
  21. msmtp: cannot locate host smtp.gmail.com: Temporary failure in name resolution
  22. msmtp: could not send mail (account default from ~/.msmtprc)
  23. Error sending message, child exited 68 (Host unknown.).
  24. Could not send the message.
  25.  
  26. ping smtp.gmail.com
  27.  
  28. ping: unknown host smtp.gmail.com
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement