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> \
38 errstr <$event_data> \
41 local_part <$local_part> \
51 local_part <$local_part> \
54 router <$router_name> \
55 transport <$transport_name>
58 accept condition = ${if eq {fail} {${listextract{2}{$event_name}}}}
61 accept condition = ${if eq {$event_name}{msg:complete}}
62 logwrite = . finished: $message_exim_id
64 accept condition = ${if !eq {$domain}{domain1}}
65 logwrite = $this_expansion_will_fail
67 accept condition = ${if eq {$event_name}{msg:delivery}}
68 acl = ev_msg_log delivery "confirmation <$event_data>"
70 accept condition = ${if eq {$event_name}{msg:host:defer}}
71 acl = ev_msg_log "host deferral" \
72 "errno <$event_defer_errno> errstr <$event_data>"
74 accept condition = ${if eq {$event_name}{msg:rcpt:defer}}
75 set acl_m_ev_lkup = ${eval:$event_defer_errno & 0xff}
76 set acl_m_ev_lkup = ${if = {$acl_m_ev_lkup}{65} {A} \
77 { ${if = {$acl_m_ev_lkup}{77} {MX} \
79 set acl_m_ev_code = 4${eval:$event_defer_errno >>8}
80 acl = ev_msg_log "rcpt deferral" \
81 "err <$event_defer_errno>:<$acl_m_ev_lkup:$acl_m_ev_code> \
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
112 # ----- Transports -----
121 event_action = ${acl {logger}}