X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/d1af83598f7d6b32516a11bb28e569d592a05c48..4e871f9b28dff4cacfd012aede1d092cc8cfbd36:/test/confs/4020 diff --git a/test/confs/4020 b/test/confs/4020 index d37b0d8fc..dc0db460e 100644 --- a/test/confs/4020 +++ b/test/confs/4020 @@ -2,15 +2,10 @@ OPT = -exim_path = EXIM_PATH -keep_environment = -hide host_lookup_order = bydns +.include DIR/aux-var/std_conf_prefix + primary_hostname = myhost.test.ex -spool_directory = DIR/spool -log_file_path = DIR/spool/log/%slog -gecos_pattern = "" -gecos_name = CALLER_NAME -tls_advertise_hosts = +queue_run_in_order # ----- Main settings ----- @@ -20,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 @@ -38,11 +40,13 @@ my_main_router: begin transports my_smtp: - driver = smtp - interface = HOSTIPV4 - port = PORT_S - hide socks_proxy = 127.0.0.1 port=PORT_D OPT - debug_print = transport_name <$transport_name> + 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