DSN: fix null deref when bounce is due to conn-timeout. Bug 1630
[users/jgh/exim.git] / test / confs / 0366
1 # Exim test configuration 0366
2
3 HOSTS_MAX_TRY=5
4
5 exim_path = EXIM_PATH
6 host_lookup_order = bydns
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
9 gecos_pattern = ""
10 gecos_name = CALLER_NAME
11
12 # ----- Main settings -----
13
14 ignore_bounce_errors_after = 0s
15 qualify_domain = test.ex
16 disable_ipv6
17
18 # ----- Routers -----
19
20 begin routers
21
22 r1:
23   driver = dnslookup
24   transport = smtp
25
26
27 # ----- Transports -----
28
29 begin transports
30
31 smtp:
32   driver = smtp
33   connect_timeout = 1s
34   hosts_max_try = HOSTS_MAX_TRY
35   port = PORT_N
36
37
38 # ----- Retry -----
39
40 # Ended up with the same settings, but leave the first because
41 # there's a -brt test as well.
42
43 begin retry
44
45 ^[^@]+@ten-      *  F,2s,1s
46 *                *  F,2s,1s
47
48 # End