Testsuite: build a generic tls enabled client: client-anytls
[exim.git] / test / confs / 0374
1 # Exim test configuration 0374
2
3 .include DIR/aux-var/std_conf_prefix
4
5 primary_hostname = myhost.test.ex
6
7 # ----- Main settings -----
8
9 domainlist local_domains = test.ex : *.test.ex
10 remote_max_parallel = 1
11
12
13 # ----- Routers -----
14
15 begin routers
16
17 u1:
18 driver = accept
19 local_parts = ^a\\d
20 transport = ut1
21 unseen
22
23 ut2:
24 driver = accept
25 local_parts = ^b\\d
26 transport = ut2
27 unseen
28
29 ut3:
30 driver = accept
31 local_parts = ^c\\d
32 transport = ut3
33 unseen
34
35 ut4:
36 driver = accept
37 local_parts = ^d\\d
38 transport = ut4
39 unseen
40
41 real:
42 driver = accept
43 transport = real
44
45
46 # ----- Transports -----
47
48 begin transports
49
50 # Successful local transport
51 ut1:
52 driver = appendfile
53 file = DIR/test-mail/${bless:$local_part}-u
54 user = CALLER
55 return_path_add
56 envelope_to_add
57
58 # Hard unsuccessful local transport
59
60 ut2:
61 driver = pipe
62 command = /non/existent/file
63 user = CALLER
64
65 # Soft unsuccessful local transport
66
67 ut3:
68 driver = pipe
69 command = /non/existent/file
70 temp_errors = *
71 user = CALLER
72
73 # Remote transport - all types
74
75 ut4:
76 driver = smtp
77 hosts = 127.0.0.1
78 hosts_try_fastopen = :
79 port = PORT_S
80 allow_localhost
81 max_rcpt = 1
82
83 # Real delivery
84 real:
85 driver = appendfile
86 file = DIR/test-mail/${bless:$local_part}
87 user = CALLER
88 return_path_add
89 envelope_to_add
90
91
92 # ----- Retry -----
93
94
95 begin retry
96
97 * * F,5d,1d
98
99
100 # End