diff options
author | Phil Pennock <pdp@exim.org> | 2012-05-13 04:09:25 -0400 |
---|---|---|
committer | Phil Pennock <pdp@exim.org> | 2012-05-13 04:09:25 -0400 |
commit | 12dd53c7a900b323936790a9e6fc4ae617920968 (patch) | |
tree | d32e304abf66e3151c3e1e6e31ad950684759a67 /test/scripts | |
parent | 6a6084f8fd44dc65dce40536198ec5d282deb126 (diff) |
Fixed headers_only on smtp transports.
Was not sending trailing dot.
Added test case to catch this.
fixes bug 1246.
Diffstat (limited to 'test/scripts')
-rw-r--r-- | test/scripts/0000-Basic/0565 | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/test/scripts/0000-Basic/0565 b/test/scripts/0000-Basic/0565 new file mode 100644 index 000000000..859623378 --- /dev/null +++ b/test/scripts/0000-Basic/0565 @@ -0,0 +1,58 @@ +# headers_only in SMTP +need_ipv4 +server -noipv6 PORT_S +220 ESMTP +EHLO +250-OK +250 HELP +MAIL FROM: +250 Sender OK +RCPT TO: +250 Receiver OK +DATA +354 Send it +. +250 OK (wizzle) +QUIT +221 bye +**** +exim -odf -bs +mail from:<postmaster@y> +rcpt to:<x@y> +data +From: postmaster@y +To: x@y +Subject: first test message + +This is the FIRST message body. +. +quit +**** +server -noipv6 PORT_S +220 ESMTP +EHLO +250-OK +250 HELP +MAIL FROM: +250 Sender OK +RCPT TO: +250 Receiver OK +DATA +354 Send it +. +250 OK (wizzle) +QUIT +221 bye +**** +exim -odf -bs +mail from:<postmaster@y> +rcpt to:<x@test.ex> +data +From: postmaster@y +To: x@y +Subject: second test message + +This is the SECOND message body. +. +quit +**** |