diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2016-02-02 21:49:02 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2016-04-06 21:22:58 +0100 |
commit | 9094b84b4cce2eb862394b752eda93124d96d655 (patch) | |
tree | 038d3a2cc415482173153a3fb2626157743fd82f /test | |
parent | 8d042305ef14df8cabcf7ae33767d019741dd59f (diff) |
Pass on SIZE to cutthrough connection
Diffstat (limited to 'test')
l--------- | test/confs/5403 | 1 | ||||
-rw-r--r-- | test/log/5403 | 4 | ||||
-rw-r--r-- | test/scripts/5400-cutthrough/5403 | 30 | ||||
-rw-r--r-- | test/stderr/0143 | 2 | ||||
-rw-r--r-- | test/stderr/0388 | 1 | ||||
-rw-r--r-- | test/stderr/0476 | 2 | ||||
-rw-r--r-- | test/stdout/5403 | 40 |
7 files changed, 77 insertions, 3 deletions
diff --git a/test/confs/5403 b/test/confs/5403 new file mode 120000 index 000000000..8f6811b7e --- /dev/null +++ b/test/confs/5403 @@ -0,0 +1 @@ +5400
\ No newline at end of file diff --git a/test/log/5403 b/test/log/5403 new file mode 100644 index 000000000..9505825f4 --- /dev/null +++ b/test/log/5403 @@ -0,0 +1,4 @@ +1999-03-02 09:44:33 rcpt for userx@domain.com +1999-03-02 09:44:33 10HmaX-0005vi-00 >> userx@domain.com R=all T=smtp H=127.0.0.1 [127.0.0.1] C="250 OK" +1999-03-02 09:44:33 10HmaX-0005vi-00 <= CALLER@myhost.test.ex U=CALLER P=local-esmtp S=sss for userx@domain.com +1999-03-02 09:44:33 10HmaX-0005vi-00 Completed diff --git a/test/scripts/5400-cutthrough/5403 b/test/scripts/5400-cutthrough/5403 new file mode 100644 index 000000000..dbe7ef3c5 --- /dev/null +++ b/test/scripts/5400-cutthrough/5403 @@ -0,0 +1,30 @@ +# cutthrough_delivery with MAIL SIZE= +need_ipv4 +munge loopback +# +server PORT_S +220 ESMTP +EHLO +250-OK +250 SIZE 65536 +MAIL FROM:<fred@myhost.test.ex> SIZE=1123 +250 Sender OK +RCPT TO: +250 Recipient OK +DATA +354 Send data +. +250 OK +QUIT +250 OK +**** +exim -bs +EHLO myhost.test.ex +MAIL FROM:<fred@myhost.test.ex> SIZE=99 +RCPT TO:<userx@domain.com> +DATA + +. +QUIT +**** +# End diff --git a/test/stderr/0143 b/test/stderr/0143 index cff499045..4be0d5227 100644 --- a/test/stderr/0143 +++ b/test/stderr/0143 @@ -24,7 +24,7 @@ Connecting to 127.0.0.1 [127.0.0.1]:1224 from ip4.ip4.ip4.ip4 ... connected 250-HELP 250 AUTH LOGIN not using PIPELINING -use_dsn=0 +not using DSN SMTP>> MAIL FROM:<CALLER@myhost.test.ex> SMTP<< 250 Sender OK SMTP>> RCPT TO:<userx@domain.com> diff --git a/test/stderr/0388 b/test/stderr/0388 index e9e8c7b5c..5f4680130 100644 --- a/test/stderr/0388 +++ b/test/stderr/0388 @@ -86,7 +86,6 @@ Connecting to 127.0.0.1 [127.0.0.1]:1224 ... connected 127.0.0.1 in hosts_avoid_esmtp? no (option unset) SMTP>> EHLO myhost.test.ex SMTP<< 250 OK -127.0.0.1 in hosts_avoid_pipelining? no (option unset) 127.0.0.1 in hosts_require_auth? no (option unset) SMTP>> MAIL FROM:<CALLER@myhost.test.ex> SMTP<< 250 OK diff --git a/test/stderr/0476 b/test/stderr/0476 index 919413c6b..baaa8356f 100644 --- a/test/stderr/0476 +++ b/test/stderr/0476 @@ -23,7 +23,7 @@ Connecting to 127.0.0.1 [127.0.0.1]:1224 ... connected 250-PIPELINING 250 OK using PIPELINING -use_dsn=0 +not using DSN SMTP>> MAIL FROM:<CALLER@the.local.host.name> SMTP>> RCPT TO:<userx@test.ex> SMTP>> DATA diff --git a/test/stdout/5403 b/test/stdout/5403 new file mode 100644 index 000000000..aa2bdcaab --- /dev/null +++ b/test/stdout/5403 @@ -0,0 +1,40 @@ +220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
+250-myhost.test.ex Hello CALLER at myhost.test.ex
+250-SIZE 52428800
+250-8BITMIME
+250-PIPELINING
+250 HELP
+250 OK
+250 Accepted
+354 Enter message, ending with "." on a line by itself
+250 OK id=10HmaX-0005vi-00
+221 myhost.test.ex closing connection
+ +******** SERVER ******** +Listening on port 1224 ... +Connection request from [ip4.ip4.ip4.ip4] +220 ESMTP +EHLO myhost.test.ex +250-OK +250 SIZE 65536 +MAIL FROM:<fred@myhost.test.ex> SIZE=ssss +250 Sender OK +RCPT TO:<userx@domain.com> +250 Recipient OK +DATA +354 Send data +Received: from CALLER (helo=myhost.test.ex) + by myhost.test.ex with local-esmtp (Exim x.yz) + (envelope-from <CALLER@myhost.test.ex>) + id 10HmaX-0005vi-00 + for userx@domain.com; Tue, 2 Mar 1999 09:44:33 +0000 +Message-Id: <E10HmaX-0005vi-00@myhost.test.ex> +From: CALLER_NAME <CALLER@myhost.test.ex> +Date: Tue, 2 Mar 1999 09:44:33 +0000 +X-hdr-rtr-new: +++ + +. +250 OK +QUIT +250 OK +End of script |