diff options
author | Heiko Schlittermann (HS12-RIPE) <hs@schlittermann.de> | 2020-02-14 11:20:39 +0100 |
---|---|---|
committer | Heiko Schlittermann (HS12-RIPE) <hs@schlittermann.de> | 2020-02-18 20:38:00 +0100 |
commit | 9555de77d7a57e65fff45a686f2430f46dbd38f5 (patch) | |
tree | 36c15dd654c88c98dde7a82e60b1ccc276c37b39 /test/confs | |
parent | ff9663026d1a318d385730c4a2c3e85508b4b00b (diff) |
Testsuite: add test for hanging callout connections
Fixed in bd95ffc2ba87fbd3c752df17bc8fd9c01586d45a
Diffstat (limited to 'test/confs')
-rw-r--r-- | test/confs/2040 | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/test/confs/2040 b/test/confs/2040 new file mode 100644 index 000000000..fcb468072 --- /dev/null +++ b/test/confs/2040 @@ -0,0 +1,46 @@ +# Exim test configuration 2040 +# The test uses the same config for two Exim processes +# +# ,------ callout -------. +# | | +# | .----------. | +# `--> PORT_S | | +# client-gnutls --> PORT_D Exim |----' +# `----------' + +.include DIR/aux-var/tls_conf_prefix + +primary_hostname = myhost.test.ex + +# ----- Main settings ----- + +tls_advertise_hosts = * + +tls_certificate = DIR/aux-fixed/cert1 +tls_privatekey = DIR/aux-fixed/cert1 + +acl_smtp_rcpt = acl_check_rcpt + +begin acl +acl_check_rcpt: + + accept condition = ${if eq{$received_port}{PORT_S}} + message = Accepted (rcpt on backend) + + accept verify = recipient/callout=no_cache + message = Accepted (rcpt via callout) + +begin routers +catchall: + driver = accept + transport = local_smtp + +begin transports +local_smtp: + driver = smtp + port = PORT_S + hosts = 127.0.0.1 + hosts_require_tls = * + allow_localhost + +# End |