Rename feature to "Transport Post-Delivery Actions"
[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 logwrite = \
23             $acl_arg1 \
24             ip <$tpda_delivery_ip> \
25             port <$tpda_delivery_port> \
26             fqdn <$tpda_delivery_fqdn> \
27             local_part <$tpda_delivery_local_part> \
28             domain <$tpda_delivery_domain> \
29             confirmation <$tpda_delivery_confirmation> \
30             errno <$tpda_defer_errno> \
31             errstr <$tpda_defer_errstr> \
32             router <$router_name> \
33             transport <$transport_name>
34
35
36 # ----- Routers -----
37
38 begin routers
39
40 others:
41   driver = manualroute
42   route_list = * 127.0.0.1 byname
43   self = send
44   transport = smtp
45   no_more
46
47
48 # ----- Transports -----
49
50 begin transports
51
52 smtp:
53   driver = smtp
54   port = PORT_S
55   command_timeout = 1s
56   final_timeout = 1s
57   tpda_delivery_action =   ${acl {logger}{delivery}}
58   tpda_host_defer_action = ${acl {logger}{deferral}}
59
60 # End