Browse Source

Add 'ssmtp_conf-sample/ssmtp.conf'

master
Pekka Helenius 4 years ago
parent
commit
d47c45ff62
1 changed files with 43 additions and 0 deletions
  1. +43
    -0
      ssmtp_conf-sample/ssmtp.conf

+ 43
- 0
ssmtp_conf-sample/ssmtp.conf View File

@ -0,0 +1,43 @@
#
# /etc/ssmtp.conf -- a config file for sSMTP sendmail.
#
# The user that gets all the mails (UID < 1000, usually the admin)
root=mailsender@foo.com
# Username/Password
AuthUser=mailsender@foo.com
AuthPass=password-of-mailsender@foo.com-as-clear-text
AuthMethod=LOGIN
# The mail server (where the mail is sent to), both port 465 or 587 should be acceptable
# See also https://support.google.com/mail/answer/78799
mailhub=smtp.live.com:587
# Email 'From header's can override the default domain?
FromLineOverride=yes
# Use SSL/TLS before starting negotiation
UseTLS=Yes
UseSTARTTLS=Yes
TLS_CA_File=/etc/ssl/certs/ca-certificates.crt
######################
# The person who gets all mail for userids < 1000
# Make this empty to disable rewriting.
# root=postmaster
# The place where the mail goes. The actual machine name is required
# no MX records are consulted. Commonly mailhosts are named mail.domain.com
# The example will fit if you are in domain.com and you mailhub is so named.
mailhub=mail
# Where will the mail seem to come from?
#rewriteDomain=y
# The full hostname
# hostname=localhost.localdomain
# The full hostname. Must be correctly formed, fully qualified domain name or GMail will reject connection.
# hostname=yourlocalhost.yourlocaldomain.tld
# The address where the mail appears to come from for user authentication.
# rewriteDomain=live.com

Loading…
Cancel
Save