1 # Exim test configuration 5700
3 .include DIR/aux-var/std_conf_prefix
6 # ----- Main settings -----
11 event_action = ${acl {logger}}
19 accept condition = ${if eq {$event_name}{tcp:connect}}
20 logwrite = . [$host_address]:$host_port
21 accept condition = ${if eq {$event_name}{tcp:close}}
22 logwrite = . [$sending_ip_address] -> \
23 [$host_address]:$host_port
28 logwrite = . [$sending_ip_address] -> \
29 [$host_address]:$host_port
30 logwrite = . banner <$event_data>
33 accept condition = ${if eq {$event_name}{msg:fail:delivery}}
35 refused by fdqn <$host> \
36 local_part <$local_part> \
40 local_part <$local_part> \
50 local_part <$local_part> \
53 router <$router_name> \
54 transport <$transport_name>
57 accept condition = ${if eq {fail} {${listextract{2}{$event_name}}}}
60 accept condition = ${if eq {$event_name}{msg:complete}}
61 logwrite = . finished: $message_exim_id
63 accept condition = ${if !eq {$domain}{domain1}}
64 logwrite = $this_expansion_will_fail
66 accept condition = ${if eq {$event_name}{msg:delivery}}
67 acl = ev_msg_log delivery "confirmation <$event_data>"
69 accept condition = ${if eq {$event_name}{msg:host:defer}}
70 acl = ev_msg_log "host deferral" \
71 "errno <$event_defer_errno> errstr <$event_data>"
73 accept condition = ${if eq {$event_name}{msg:rcpt:defer}}
74 set acl_m_ev_lkup = ${eval:$event_defer_errno & 0xff}
75 set acl_m_ev_lkup = ${if = {$acl_m_ev_lkup}{65} {A} \
76 { ${if = {$acl_m_ev_lkup}{77} {MX} \
78 set acl_m_ev_code = 4${eval:$event_defer_errno >>8}
79 acl = ev_msg_log "rcpt deferral" \
80 "err <$event_defer_errno>:<$acl_m_ev_lkup:$acl_m_ev_code> \
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
111 # ----- Transports -----
120 event_action = ${acl {logger}}