# control of AUTH= on MAIL by ACL
exim -DOPT=# -bs
ehlo xxxx
mail from: auth=c@d
quit
****
exim -bs
ehlo xxxx
mail from: auth=c@d
quit
****
exim -DACL=accept -bs
ehlo xxxx
mail from: auth=c@d
quit
****
# No acl_smtp_mailauth, but authenticated
exim -DOPT=# -bs
ehlo xxxx
auth plain abcd
mail from: auth=c@d
quit
****
# Authenticated but ACL rejects
exim -bs
ehlo xxxx
auth plain abcd
mail from: auth=c@d
quit
****
# ACL allows some only
exim -DACL=acl1 -bs
ehlo xxxx
mail from: auth=bad@bad
rset
mail from: auth=ok@ok
quit
****