Fix list-expansion for various domainlists, having included sublist elements. Bug...
[users/heiko/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   headers_add = rtr_authres: ${authresults {$primary_hostname}}
44   retry_use_local_part
45   transport = t1
46
47
48 # ----- Transports -----
49
50 begin transports
51
52 t1:
53   driver = appendfile
54   file = DIR/test-mail/${bless:$local_part}
55   user = CALLER
56
57 # End