auth.m4: Ensure that `not_smtp_start' is properly terminated.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 25 Jan 2014 19:57:53 +0000 (19:57 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 25 Jan 2014 19:57:53 +0000 (19:57 +0000)
ACLs default to `deny' if you don't say anything.  It doesn't actually
matter in this case, since the result of `acl_not_smtp_start' is
ignored, but it's the principle of the thing.

auth.m4

diff --git a/auth.m4 b/auth.m4
index d4729c0..ae11798 100644 (file)
--- a/auth.m4
+++ b/auth.m4
@@ -61,6 +61,9 @@ not_smtp_start:
        ## Record the user's name.
        warn     set acl_c_user = $sender_ident
 
+       ## Done.
+       accept
+
 SECTION(acl, mail-hooks)m4_dnl
        ## Check that a submitted message's sender address is allowable.
        require  acl = mail_check_auth