Advertisement
Guest User

Untitled

a guest
May 22nd, 2017
516
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. -----------------------------------------
  2. /etc/ssmtp/ssmtp.conf
  3. ------------------------------------------
  4. #
  5. # Config file for sSMTP sendmail
  6. #
  7. # The person who gets all mail for userids < 1000
  8. # Make this empty to disable rewriting.
  9. root=lol.grant@gmail.com
  10.  
  11. # The place where the mail goes. The actual machine name is required no
  12. # MX records are consulted. Commonly mailhosts are named mail.domain.com
  13. mailhub=smtp.gmail.com:587
  14.  
  15. # Where will the mail seem to come from?
  16. rewriteDomain=gmail.com
  17.  
  18. # The full hostname
  19. hostname=lol.grant@gmail.com
  20.  
  21. FromLineOverride=YES
  22.  
  23. AuthUser=<your gmail username>
  24. AuthPass=<your gmail password>
  25.  
  26. UseSTARTTLS=YES
  27. AuthMethod=LOGIN
  28.  
  29.  
  30. -------------------------------------------------------
  31. /etc/ssmtp/revaliases
  32. -------------------------------------------------------
  33. # sSMTP aliases
  34. #
  35. # Format: local_account:outgoing_address:mailhub
  36. #
  37. # Example: root:your_login@your.domain:mailhub.your.domain[:port]
  38. # where [:port] is an optional port number that defaults to 25.
  39. root:lol.grant@gmail.com:smtp.gmail.com
  40. lol:lol.grant@gmail.com:smtp.gmail.com
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement