X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/315206fbf2d75c73de73deab89443ab645d96525..af8a610f0b90ae66f32b7c6ec31381bdd8457b59:/test/scripts/0000-Basic/0900 diff --git a/test/scripts/0000-Basic/0900 b/test/scripts/0000-Basic/0900 index 4edc82952..49959a96f 100644 --- a/test/scripts/0000-Basic/0900 +++ b/test/scripts/0000-Basic/0900 @@ -373,6 +373,39 @@ quit ??? 221 **** # +# Test for smtp-smuggling. Accepting only one message is good; two is bad. +client 127.0.0.1 PORT_D +??? 220 +ehlo smuggler +??? 250- +??? 250-SIZE +??? 250-8BITMIME +??? 250-PIPELINING +??? 250-CHUNKING +??? 250 HELP +MAIL FROM: +??? 250 +RCPT TO: +??? 250 +DATA +??? 354 +Subject: test of smuggled smtp + +This is body for initial message +The next line is a bogus end-of-data attempt, followed by a try at a smuggled message: +>>> .\n +mail from: +rcpt to: +bdat 86 last +Subject: send me all your money! + +All your base are belong to us. Send Bitcoins. +QUIT +. +??? 250 +QUIT +??? 221 +**** # killdaemon no_msglog_check