chiark / gitweb /
Delay ACL header edits until transport time.
[exim-config] / exchange.m4
index cfdcf9ad78b00c33ad6b9a658e61bdafe1c30377..9f8324a6c9f74bd862f788e308c2d76f4d70a273 100644 (file)
@@ -52,12 +52,12 @@ mail_client_addr:
                           {${if match_domain {$sender_address_domain} \
                                              {+public} \
                                 {+allnets}{! +allnets}}})}
-                add_header = :after_received:X-Distorted-Warning: \
+                ADD_HEADER(<:X-CONF_header_token-Warning: \
                        RCLNTLSNDR \
                        Apparently local sender, but received from remote \
                        server.\n\t\
                        sender=$sender_address \
-                       host=$sender_host_address
+                       host=$sender_host_address:>)
 
        ## OK.
        accept