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