]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/exim/manifests/init.pp
this should virtually work
[dsa-puppet.git] / modules / exim / manifests / init.pp
index 6193cb46ec9f9e55bddeefd3dd32d0c0d10e19de..858527909dc16ff7f79be6a33b13cbaf563eadb1 100644 (file)
@@ -146,7 +146,7 @@ class exim {
           ;
         "/var/log/exim4":
           mode    => 2750,
-          ensure  => directory
+          ensure  => directory,
           owner   => Debian-exim,
           group   => maillog
           ;
@@ -156,4 +156,9 @@ class exim {
         path        => "/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin",
         refreshonly => true,
     }
+    @ferm::rule { "dsa-exim":
+            domain          => "(ip ip6)",
+            description     => "Allow smtp access",
+            rule            => "proto tcp mod state state (NEW) dport (25) ACCEPT"
+    }
 }