summaryrefslogtreecommitdiff
path: root/test/scripts/4028-GnuTLS-socks
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2015-03-15 12:32:11 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2015-03-15 12:34:33 +0000
commit7eb6c37c5084760c1d1469bd4be652b479a8df55 (patch)
tree9d82e23bffa7a8970a8ba21c72a635414c69fa9b /test/scripts/4028-GnuTLS-socks
parent7c9f0469cb39055fff4096d1cb17ed72429c6b6c (diff)
SOCKS: as a client, talk SMTP via a socks5 proxy. Bug 1590
Diffstat (limited to 'test/scripts/4028-GnuTLS-socks')
-rw-r--r--test/scripts/4028-GnuTLS-socks/402830
-rw-r--r--test/scripts/4028-GnuTLS-socks/REQUIRES4
2 files changed, 34 insertions, 0 deletions
diff --git a/test/scripts/4028-GnuTLS-socks/4028 b/test/scripts/4028-GnuTLS-socks/4028
new file mode 100644
index 000000000..1692beaa8
--- /dev/null
+++ b/test/scripts/4028-GnuTLS-socks/4028
@@ -0,0 +1,30 @@
+# socks5 proxy on smtp/starttls transport
+#
+munge loopback
+gnutls
+#
+# a TLS-capable server to receive the mail
+exim -DSERVER=server -bd -oX PORT_D
+****
+#
+#
+# THIS TEST ASSUMES we have a socks proxy
+# running and listening on 1080
+#
+# a mail sender
+exim -odi -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 sent
+
+via null-auth proxy
+.
+quit
+****
+#
+#
+killdaemon
+no_msglog_check
diff --git a/test/scripts/4028-GnuTLS-socks/REQUIRES b/test/scripts/4028-GnuTLS-socks/REQUIRES
new file mode 100644
index 000000000..0b41941ac
--- /dev/null
+++ b/test/scripts/4028-GnuTLS-socks/REQUIRES
@@ -0,0 +1,4 @@
+support Experimental_SOCKS
+support GnuTLS
+running IPv4
+running socks