Merge from master into 4.next
[exim.git] / test / confs / 3410
CommitLineData
afda344b
PH
1# Exim test configuration 3410
2
4fab92fb
HSHR
3.include DIR/aux-var/std_conf_prefix
4
afda344b 5primary_hostname = myhost.test.ex
afda344b
PH
6
7# ----- Main settings -----
8
9# Use first three components of address to select ACL
10acl_smtp_rcpt = acl_${sg{${tr{$sender_host_address}{.}{_}}}{^(.*)_.*\$}{\$1}}
11
12# ----- ACLs -----
13
14begin acl
15
16# These ones test defers
17
18acl_5_6_9:
19 accept endpass
20 message = You must authenticate
21 authenticated = *
22
23acl_5_6_10:
24 accept authenticated = auth1
25
26
27# ------ Authenticators ----
28
29begin authenticators
30
31auth1:
32 driver = plaintext
33 public_name = PLAIN
34 server_condition = ${if eq {$3}{secret}{yes}{no}}
35
36auth2:
37 driver = plaintext
38 public_name = LOGIN
39 server_prompts = "User Name : Password "
40 server_condition = ${if eq {$2}{secret}{yes}{no}}
41
42
43# End