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