Testsuite: unbreak testcase
[exim.git] / test / confs / 3403
1 # Exim test configuration 3403
2
3 .include DIR/aux-var/std_conf_prefix
4
5 primary_hostname = myhost.test.ex
6
7 # ----- Main settings -----
8
9 acl_smtp_rcpt = accept
10 acl_smtp_data = check_data
11
12
13 # ----- Authentication -----
14
15 begin authenticators
16
17 plain1:
18 driver = plaintext
19 public_name = PLAIN
20 server_condition = \
21 ${if or {\
22 {and {{eq{$2}{userx}}{eq{$3}{secret}}}}\
23 {and {{eq{$2}{usery}}{eq{$3}{ab?}}}}\
24 }\
25 {yes}{no}}
26 server_set_id = $2
27 server_mail_auth_condition = ${if eq{$authenticated_id}{userx}{yes}}
28
29
30 # ----- ACL -----
31 begin acl
32
33 check_data:
34 accept add_header = :at_start:${authresults {$primary_hostname}}
35
36 # ----- Routers -----
37
38 begin routers
39
40 d1:
41 driver = accept
42 headers_add = aid: $authenticated_id
43 retry_use_local_part
44 transport = t1
45
46
47 # ----- Transports -----
48
49 begin transports
50
51 t1:
52 driver = appendfile
53 file = DIR/test-mail/${bless:$local_part}
54 user = CALLER
55
56 # End