]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/exim/templates/default/exim4.conf.erb
Preserve case of local part for rails message delivery
[chef.git] / cookbooks / exim / templates / default / exim4.conf.erb
index 96f0cad77ad856b1b1bfa81f9edeb733121df627..6809a6a58996ff9c747483ff5175bad261613b09 100644 (file)
@@ -506,11 +506,11 @@ acl_check_rcpt:
   # relay domains is to use a callout (add /callout), but please read the
   # documentation about callouts before doing this.
 
-  require verify   = recipient
-          !domains = +relay_to_domains
+  deny    domains = +relay_to_domains
+         !verify  = recipient/callout=use_sender
 
-  require verify   = recipient/callout
-          domains  = +relay_to_domains
+  deny    domains = !+relay_to_domains
+         !verify  = recipient
 
 <% if node[:exim][:dns_blacklists] -%>
   # Deny any messages from hosts in certain blacklists.
@@ -670,6 +670,9 @@ noreply:
 <% else -%>
   transport = <%= name %>
 <% end -%>
+<% if details[:case_sensitive] -%>
+  caseful_local_part
+<% end -%>
 
 <% end -%>