]> git.openstreetmap.org Git - chef.git/commitdiff
Preserve case of local part for rails message delivery
authorTom Hughes <tom@compton.nu>
Sat, 6 Jan 2024 11:15:06 +0000 (11:15 +0000)
committerTom Hughes <tom@compton.nu>
Sat, 6 Jan 2024 11:16:34 +0000 (11:16 +0000)
https://github.com/openstreetmap/operations/issues/1017

cookbooks/exim/templates/default/exim4.conf.erb
roles/web-frontend.rb

index 635682e2ea2407aaa6d9df50897b3a3ba58de8dc..6809a6a58996ff9c747483ff5175bad261613b09 100644 (file)
@@ -670,6 +670,9 @@ noreply:
 <% else -%>
   transport = <%= name %>
 <% end -%>
+<% if details[:case_sensitive] -%>
+  caseful_local_part
+<% end -%>
 
 <% end -%>
 
index 985811f59b972d45ffef1bf0067ff712f5d51c99..7ef592fcbc952025a326e02e39e427557a8ad26d 100644 (file)
@@ -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
       }
     }
   }