1 # Exim test configuration 5700
5 host_lookup_order = bydns
6 rfc1413_query_timeout = 0s
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
10 gecos_name = CALLER_NAME
12 # ----- Main settings -----
14 acl_smtp_rcpt = accept
15 acl_smtp_data = accept
17 event_action = ${acl {logger}}
25 accept condition = ${if eq {$event_name}{tcp:connect}}
26 logwrite = . [$host_address]:$host_port
27 accept condition = ${if eq {$event_name}{tcp:close}}
28 logwrite = . [$sending_ip_address] -> \
29 [$host_address]:$host_port
34 logwrite = . [$sending_ip_address] -> \
35 [$host_address]:$host_port
36 logwrite = . banner <$event_data>
39 accept condition = ${if eq {$event_name}{msg:fail:delivery}}
41 refused by fdqn <$host> \
42 local_part <$local_part> \
46 local_part <$local_part> \
51 accept condition = ${if eq {fail} {${listextract{2}{$event_name}}}}
54 accept condition = ${if eq {$event_name}{msg:complete}}
55 logwrite = . finished: $message_exim_id
57 accept condition = ${if !eq {$domain}{domain1}}
58 logwrite = $this_expansion_will_fail
60 accept condition = ${if eq {$event_name}{msg:delivery}}
66 local_part <$local_part> \
68 confirmation <$event_data> \
69 router <$router_name> \
70 transport <$transport_name>
72 accept condition = ${if eq {$event_name}{msg:host:defer}}
78 local_part <$local_part> \
80 errno <$event_defer_errno> \
81 errstr <$event_data> \
82 router <$router_name> \
83 transport <$transport_name>
86 warn logwrite = event $event_name
87 accept condition = ${if eq {tcp} {${listextract{1}{$event_name}}}}
89 accept condition = ${if eq {smtp} {${listextract{1}{$event_name}}}}
91 accept condition = ${if eq {msg} {${listextract{1}{$event_name}}}}
106 route_list = * 127.0.0.1 byname
112 # ----- Transports -----
121 event_action = ${acl {logger}}