ChangeLog updates for the security issues.
[exim.git] / test / scripts / 0000-Basic / 0556
CommitLineData
a14e5636
PH
1# SMTP synchronization checks before sending responses
2need_ipv4
3#
4exim -DSERVER=server -DACL_PREDATA=check_predata -bd -oX PORT_D
5****
6# The pause (+++ 1) in the middle of this is so that there is no pending
7# input when DATA is received, but we start sending the data itself too
8# early (the server will be waiting 2 seconds in the predata ACL).
9#
d6bb4dcb 10client -t5 127.0.0.1 PORT_D
a14e5636
PH
11??? 220
12ehlo abcd
13??? 250-
14??? 250-
15??? 250-
16??? 250
17rset\r\nmail from:<userx@test.ex>\r\nrcpt to:<userx@test.ex>\r\ndata
18+++ 1
19Start: sent early ...
20??? 250
21??? 250
22??? 250
23??? 554
24****
25sleep 1
26killdaemon
27# This time turn off pipelining to check MAIL and RCPT
28exim -DSERVER=server -DACL_MAIL=check_mail -DACL_RCPT=check_rcpt -DPAH= \
29 -bd -oX PORT_D
30****
31client -t5 127.0.0.1 PORT_D
32??? 220
33ehlo abcd
34??? 250-
35??? 250-
36??? 250
37mail from:<userx@test.ex>
38+++ 1
39rcpt to:<userx@test.ex>
40??? 554
41****
42client -t5 127.0.0.1 PORT_D
43??? 220
44ehlo abcd
45??? 250-
46??? 250-
47??? 250
48mail from:<userx@test.ex>
49??? 250
50rcpt to:<userx@test.ex>
51+++ 1
52data
53??? 554
54****
55killdaemon