]> git.openstreetmap.org Git - chef.git/blobdiff - roles/web-frontend.rb
otrs: move to naga
[chef.git] / roles / web-frontend.rb
index 2549e98dc1d4aa4dfbe344788117a16e6ce413f8..b5597adb67278a6628e506ad382d778308e2330f 100644 (file)
@@ -38,7 +38,8 @@ default_attributes(
       :messages => {
         :comment => "messages.openstreetmap.org",
         :domains => ["messages.openstreetmap.org"],
-        :command => "/usr/local/bin/deliver-message $local_part",
+        :local_parts => ["${lookup{$local_part}lsearch*,ret=key{/etc/exim4/detaint}}"],
+        :command => "/usr/local/bin/deliver-message $local_part_data",
         :user => "rails",
         :group => "rails",
         :home_directory => "/srv/www.openstreetmap.org/rails",