1 # Exim test configuration 5700
4 host_lookup_order = bydns
5 spool_directory = DIR/spool
6 log_file_path = DIR/spool/log/%slog
8 gecos_name = CALLER_NAME
10 # ----- Main settings -----
12 acl_smtp_rcpt = accept
13 acl_smtp_data = accept
15 event_action = ${acl {logger}}
23 accept condition = ${if eq {$event_name}{tcp:connect}}
24 logwrite = . [$host_address]:$host_port
25 accept condition = ${if eq {$event_name}{tcp:close}}
26 logwrite = . [$sending_ip_address] -> \
27 [$host_address]:$host_port
32 logwrite = . [$sending_ip_address] -> \
33 [$host_address]:$host_port
34 logwrite = . banner <$event_data>
37 accept condition = ${if eq {$event_name}{msg:fail:delivery}}
39 refused by fdqn <$host> \
40 local_part <$local_part> \
44 local_part <$local_part> \
49 accept condition = ${if eq {fail} {${listextract{2}{$event_name}}}}
52 accept condition = ${if eq {$event_name}{msg:complete}}
53 logwrite = . finished: $message_exim_id
55 accept condition = ${if !eq {$domain}{domain1}}
56 logwrite = $this_expansion_will_fail
58 accept condition = ${if eq {$event_name}{msg:delivery}}
64 local_part <$local_part> \
66 confirmation <$event_data> \
67 router <$router_name> \
68 transport <$transport_name>
70 accept condition = ${if eq {$event_name}{msg:host:defer}}
76 local_part <$local_part> \
78 errno <$event_defer_errno> \
79 errstr <$event_data> \
80 router <$router_name> \
81 transport <$transport_name>
84 warn logwrite = event $event_name
85 accept condition = ${if eq {tcp} {${listextract{1}{$event_name}}}}
87 accept condition = ${if eq {smtp} {${listextract{1}{$event_name}}}}
89 accept condition = ${if eq {msg} {${listextract{1}{$event_name}}}}
104 route_list = * 127.0.0.1 byname
110 # ----- Transports -----
119 event_action = ${acl {logger}}