]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/blame - modules/profile/templates/mail/ssmtp.conf.erb
Fix ssmtp for mail cofniguration
[perso/Immae/Projets/Puppet.git] / modules / profile / templates / mail / ssmtp.conf.erb
CommitLineData
82caf311
IB
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.
528b0cf9 6root=<%= @default_target %>
82caf311
IB
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.
10mailhub=<%= @mailhub %>:<%= @mailhub_port %>
11# Where will the mail seem to come from?
12#rewriteDomain=y
13# The full hostname
8093d467
IB
14hostname=<%= @mail_host %>
15TLS_CA_FILE=/etc/ssl/certs/ca-certificates.crt
16UseTLS=Yes
17UseSTARTTLS=Yes
18AuthUser=<%= @ldap_cn %>
19AuthPass=<%= @ldap_password %>