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