git://git.exim.org
/
users
/
heiko
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pass proxy addresses/ports to continued trasnports. Bug 2710
[users/heiko/exim.git]
/
test
/
confs
/
4020
diff --git
a/test/confs/4020
b/test/confs/4020
index 05c95a571510bb2992f7da92e52eb50110fb3eb1..dc0db460e9b7a48d5333942b544ef2f5de2f29e4 100644
(file)
--- 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
.include DIR/aux-var/std_conf_prefix
primary_hostname = myhost.test.ex
+queue_run_in_order
# ----- Main settings -----
# ----- Main settings -----
@@
-14,6
+15,13
@@
domainlist local_domains = test.ex : *.test.ex
acl_smtp_rcpt = accept
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
# ----- Routers -----
begin routers
@@
-35,9
+43,10
@@
my_smtp:
driver = smtp
interface = HOSTIPV4
port = PORT_S
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>
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
# End