chiark / gitweb /
base.m4, exchange.m4: Improve key/value syntax in warnings.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 17 Mar 2014 09:55:41 +0000 (09:55 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 17 Mar 2014 09:55:41 +0000 (09:55 +0000)
Only just noticed `HELO name=...' which is awful; change to
`helo-name=...'.  Also, kill the separating commas.

base.m4
exchange.m4

diff --git a/base.m4 b/base.m4
index c9c04ffe8a3c79f8b059428f360627fe713e2f86..90fcca6b3a26cff81b0945226cadf548df46cfc7 100644 (file)
--- a/base.m4
+++ b/base.m4
@@ -143,7 +143,7 @@ mail:
                 add_header = :after_received:X-Distorted-Warning: \
                        BADHELO \
                        Client's HELO doesn't match its IP address.\n\t\
-                       HELO name=$sender_helo_name, \
+                       helo-name=$sender_helo_name \
                        address=$sender_host_address
 
        ## Always allow the empty sender, so that we can receive bounces.
index 4a7790dc85205d88e1ef6ae6cf9082bc4d3389a6..e7d5fa48af785d1524ef1f6ce4c32a25c7334135 100644 (file)
@@ -68,7 +68,7 @@ mail_client_addr:
                        RCLNTLSNDR \
                        Apparently local sender, but received from remote \
                        server.\n\t\
-                       sender=$sender_address, \
+                       sender=$sender_address \
                        host=$sender_host_address
 
        ## OK.