2 accept condition = ${if eq {$event_name}{tcp:connect}}
3 logwrite = . [$host_address]:$host_port
4 accept condition = ${if eq {$event_name}{tcp:close}}
5 logwrite = . [$sending_ip_address] -> \
6 [$host_address]:$host_port
7 accept logwrite = UNEXPECTED $event_name
11 logwrite = . [$sending_ip_address] -> \
12 [$host_address]:$host_port
13 accept condition = ${if eq {$event_name}{smtp:connect}}
14 logwrite = . banner <$event_data>
15 accept condition = ${if eq {$event_name}{smtp:ehlo}}
16 logwrite = . ehlo-resp <$event_data>
17 accept logwrite = UNEXPECTED $event_name
20 accept condition = ${if eq {$event_name}{msg:fail:delivery}}
22 refused by fdqn <$host> \
23 local_part <$local_part> \
25 errstr <$event_data> \
28 local_part <$local_part> \
38 local_part <$local_part> \
41 router <$router_name> \
42 transport <$transport_name>
45 accept condition = ${if eq {fail} {${listextract{2}{$event_name}}}}
48 accept condition = ${if eq {$event_name}{msg:complete}}
49 logwrite = . finished: $message_exim_id
51 accept condition = ${if eq {$domain}{expansionfail}}
52 logwrite = $this_expansion_will_fail
54 accept condition = ${if eq {$event_name}{msg:delivery}}
55 acl = ev_msg_log delivery "confirmation <$event_data>"
57 accept condition = ${if eq {$event_name}{msg:host:defer}}
58 acl = ev_msg_log "host deferral" \
59 "errno <$event_defer_errno> errstr <$event_data>"
61 accept condition = ${if eq {$event_name}{msg:rcpt:defer}}
62 set acl_m_ev_lkup = ${eval:$event_defer_errno & 0xff}
63 set acl_m_ev_lkup = ${if = {$acl_m_ev_lkup}{65} {A} \
64 { ${if = {$acl_m_ev_lkup}{77} {MX} \
66 set acl_m_ev_code = 4${eval:$event_defer_errno >>8}
67 acl = ev_msg_log "rcpt deferral" \
68 "err <$event_defer_errno>:<$acl_m_ev_lkup:$acl_m_ev_code> \
71 accept condition = ${if eq {$event_name}{msg:rcpt:host:defer}}
72 accept logwrite = UNEXPECTED $event_name
75 warn logwrite = event $event_name
76 accept condition = ${if eq {tcp} {${listextract{1}{$event_name}}}}
78 accept condition = ${if eq {smtp} {${listextract{1}{$event_name}}}}
80 accept condition = ${if eq {msg} {${listextract{1}{$event_name}}}}
82 accept logwrite = UNEXPECTED $event_name