X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=modules%2Fprofile%2Ftemplates%2Fmail%2Fssmtp.conf.erb;h=ea5bc99eb105580986176df52861f32dd2d8c4f1;hb=8093d467c2f81afe4d321d0547e2cfc2c4067f57;hp=e7a0410533da87aa122a37e209a7118630b6d91e;hpb=82caf31189f11a9bca4836260e8ee8ba954690f2;p=perso%2FImmae%2FProjets%2FPuppet.git diff --git a/modules/profile/templates/mail/ssmtp.conf.erb b/modules/profile/templates/mail/ssmtp.conf.erb index e7a0410..ea5bc99 100644 --- a/modules/profile/templates/mail/ssmtp.conf.erb +++ b/modules/profile/templates/mail/ssmtp.conf.erb @@ -3,7 +3,7 @@ # # The person who gets all mail for userids < 1000 # Make this empty to disable rewriting. -root=postmaster +root=<%= @default_target %> # 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. @@ -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 %>