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
11 # ----- Main settings -----
13 acl_smtp_rcpt = accept
14 acl_smtp_data = accept
16 event_action = ${acl {logger}}
24 accept condition = ${if eq {$event_name}{tcp:connect}}
25 logwrite = . [$host_address]:$host_port
26 accept condition = ${if eq {$event_name}{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 <$event_data>
38 accept condition = ${if eq {$event_name}{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}{$event_name}}}}
53 accept condition = ${if eq {$event_name}{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 {$event_name}{msg:delivery}}
65 local_part <$local_part> \
67 confirmation <$event_data> \
68 router <$router_name> \
69 transport <$transport_name>
71 accept condition = ${if eq {$event_name}{msg:host:defer}}
77 local_part <$local_part> \
79 errno <$event_defer_errno> \
80 errstr <$event_data> \
81 router <$router_name> \
82 transport <$transport_name>
85 warn logwrite = event $event_name
86 accept condition = ${if eq {tcp} {${listextract{1}{$event_name}}}}
88 accept condition = ${if eq {smtp} {${listextract{1}{$event_name}}}}
90 accept condition = ${if eq {msg} {${listextract{1}{$event_name}}}}
105 route_list = * 127.0.0.1 byname
111 # ----- Transports -----
120 event_action = ${acl {logger}}