summaryrefslogtreecommitdiff
path: root/test/scripts/0000-Basic
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2023-02-25 15:50:58 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2023-02-25 15:59:34 +0000
commit7c60296900bdff369ffd2bf54eecfe6097b997a4 (patch)
tree8d98943241cdfb2ebf519a98706eda294887325b /test/scripts/0000-Basic
parente603a342100ed93b09a152b6150e65f77abe5b0d (diff)
Linewrap long lines in bounce bodies. Bug 2979
Diffstat (limited to 'test/scripts/0000-Basic')
-rw-r--r--test/scripts/0000-Basic/063537
1 files changed, 37 insertions, 0 deletions
diff --git a/test/scripts/0000-Basic/0635 b/test/scripts/0000-Basic/0635
new file mode 100644
index 000000000..314c84ebb
--- /dev/null
+++ b/test/scripts/0000-Basic/0635
@@ -0,0 +1,37 @@
+# bounce from long SMTP response
+#
+server PORT_S 2
+220 Hi
+EHLO
+250 Yo
+MAIL FROM
+250 ok
+RCPT TO
+550-no mate\x0d\x0a550-123456789 100 123456789 a really long line to blow the limits 123456789 123456789 123456789 123456789 200 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 300 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 400 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 500 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 600 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 700 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 800 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 900 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 1000 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 1100 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789\x0d\x0a550 go away
+QUIT
+250 bye
+*eof
+220 Hi
+EHLO
+250 Yo
+MAIL FROM:<>
+250 ok
+RCPT TO
+250 acceptable
+DATA
+354 go ahead
+.
+250 got that
+QUIT
+250 bye
+****
+#
+exim -odi fred@undeliverable.org
+Subject: test
+
+msg with ok lines
+00000000001111111
+01234567890123456
+****
+#
+no_msglog_check