X-Git-Url: https://git.distorted.org.uk/~mdw/exim-config/blobdiff_plain/534d411b5c96107030e30da491e06734ea09a7b3..ff4c943d92bd663e5f4b2057f3282359fbd5e3c4:/base.m4 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.