# Exim test configuration 4020 OPT = .include DIR/aux-var/std_conf_prefix primary_hostname = myhost.test.ex queue_run_in_order # ----- Main settings ----- log_selector = +proxy +outgoing_port domainlist local_domains = test.ex : *.test.ex acl_smtp_rcpt = accept # ----- ACL ----- begin acl logger: accept logwrite = pla $proxy_local_address plp $proxy_local_port pea $proxy_external_address pep $proxy_external_port # ----- Routers ----- begin routers my_main_router: driver = manualroute route_list = * 127.0.0.1 self = send transport = my_smtp debug_print = router_name <$router_name> no_more # ----- Transports ----- begin transports my_smtp: driver = smtp interface = HOSTIPV4 port = PORT_S hide socks_proxy = HOSTIPV4 port=PORT_D OPT hosts_try_fastopen = ${if eq {$local_part}{user_tfo} {*}} debug_print = transport_name <$transport_name> event_action = ${if eq {smtp:connect}{$event_name} {${acl {logger}}} {}} # End