John F. Lewis has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/223279

Change subject: mail: ferm rules for mailman
......................................................................

mail: ferm rules for mailman

Add basic ferm rules for mailman service (web and smtp). TODO: check if any
other ports are open on sodium and add them.

Bug: T104980
Change-Id: If26277b0322e01491236f037d6ab764d63e0f33e
---
M manifests/role/mail.pp
1 file changed, 14 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/79/223279/1

diff --git a/manifests/role/mail.pp b/manifests/role/mail.pp
index c58441e..dc6af82 100644
--- a/manifests/role/mail.pp
+++ b/manifests/role/mail.pp
@@ -193,4 +193,18 @@
         timeout       => '30',
     }
 
+    ferm::service { 'mailman-smtp':
+        proto => 'tcp',
+        port  => '25',
+    }
+
+    ferm::service { 'mailman-http':
+        proto => 'tcp',
+        port  => '80',
+    }
+
+    ferm::service { 'mailman-https':
+        proto => 'tcp',
+        port  => '443',
+    }
 }

-- 
To view, visit https://gerrit.wikimedia.org/r/223279
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If26277b0322e01491236f037d6ab764d63e0f33e
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: John F. Lewis <johnflewi...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to