From 17fd5737acfd664bef8f01ccc3562491e8d9579d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20M=E4kinen?= Date: Tue, 16 Jul 2013 14:27:01 +0300 Subject: [PATCH] sendmail: Add saslauthd configuration when using authentication for sendmail::server. --- sendmail/manifests/init.pp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sendmail/manifests/init.pp b/sendmail/manifests/init.pp index 32e52e1..f731fee 100644 --- a/sendmail/manifests/init.pp +++ b/sendmail/manifests/init.pp @@ -263,6 +263,13 @@ class sendmail::server inherits sendmail::common { } } + if $sendmail_auth_mech != [] { + sasl::saslauthd::service { "Sendmail": + content => template("sendmail/Sendmail.conf.erb"), + notify => Service["sendmail"], + } + } + } file { "sendmail.mc":