]> git.openstreetmap.org Git - chef.git/blobdiff - roles/web-frontend.rb
Revert "Blackhole unreachable Amazon IPv6 block on equinix machines"
[chef.git] / roles / web-frontend.rb
index b6d80ae8c2fb04a1b9b8a9179d0d9ae55dd87a39..b5597adb67278a6628e506ad382d778308e2330f 100644 (file)
@@ -38,7 +38,7 @@ default_attributes(
       :messages => {
         :comment => "messages.openstreetmap.org",
         :domains => ["messages.openstreetmap.org"],
-        :local_parts => ["^c-(\\\\d+)-(\\\\d+)-(.*)\\$", "^m-(\\\\d+)-(.*)\\$"],
+        :local_parts => ["${lookup{$local_part}lsearch*,ret=key{/etc/exim4/detaint}}"],
         :command => "/usr/local/bin/deliver-message $local_part_data",
         :user => "rails",
         :group => "rails",