From 4aceee8c511e751b3a0a2a35af4fbfe84b1e9d2e Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Thu, 24 Mar 2016 09:40:16 +0000 Subject: [PATCH] auth.m4: Fix whitespace bogosity in `mailauth' ACL. --- auth.m4 | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/auth.m4 b/auth.m4 index 93b25c0..019623d 100644 --- a/auth.m4 +++ b/auth.m4 @@ -88,18 +88,19 @@ acl_smtp_mailauth = mailauth SECTION(acl, misc)m4_dnl ## Check the `AUTH=...' parameter to a `MAIL' command. mailauth: + ## If the client has authenticated using TLS then we're OK. The ## sender was presumably checked upstream, and we can believe that ## the name has been transmitted honestly. - accept condition = ${if def:tls_peerdn} + accept condition = ${if def:tls_peerdn} ## If this is submission, and the client has authenticated, then we ## check that the name matches the user. - accept condition = ${if eq {$authenticated_sender} \ - {$authenticated_id@CONF_master_domain}} + accept condition = ${if eq {$authenticated_sender} \ + {$authenticated_id@CONF_master_domain}} ## Otherwise we can't tell who really sent it. - deny message = Authenticated user not authoritative for claimed sender. + deny message = Authenticated user not authoritative for claimed sender. DIVERT(null) ###----- That's all, folks -------------------------------------------------- -- 2.11.0