From: Stephen Gran Date: Sat, 6 Mar 2010 12:50:29 +0000 (+0000) Subject: add submission for mx machines X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=fa65dcc5c85450bb77a8153a3dfbf68517d2eb61;p=mirror%2Fdsa-puppet.git add submission for mx machines Signed-off-by: Stephen Gran --- diff --git a/modules/exim/manifests/mx.pp b/modules/exim/manifests/mx.pp index 2f1bfb64e..ebcbd8527 100644 --- a/modules/exim/manifests/mx.pp +++ b/modules/exim/manifests/mx.pp @@ -21,5 +21,14 @@ class exim::mx inherits exim { path => "/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin", refreshonly => true, } + @ferm::rule { "dsa-exim-submission": + description => "Allow SMTP", + rule => "&SERVICE_RANGE(tcp, submission, \$SMTP_SOURCES)" + } + @ferm::rule { "dsa-exim-v6-submission": + description => "Allow SMTP", + domain => "ip6", + rule => "&SERVICE_RANGE(tcp, submission, \$SMTP_V6_SOURCES)" + } }