X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FProjets%2FPuppet.git;a=blobdiff_plain;f=modules%2Fprofile%2Ftemplates%2Fmail%2Fssmtp.conf.erb;fp=modules%2Fprofile%2Ftemplates%2Fmail%2Fssmtp.conf.erb;h=ea5bc99eb105580986176df52861f32dd2d8c4f1;hp=176614077c9f1550240d98b20dde0382fdcc2b84;hb=d2c58adb0dfa47a4be23686e231d1a2ebc620b81;hpb=c5465178352d4bce4a4ea01bf03fbc6d6b7e59e8 diff --git a/modules/profile/templates/mail/ssmtp.conf.erb b/modules/profile/templates/mail/ssmtp.conf.erb index 1766140..ea5bc99 100644 --- a/modules/profile/templates/mail/ssmtp.conf.erb +++ b/modules/profile/templates/mail/ssmtp.conf.erb @@ -11,4 +11,9 @@ mailhub=<%= @mailhub %>:<%= @mailhub_port %> # Where will the mail seem to come from? #rewriteDomain=y # The full hostname -hostname=<%= @hostname %> +hostname=<%= @mail_host %> +TLS_CA_FILE=/etc/ssl/certs/ca-certificates.crt +UseTLS=Yes +UseSTARTTLS=Yes +AuthUser=<%= @ldap_cn %> +AuthPass=<%= @ldap_password %>