DSN: fix null deref when bounce is due to conn-timeout. Bug 1630
[users/jgh/exim.git] / test / confs / 0177
1 # Exim test configuration 0177
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 spool_directory = DIR/spool
6 log_file_path = DIR/spool/log/%slog
7 gecos_pattern = ""
8 gecos_name = CALLER_NAME
9
10 # ----- Main settings -----
11
12 domainlist local_domains = test.ex
13
14 acl_smtp_rcpt = check_recipient
15
16 qualify_domain = test.ex
17
18
19 # ----- ACL -----
20
21 begin acl
22
23 check_recipient:
24   accept  hosts = :
25   accept  domains = +local_domains
26   deny    message = relay not permitted
27
28
29 # ----- Routers -----
30
31 begin routers
32
33 all_R:
34   driver = manualroute
35   domains = ! +local_domains
36   route_list = * 127.0.0.1 byname
37   self = send
38   transport = smtp
39   no_more
40
41 filter:
42   driver = redirect
43   allow_filter
44   allow_freeze
45   allow_fail
46   no_check_local_user
47   file = DIR/aux-var/TESTNUM.filter
48   owners =
49   reply_transport = autoreply
50   retry_use_local_part
51   user = CALLER
52
53 alias:
54   driver = redirect
55   allow_defer
56   allow_fail
57   data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.alias}}
58   retry_use_local_part
59
60 all_L:
61   driver = accept
62   retry_use_local_part
63   transport = appendfile
64
65
66 # ----- Transports -----
67
68 begin transports
69
70 appendfile:
71   driver = appendfile
72   file = DIR/test-mail/$local_part
73   user = CALLER
74
75 autoreply:
76   driver = autoreply
77   user = CALLER
78
79 smtp:
80   driver = smtp
81   port = PORT_S
82
83
84 # ----- Retry -----
85
86
87 begin retry
88
89 * * F,5d,1d
90
91
92 # End