summaryrefslogtreecommitdiff
path: root/test/scripts/4020-socks
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2021-04-07 21:34:42 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2021-04-07 21:34:42 +0100
commit2081aac24b67f3f3f34389aadc06354abcad0cad (patch)
tree7a44809cf11d053d00d10741b4f46dadfb92d464 /test/scripts/4020-socks
parentd901e231acd1917d24b688cbd7823efc2bed45c4 (diff)
Pass proxy addresses/ports to continued trasnports. Bug 2710
Diffstat (limited to 'test/scripts/4020-socks')
-rw-r--r--test/scripts/4020-socks/402168
1 files changed, 68 insertions, 0 deletions
diff --git a/test/scripts/4020-socks/4021 b/test/scripts/4020-socks/4021
new file mode 100644
index 000000000..d2a4dc7ce
--- /dev/null
+++ b/test/scripts/4020-socks/4021
@@ -0,0 +1,68 @@
+# socks5 proxy on smtp transport, continued-connection
+#
+munge loopback
+#
+exim -odq -bs -DOPT=
+ehlo test.ex
+mail from:<>
+rcpt to:<userx@test.ex>
+data
+Date: Fri, 17 Dec 2004 14:35:01 +0100
+Subject: message should be queued
+
+Queued body
+.
+quit
+****
+exim -odq -bs -DOPT=
+ehlo test.ex
+mail from:<>
+rcpt to:<usery@test.ex>
+data
+Date: Fri, 17 Dec 2004 14:35:01 +0100
+Subject: message should be queud
+
+via null-auth proxy
+.
+quit
+****
+#
+#
+#
+# auth: null
+server PORT_D
+<<\x05\x01\x00
+>>\x05\x00
+<<\x05\x01\x00\x01\x7f\x00\x00\x01\x04\xc8
+>>\x05\x00\x00\x01\x7f\x00\x00\x01\xbe\xef
+220 Connected OK
+EHLO
+250-server id
+250
+MAIL FROM
+250 mail cmd ok
+RCPT TO
+250 rcpt cmd ok
+DATA
+354 hit me
+.
+250 message accepted OK
+MAIL FROM
+250 second mail cmd ok
+RCPT TO
+250 second rcpt cmd ok
+DATA
+354 hit me one more time
+.
+250 second message accepted OK
+QUIT
+220 bye
+****
+#
+#
+#
+exim -DOPT= -qq
+****
+#
+#
+# Ends