Testsuite: tidying
[exim.git] / test / confs / 3550
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 plain:
38   driver =              dovecot
39   public_name =         PLAIN
40   server_socket =       AUTHS
41   server_condition =    ${if eq {$auth1}{userx} {yes}{no}}
42   server_set_id =       $auth1
43
44 # ----- Routers -----
45
46 begin routers
47
48 localuser:
49   driver =      accept
50   local_parts = userx
51   transport =   appendfile
52
53
54 # ----- Transports -----
55
56 begin transports
57
58 appendfile:
59   driver =      appendfile
60   delivery_date_add
61   envelope_to_add
62   file =        DIR/test-mail/$local_part
63   create_file = DIR/test-mail
64   return_path_add
65   user =        CALLER
66
67
68 # End