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