summaryrefslogtreecommitdiff
path: root/test/scripts/3400-plaintext/3414
blob: edd3a011f90ed64f00765d7d4f16feb754d2a653 (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 -DOPT=# -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 -DOPT=# -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
****