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
16 delivery_event_action = ${acl {logger}}
24 accept condition = ${if eq {$tpda_event}{tcp:connect}}
25 logwrite = . [$host_address]:$host_port
26 accept condition = ${if eq {$tpda_event}{tcp:close}}
27 logwrite = . [$sending_ip_address] -> \
28 [$host_address]:$host_port
33 logwrite = . [$sending_ip_address] -> \
34 [$host_address]:$host_port
35 logwrite = . banner <$tpda_data>
38 accept condition = ${if eq {$tpda_event}{msg:fail:delivery}}
40 refused by fdqn <$host> \
41 local_part <$local_part> \
45 local_part <$local_part> \
50 accept condition = ${if eq {fail} {${listextract{2}{$tpda_event}}}}
53 accept condition = ${if eq {$tpda_event}{msg:complete}}
54 logwrite = . finished: $message_exim_id
56 accept condition = ${if !eq {$domain}{domain1}}
57 logwrite = $this_expansion_will_fail
59 accept condition = ${if eq {$tpda_event}{msg:delivery}}
65 local_part <$local_part> \
67 confirmation <$tpda_data> \
68 router <$router_name> \
69 transport <$transport_name>
71 accept condition = ${if eq {$tpda_event}{msg:host:defer}}
77 local_part <$local_part> \
79 errno <$tpda_defer_errno> \
81 router <$router_name> \
82 transport <$transport_name>
85 warn logwrite = event $tpda_event
86 accept condition = ${if eq {tcp} {${listextract{1}{$tpda_event}}}}
88 accept condition = ${if eq {smtp} {${listextract{1}{$tpda_event}}}}
90 accept condition = ${if eq {msg} {${listextract{1}{$tpda_event}}}}
105 route_list = * 127.0.0.1 byname
111 # ----- Transports -----
120 tpda_event_action = ${acl {logger}}