Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -----------------------------------------
- /etc/ssmtp/ssmtp.conf
- ------------------------------------------
- #
- # Config file for sSMTP sendmail
- #
- # The person who gets all mail for userids < 1000
- # Make this empty to disable rewriting.
- root=lol.grant@gmail.com
- # The place where the mail goes. The actual machine name is required no
- # MX records are consulted. Commonly mailhosts are named mail.domain.com
- mailhub=smtp.gmail.com:587
- # Where will the mail seem to come from?
- rewriteDomain=gmail.com
- # The full hostname
- hostname=lol.grant@gmail.com
- FromLineOverride=YES
- AuthUser=<your gmail username>
- AuthPass=<your gmail password>
- UseSTARTTLS=YES
- AuthMethod=LOGIN
- -------------------------------------------------------
- /etc/ssmtp/revaliases
- -------------------------------------------------------
- # sSMTP aliases
- #
- # Format: local_account:outgoing_address:mailhub
- #
- # Example: root:your_login@your.domain:mailhub.your.domain[:port]
- # where [:port] is an optional port number that defaults to 25.
- root:lol.grant@gmail.com:smtp.gmail.com
- lol:lol.grant@gmail.com:smtp.gmail.com
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement