summaryrefslogtreecommitdiff
path: root/test/scripts/3400-plaintext/3414
blob: 37528f2ea1996050b9748675dc026c36f0e722f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# control of AUTH= on MAIL by ACL
exim -DS=# -bs
ehlo xxxx
mail from:<a@b> auth=c@d
quit
****
exim -bs
ehlo xxxx
mail from:<a@b> auth=c@d
quit
****
exim -DACL=accept -bs
ehlo xxxx
mail from:<a@b> auth=c@d
quit
****
# No acl_smtp_mailauth, but authenticated
exim -DS=# -bs
ehlo xxxx
auth plain abcd
mail from:<a@b> auth=c@d
quit
****
# Authenticated but ACL rejects
exim -bs
ehlo xxxx
auth plain abcd
mail from:<a@b> auth=c@d
quit
****
# ACL allows some only
exim -DACL=acl1 -bs
ehlo xxxx
mail from:<a@b> auth=bad@bad
rset
mail from:<a@b> auth=ok@ok
quit
****