X-Git-Url: https://git.distorted.org.uk/~mdw/exim-config/blobdiff_plain/3e031e77077b40a0334fd4c41ea1f0f25ee73158..11f6fa6e1c39dcc27fb7da0d77ac11589ddf9139:/base.m4 diff --git a/base.m4 b/base.m4 index d43a6f0..22f6852 100644 --- a/base.m4 +++ b/base.m4 @@ -301,34 +301,6 @@ mail_check_auth: deny message = Sender not authenticated condition = ${if !def:acl_c_user} - ## Make sure that the local part is one that the authenticated sender - ## is allowed to claim. - deny message = Sender address forbidden to calling user - !condition = \ - ${if exists {CONF_sysconf_dir/auth-sender.conf} \ - {${lookup {$acl_c_user} \ - lsearch \ - {CONF_sysconf_dir/auth-sender.conf} \ - {${if match_address \ - {$sender_address} \ - {+value}}} \ - {false}}}} - !condition = ${LOOKUP_DOMAIN($sender_address_domain, - {${if and {{match_local_part \ - {$acl_c_user} \ - {+dom_users}} \ - {match_local_part \ - {$sender_address_local_part} \ - {+dom_locals}}}}}, - {${if and {{match_local_part \ - {$sender_address_local_part} \ - {+user_extaddr}} \ - {or {{eq {$sender_address_domain} \ - {}} \ - {match_domain \ - {$sender_address_domain} \ - {+public}}}}}}})} - ## All done. accept