summaryrefslogtreecommitdiff
path: root/test/stdout/0227
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2019-08-03 22:22:58 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2019-08-03 22:22:58 +0100
commit7b564712ff3a235ce9ef42ffa4036023057f295e (patch)
tree313fbb34be2de12f2ac2813a37b1782e1ccbebae /test/stdout/0227
parent6d95688d6a272297a6a47f2fd2695cc8e5b8b730 (diff)
Callouts: filter smtp response for bad chars before using in our smtp response. Bug 2409
Diffstat (limited to 'test/stdout/0227')
-rw-r--r--test/stdout/022731
1 files changed, 31 insertions, 0 deletions
diff --git a/test/stdout/0227 b/test/stdout/0227
index 9ee7e9f54..ff5f1359b 100644
--- a/test/stdout/0227
+++ b/test/stdout/0227
@@ -38,6 +38,10 @@
221 myhost.test.ex closing connection
220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
250 OK
+550 Sender verify failed
+221 myhost.test.ex closing connection
+220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
+250 OK
550-Callout verification failed:
550 550 Recipient not liked
221 myhost.test.ex closing connection
@@ -49,6 +53,11 @@
221 myhost.test.ex closing connection
220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
250 OK
+550-Callout verification failed:
+550 550 Recipient not liked, with bad char:(truncated)
+221 myhost.test.ex closing connection
+220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
+250 OK
451 Could not complete recipient verify callout
221 myhost.test.ex closing connection
220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
@@ -192,6 +201,16 @@ Connection request from [127.0.0.1]
EHLO myhost.test.ex
250 OK
MAIL FROM:<>
+550 Bad-char error for <> topbitchar:€ÿÿ
+QUIT
+250 OK
+End of script
+Listening on port 1224 ...
+Connection request from [127.0.0.1]
+220 Server ready
+EHLO myhost.test.ex
+250 OK
+MAIL FROM:<>
250 OK
RCPT TO:<z@remote.domain>
550 Recipient not liked
@@ -218,6 +237,18 @@ EHLO myhost.test.ex
250 OK
MAIL FROM:<>
250 OK
+RCPT TO:<z@remote.domain>
+550 Recipient not liked, with bad char:€ÿÿ
+QUIT
+250 OK
+End of script
+Listening on port 1224 ...
+Connection request from [127.0.0.1]
+220 Server ready
+EHLO myhost.test.ex
+250 OK
+MAIL FROM:<>
+250 OK
RCPT TO:<abcd@x.y.z>
550 Not liked
QUIT