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