git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Testsuite: Use .editorconfig for test/runtest
[exim.git]
/
test
/
scripts
/
0000-Basic
/
0901
diff --git
a/test/scripts/0000-Basic/0901
b/test/scripts/0000-Basic/0901
index 7b0172a5984b1e297473879a90fd1c684f2dce8f..2157e61a87a061e31d39f2c4e9190eaf2dabe93e 100644
(file)
--- a/
test/scripts/0000-Basic/0901
+++ b/
test/scripts/0000-Basic/0901
@@
-12,17
+12,23
@@
MAIL FROM
250 OK
RCPT TO
250 OK
250 OK
RCPT TO
250 OK
-BDAT 32
3
LAST
-*data 32
3
+BDAT 32
9
LAST
+*data 32
9
250 OK
QUIT
225 OK
*eof
****
250 OK
QUIT
225 OK
*eof
****
-exim -odf a@test.ex
+sudo exim -odf -bS
+EHLO test
+MAIL FROM:<sender@source.dom>
+RCPT TO:<a@test.ex>
+DATA
Subject: foo
data
Subject: foo
data
+.
+QUIT
****
#
# Error case: server wrongly expected more data, client gets timeout for data-ack
****
#
# Error case: server wrongly expected more data, client gets timeout for data-ack
@@
-35,16
+41,22
@@
MAIL FROM
250 good mail cmd
RCPT TO
250 acceptable rcpt cmd
250 good mail cmd
RCPT TO
250 acceptable rcpt cmd
-BDAT 32
3
LAST
-*data 3
24
+BDAT 32
9
LAST
+*data 3
30
250 OK got that data
QUIT
225 OK quitting
****
250 OK got that data
QUIT
225 OK quitting
****
-exim -odf b@test.ex
+sudo exim -odf -bS
+EHLO test
+MAIL FROM:<sender@source.dom>
+RCPT TO:<b@test.ex>
+DATA
Subject: foo
data
Subject: foo
data
+.
+QUIT
****
#
# Error case: server wrongly expected less data
****
#
# Error case: server wrongly expected less data
@@
-59,16
+71,22
@@
MAIL FROM
250 OK
RCPT TO
250 OK
250 OK
RCPT TO
250 OK
-BDAT 32
3
LAST
-*data 32
2
+BDAT 32
9
LAST
+*data 32
8
250 OK
QUIT
225 OK
****
250 OK
QUIT
225 OK
****
-exim -odf c@test.ex
+sudo exim -odf -bS
+EHLO test
+MAIL FROM:<sender@source.dom>
+RCPT TO:<c@test.ex>
+DATA
Subject: foo
data
Subject: foo
data
+.
+QUIT
****
#
# server rejects BDAT cmd
****
#
# server rejects BDAT cmd
@@
-81,16
+99,22
@@
MAIL FROM
250 OK
RCPT TO
250 OK
250 OK
RCPT TO
250 OK
-BDAT 32
3
LAST
-*data 32
3
+BDAT 32
9
LAST
+*data 32
9
500 oops
QUIT
225 OK
****
500 oops
QUIT
225 OK
****
-exim -odf d@test.ex
+sudo exim -odf -bS
+EHLO test
+MAIL FROM:<sender@source.dom>
+RCPT TO:<d@test.ex>
+DATA
Subject: foo
data
Subject: foo
data
+.
+QUIT
****
#
# server tmp-rejects BDAT cmd
****
#
# server tmp-rejects BDAT cmd
@@
-103,16
+127,22
@@
MAIL FROM
250 OK
RCPT TO
250 OK
250 OK
RCPT TO
250 OK
-BDAT 32
3
LAST
-*data 32
3
+BDAT 32
9
LAST
+*data 32
9
400 not right now
QUIT
225 OK
****
400 not right now
QUIT
225 OK
****
-exim -odf e@test.ex
+sudo exim -odf -bS
+EHLO test
+MAIL FROM:<sender@source.dom>
+RCPT TO:<e@test.ex>
+DATA
Subject: foo
data
Subject: foo
data
+.
+QUIT
****
#
#
****
#
#
@@
-129,8
+159,8
@@
EHLO
250 CHUNKING
MAIL FROM
RCPT TO
250 CHUNKING
MAIL FROM
RCPT TO
-BDAT 32
3
LAST
-*data 32
3
+BDAT 32
9
LAST
+*data 32
9
250 OK mail
250 OK rcpt
250 OK bdat
250 OK mail
250 OK rcpt
250 OK bdat
@@
-138,10
+168,16
@@
QUIT
225 OK
*eof
****
225 OK
*eof
****
-exim -odf p@test.ex
+sudo exim -odf -bS
+EHLO test
+MAIL FROM:<sender@source.dom>
+RCPT TO:<p@test.ex>
+DATA
Subject: foo
data
Subject: foo
data
+.
+QUIT
****
#
# Error case: server wrongly expected more data, client gets timeout for data-ack
****
#
# Error case: server wrongly expected more data, client gets timeout for data-ack
@@
-153,14
+189,20
@@
EHLO
250 CHUNKING
MAIL FROM
RCPT TO
250 CHUNKING
MAIL FROM
RCPT TO
-BDAT 32
3
LAST
-*data 3
24
+BDAT 32
9
LAST
+*data 3
30
250 good mail cmd
****
250 good mail cmd
****
-exim -odf q@test.ex
+sudo exim -odf -bS
+EHLO test
+MAIL FROM:<sender@source.dom>
+RCPT TO:<q@test.ex>
+DATA
Subject: foo
data
Subject: foo
data
+.
+QUIT
****
#
# Error case: server wrongly expected less data
****
#
# Error case: server wrongly expected less data
@@
-174,18
+216,24
@@
EHLO
250 CHUNKING
MAIL FROM
RCPT TO
250 CHUNKING
MAIL FROM
RCPT TO
-BDAT 32
3
LAST
-*data 32
2
+BDAT 32
9
LAST
+*data 32
8
250 OK mail
250 OK rcpt
250 OK bdat
QUIT
225 OK
****
250 OK mail
250 OK rcpt
250 OK bdat
QUIT
225 OK
****
-exim -odf r@test.ex
+sudo exim -odf -bS
+EHLO test
+MAIL FROM:<sender@source.dom>
+RCPT TO:<r@test.ex>
+DATA
Subject: foo
data
Subject: foo
data
+.
+QUIT
****
#
# server rejects MAIL cmd
****
#
# server rejects MAIL cmd
@@
-199,18
+247,24
@@
EHLO
250 CHUNKING
MAIL FROM
RCPT TO
250 CHUNKING
MAIL FROM
RCPT TO
-BDAT 32
3
LAST
-*data 32
3
+BDAT 32
9
LAST
+*data 32
9
550 unacceptable mail-from
550 rcpt ungood lacking mail-from
500 bdat ungood lacking mail-from
QUIT
225 OK
****
550 unacceptable mail-from
550 rcpt ungood lacking mail-from
500 bdat ungood lacking mail-from
QUIT
225 OK
****
-exim -odf s@test.ex
+sudo exim -odf -bS
+EHLO test
+MAIL FROM:<sender@source.dom>
+RCPT TO:<s@test.ex>
+DATA
Subject: foo
data
Subject: foo
data
+.
+QUIT
****
#
# server tmp-rejects MAIL cmd
****
#
# server tmp-rejects MAIL cmd
@@
-222,18
+276,24
@@
EHLO
250 CHUNKING
MAIL FROM
RCPT TO
250 CHUNKING
MAIL FROM
RCPT TO
-BDAT 3
24
LAST
-*data 3
24
+BDAT 3
30
LAST
+*data 3
30
450 greylisted mail-from
550 rcpt ungood lacking mail-from
500 bdat ungood lacking mail-from
QUIT
225 OK
****
450 greylisted mail-from
550 rcpt ungood lacking mail-from
500 bdat ungood lacking mail-from
QUIT
225 OK
****
-exim -odf s1@test.ex
+sudo exim -odf -bS
+EHLO test
+MAIL FROM:<sender@source.dom>
+RCPT TO:<s1@test.ex>
+DATA
Subject: foo
data
Subject: foo
data
+.
+QUIT
****
#
# server rejects RCPT cmd
****
#
# server rejects RCPT cmd
@@
-245,18
+305,24
@@
EHLO
250 CHUNKING
MAIL FROM
RCPT TO
250 CHUNKING
MAIL FROM
RCPT TO
-BDAT 32
3
LAST
-*data 32
3
+BDAT 32
9
LAST
+*data 32
9
250 OK mail
550 no such recipient
500 oops bdat
QUIT
225 OK
****
250 OK mail
550 no such recipient
500 oops bdat
QUIT
225 OK
****
-exim -odf t@test.ex
+sudo exim -odf -bS
+EHLO test
+MAIL FROM:<sender@source.dom>
+RCPT TO:<t@test.ex>
+DATA
Subject: foo
data
Subject: foo
data
+.
+QUIT
****
#
# server rejects BDAT cmd
****
#
# server rejects BDAT cmd
@@
-268,18
+334,24
@@
EHLO
250 CHUNKING
MAIL FROM
RCPT TO
250 CHUNKING
MAIL FROM
RCPT TO
-BDAT 32
3
LAST
-*data 32
3
+BDAT 32
9
LAST
+*data 32
9
250 OK mail
250 OK rcpt
500 oops bdat
QUIT
225 OK
****
250 OK mail
250 OK rcpt
500 oops bdat
QUIT
225 OK
****
-exim -odf u@test.ex
+sudo exim -odf -bS
+EHLO test
+MAIL FROM:<sender@source.dom>
+RCPT TO:<u@test.ex>
+DATA
Subject: foo
data
Subject: foo
data
+.
+QUIT
****
#
# server tmp-rejects BDAT cmd
****
#
# server tmp-rejects BDAT cmd
@@
-291,18
+363,24
@@
EHLO
250 CHUNKING
MAIL FROM
RCPT TO
250 CHUNKING
MAIL FROM
RCPT TO
-BDAT 32
3
LAST
-*data 32
3
+BDAT 32
9
LAST
+*data 32
9
250 OK mail
250 OK rcpt
400 not right now bdat
QUIT
225 OK
****
250 OK mail
250 OK rcpt
400 not right now bdat
QUIT
225 OK
****
-exim -odf v@test.ex
+sudo exim -odf -bS
+EHLO test
+MAIL FROM:<sender@source.dom>
+RCPT TO:<v@test.ex>
+DATA
Subject: foo
data
Subject: foo
data
+.
+QUIT
****
#
#
****
#
#