Fix CVE-2016-1531
[exim.git] / test / confs / 5700
1 # Exim test configuration 5700
2
3 exim_path = EXIM_PATH
4 keep_environment =
5 host_lookup_order = bydns
6 rfc1413_query_timeout = 0s
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 acl_smtp_rcpt = accept
15 acl_smtp_data = accept
16
17
18 # ----- ACL -----
19
20 begin acl
21
22 logger:
23     accept condition = ${if eq {$acl_arg2}{domain1}}
24            logwrite = \
25             $acl_arg1 \
26             ip <$tpda_delivery_ip> \
27             port <$tpda_delivery_port> \
28             fqdn <$tpda_delivery_fqdn> \
29             local_part <$tpda_delivery_local_part> \
30             domain <$tpda_delivery_domain> \
31             confirmation <$tpda_delivery_confirmation> \
32             errno <$tpda_defer_errno> \
33             errstr <$tpda_defer_errstr> \
34             router <$router_name> \
35             transport <$transport_name>
36
37     accept logwrite = $this_expansion_will_fail
38
39 # ----- Routers -----
40
41 begin routers
42
43 dump_bounces:
44   driver = redirect
45   senders = :
46   data = :blackhole:
47
48 others:
49   driver = manualroute
50   route_list = * 127.0.0.1 byname
51   self = send
52   transport = smtp
53   no_more
54
55
56 # ----- Transports -----
57
58 begin transports
59
60 smtp:
61   driver = smtp
62   port = PORT_S
63   command_timeout = 1s
64   final_timeout = 1s
65   tpda_delivery_action =   ${acl {logger} {delivery} {$domain} }
66   tpda_host_defer_action = ${acl {logger} {deferral} {$domain} }
67
68 # End