Testsuite: tidying
[exim.git] / test / confs / 3551
1 # Exim test configuration 3550
2
3 AUTHS=DIR/tmp/dovecot_auth_socket
4
5 .include DIR/aux-var/std_conf_prefix
6
7 primary_hostname = myhost.test.ex
8
9 # ----- Main settings -----
10
11 domainlist local_domains = test.ex : *.test.ex
12
13 hostlist auth_hosts = 10.0.0.1
14 hostlist relay_hosts = 10.0.0.4
15 hostlist auth_relay_hosts = 10.0.0.3 : 10.0.0.4
16
17 acl_smtp_rcpt = check_recipient
18 auth_advertise_hosts = +auth_hosts : !+relay_hosts : +auth_relay_hosts : \
19                        10.0.0.5
20 smtp_accept_max_nonmail = 20
21 trusted_users = CALLER
22
23
24 # ----- ACL -----
25
26 begin acl
27
28 check_recipient:
29   deny     message = authentication required
30           !authenticated = *
31   accept
32
33 # ----- Authentication -----
34
35 begin authenticators
36
37 login:
38   driver =              dovecot
39   public_name =         LOGIN
40   server_socket =       AUTHS
41   server_condition =    ${if eq {$auth1}{userx} {yes}{no}}
42   server_set_id =       $auth1
43
44
45 # ----- Routers -----
46
47 begin routers
48
49 localuser:
50   driver =      accept
51   local_parts = userx
52   transport =   appendfile
53
54
55 # ----- Transports -----
56
57 begin transports
58
59 appendfile:
60   driver =      appendfile
61   delivery_date_add
62   envelope_to_add
63   file =        DIR/test-mail/$local_part
64   create_file = DIR/test-mail
65   return_path_add
66   user =        CALLER
67
68
69 # End