]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/blob - modules/profile/templates/mail/ssmtp.conf.erb
Fix ssmtp for mail cofniguration
[perso/Immae/Projets/Puppet.git] / modules / profile / templates / mail / ssmtp.conf.erb
1 #
2 # /etc/ssmtp.conf -- a config file for sSMTP sendmail.
3 #
4 # The person who gets all mail for userids < 1000
5 # Make this empty to disable rewriting.
6 root=<%= @default_target %>
7 # The place where the mail goes. The actual machine name is required
8 # no MX records are consulted. Commonly mailhosts are named mail.domain.com
9 # The example will fit if you are in domain.com and you mailhub is so named.
10 mailhub=<%= @mailhub %>:<%= @mailhub_port %>
11 # Where will the mail seem to come from?
12 #rewriteDomain=y
13 # The full hostname
14 hostname=<%= @mail_host %>
15 TLS_CA_FILE=/etc/ssl/certs/ca-certificates.crt
16 UseTLS=Yes
17 UseSTARTTLS=Yes
18 AuthUser=<%= @ldap_cn %>
19 AuthPass=<%= @ldap_password %>