1 # Exim test configuration 5700
4 host_lookup_order = bydns
5 rfc1413_query_timeout = 0s
6 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/%slog
9 gecos_name = CALLER_NAME
11 # ----- Main settings -----
13 acl_smtp_rcpt = accept
14 acl_smtp_data = accept
22 accept condition = ${if eq {$tpda_event}{tcp:connect}}
23 logwrite = . [$host_address]:$sending_port
24 accept condition = ${if eq {$tpda_event}{tcp:close}}
25 logwrite = . [$sending_ip_address] -> \
26 [$host_address]:$host_port
31 logwrite = . [$sending_ip_address] -> \
32 [$host_address]:$host_port
33 logwrite = . banner <$tpda_data>
36 accept condition = ${if !eq {$acl_arg2}{domain1}}
37 logwrite = $this_expansion_will_fail
39 accept condition = ${if eq {$acl_arg1}{msg:delivery}}
45 local_part <$local_part> \
47 confirmation <$tpda_data> \
48 router <$router_name> \
49 transport <$transport_name>
51 accept condition = ${if eq {$acl_arg1}{msg:host:defer}}
57 local_part <$local_part> \
59 errno <$tpda_defer_errno> \
61 router <$router_name> \
62 transport <$transport_name>
65 warn logwrite = event $tpda_event
66 accept condition = ${if eq {tcp} {${listextract{1}{$tpda_event}}}}
68 accept condition = ${if eq {smtp} {${listextract{1}{$tpda_event}}}}
70 accept condition = ${if eq {msg} {${listextract{1}{$tpda_event}}}}
71 acl = ev_msg $tpda_event $acl_arg2
85 route_list = * 127.0.0.1 byname
91 # ----- Transports -----
100 tpda_event_action = ${acl {logger} {$tpda_event} {$domain} }