X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/d5b80e59458182b2d557a929a18cb8c70cd56b68..86e280ca236af22136ad21cc8da30ed82afb0a02:/test/confs/4020 diff --git a/test/confs/4020 b/test/confs/4020 index 05c95a571..6702dcd68 100644 --- a/test/confs/4020 +++ b/test/confs/4020 @@ -5,6 +5,7 @@ OPT = .include DIR/aux-var/std_conf_prefix primary_hostname = myhost.test.ex +queue_run_in_order # ----- Main settings ----- @@ -14,6 +15,13 @@ 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 @@ -35,9 +43,12 @@ my_smtp: driver = smtp interface = HOSTIPV4 port = PORT_S - hide socks_proxy = 127.0.0.1 port=PORT_D OPT + hide socks_proxy = HOSTIPV4 port=PORT_D OPT hosts_try_fastopen = ${if eq {$local_part}{user_tfo} {*}} debug_print = transport_name <$transport_name> +.ifdef _HAVE_EVENT + event_action = ${if eq {smtp:connect}{$event_name} {${acl {logger}}} {}} +.endif # End