]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/exim/manifests/init.pp
Revert "first stab at opening firewall for actual mail port"
[dsa-puppet.git] / modules / exim / manifests / init.pp
index 6856da2c87b559b2b3aa2e9d5f04f4b473fb270c..956cdc099d0b5464e66fef24383f5ee9fa87586f 100644 (file)
@@ -157,8 +157,20 @@ class exim {
         refreshonly => true,
     }
     @ferm::rule { "dsa-exim":
+            description     => "Allow SMTP",
+            rule            => "&SERVICE_RANGE(tcp, smtp, \$SMTP_SOURCES)"
+    }
+    @ferm::rule { "dsa-exim-v6":
+            description     => "Allow SMTP",
+            domain          => "ip6",
+            rule            => "&SERVICE_RANGE(tcp, smtp, \$SMTP_V6_SOURCES)"
+    }
+    # Do we actually want this?  I'm only doing it because it's harmless
+    # and makes the logs quiet.  There are better ways of making logs quiet,
+    # though.
+    @ferm::rule { "dsa-ident":
             domain          => "(ip ip6)",
-            description     => "Allow smtp access",
-            rule            => "&SERVICE(tcp, 25)"
+            description     => "Allow ident access",
+            rule            => "&SERVICE(tcp, 113)"
     }
 }