Make router_name and transport_name usable for the expansions
[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 dbl_delivery_query = ${acl {logger}{delivery}}
17
18
19 # ----- ACL -----
20
21 begin acl
22
23 logger:
24     accept logwrite = \
25             $acl_arg1 \
26             ip <$dbl_delivery_ip> \
27             port <$dbl_delivery_port> \
28             fqdn <$dbl_delivery_fqdn> \
29             local_part <$dbl_delivery_local_part> \
30             domain <$dbl_delivery_domain> \
31             confirmation <$dbl_delivery_confirmation> \
32             errno <$dbl_defer_errno> \
33             errstr <$dbl_defer_errstr> \
34             router <$router_name> \
35             transport <$transport_name>
36
37
38 # ----- Routers -----
39
40 begin routers
41
42 others:
43   driver = manualroute
44   route_list = * 127.0.0.1 byname
45   self = send
46   transport = smtp
47   no_more
48
49
50 # ----- Transports -----
51
52 begin transports
53
54 smtp:
55   driver = smtp
56   port = PORT_S
57   command_timeout = 1s
58   final_timeout = 1s
59   dbl_host_defer_query = ${acl {logger}{deferral}}
60
61 # End