From: Tom Hughes Date: Sat, 6 Jan 2024 11:15:06 +0000 (+0000) Subject: Preserve case of local part for rails message delivery X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/d7e14243b1f2d6e63ea5d6bad5f6578844ac705c?ds=sidebyside;hp=ef193e96760ed795494ffb3812e909c6655dc221 Preserve case of local part for rails message delivery https://github.com/openstreetmap/operations/issues/1017 --- diff --git a/cookbooks/exim/templates/default/exim4.conf.erb b/cookbooks/exim/templates/default/exim4.conf.erb index 635682e2e..6809a6a58 100644 --- a/cookbooks/exim/templates/default/exim4.conf.erb +++ b/cookbooks/exim/templates/default/exim4.conf.erb @@ -670,6 +670,9 @@ noreply: <% else -%> transport = <%= name %> <% end -%> +<% if details[:case_sensitive] -%> + caseful_local_part +<% end -%> <% end -%> diff --git a/roles/web-frontend.rb b/roles/web-frontend.rb index 985811f59..7ef592fcb 100644 --- a/roles/web-frontend.rb +++ b/roles/web-frontend.rb @@ -37,7 +37,8 @@ default_attributes( :user => "rails", :group => "rails", :home_directory => "/srv/www.openstreetmap.org/rails", - :path => "/bin:/usr/bin:/usr/local/bin" + :path => "/bin:/usr/bin:/usr/local/bin", + :case_sensitive => true } } }