Truncate delay when peer closes connection. Bug 348
[exim.git] / test / confs / 0174
CommitLineData
afda344b
PH
1# Exim test configuration 0174
2
3exim_path = EXIM_PATH
4host_lookup_order = bydns
afda344b
PH
5spool_directory = DIR/spool
6log_file_path = DIR/spool/log/%slog
7gecos_pattern = ""
8gecos_name = CALLER_NAME
9
10# ----- Main settings -----
11
12domainlist local_domains = test.ex
13
14qualify_domain = test.ex
15trusted_users = CALLER
16
17
18# ----- Routers -----
19
20begin routers
21
22check1:
23 driver = manualroute
24 condition = ${if or {\
25 {eq {$sender_address}{}}\
26 {eq {$received_protocol}{scanned-ok}}\
27 }{no}{yes}}
28 domains = ! +local_domains
29 route_list = *
30 transport = pipe
31
32fail_remote_domains:
33 driver = redirect
34 domains = ! +local_domains
35 allow_fail
36 data = :fail: unrouteable mail domain "$domain" (:fail:)
37
38check2:
39 driver = accept
40 condition = ${if or {\
41 {eq {$sender_address}{}}\
42 {eq {$received_protocol}{scanned-ok}}\
43 }{no}{yes}}
44 retry_use_local_part
45 transport = pipe
46
47all:
48 driver = accept
49 retry_use_local_part
50 transport = appendfile
51
52
53# ----- Transports -----
54
55begin transports
56
57appendfile:
58 driver = appendfile
59 file = DIR/test-mail/$local_part
60 user = CALLER
61
62pipe:
63 driver = pipe
64 batch_max = 100
65 use_bsmtp
66 command = DIR/aux-fixed/resubmitB DIR/ CALLER
67 message_prefix =
68 return_output
69 user = CALLER
70
71
72# ----- Retry -----
73
74
75begin retry
76
77* * F,5d,1d
78
79
80# End