X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/e66dcd5543527ec3aa86cbf36823e6473f48b2fe..69ae3f456bc97cb78a7b125fe07dac2af12ba78f:/roles/web-frontend.rb diff --git a/roles/web-frontend.rb b/roles/web-frontend.rb index 2549e98dc..b5597adb6 100644 --- a/roles/web-frontend.rb +++ b/roles/web-frontend.rb @@ -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",