From: Mark Wooding Date: Fri, 4 Apr 2014 18:32:14 +0000 (+0100) Subject: base.m4: Check that the ident daemon actually gave us an answer. X-Git-Url: https://git.distorted.org.uk/~mdw/exim-config/commitdiff_plain/ff4c943d92bd663e5f4b2057f3282359fbd5e3c4 base.m4: Check that the ident daemon actually gave us an answer. --- diff --git a/base.m4 b/base.m4 index 204be0a..d312eb5 100644 --- a/base.m4 +++ b/base.m4 @@ -260,12 +260,12 @@ mail_check_auth: warn set acl_c_user = $authenticated_id hosts = +thishost !authenticated = * + condition = ${if def:sender_ident} set acl_c_user = $sender_ident - ## User must be authenticated. + ## User must be authenticated by now. deny message = Sender not authenticated - !hosts = +thishost - !authenticated = * + condition = ${if !def:acl_c_user} ## Make sure that the local part is one that the authenticated sender ## is allowed to claim.