From 8093d467c2f81afe4d321d0547e2cfc2c4067f57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Fri, 6 Mar 2020 19:20:52 +0100 Subject: Fix ssmtp for mail cofniguration --- modules/profile/templates/mail/ssmtp.conf.erb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'modules/profile/templates/mail/ssmtp.conf.erb') 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 %> -- cgit v1.2.3