]> git.openstreetmap.org Git - chef.git/commitdiff
mailman: redact list entries pending moderator review
authorGrant Slater <git@firefishy.com>
Mon, 11 Jul 2022 21:12:55 +0000 (00:12 +0300)
committerGrant Slater <git@firefishy.com>
Mon, 11 Jul 2022 21:15:21 +0000 (00:15 +0300)
cookbooks/mailman/templates/default/apache.erb

index d2c0aab91a71b8093c341a8137d3feaa8c970d3d..0f0e9a9598ef243c4157886e5bc7ce4db7c4653c 100644 (file)
@@ -58,6 +58,9 @@
   RedirectMatch ^/$ /listinfo
   RedirectMatch ^/cgi-bin/mailman/(.*)$ /$1
 
+  # Redact list archive entries pending moderator review
+  RedirectMatch 451 ^/pipermail/talk/2022-July/(087645|087647)\.html$
+
   <Directory /var/lib/mailman/archives/>
          Options Indexes FollowSymLinks
     AllowOverride None