debian experimental exim-daemon-heavy config
[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-
5b456975 16??? 250-
a14e5636
PH
17??? 250
18rset\r\nmail from:<userx@test.ex>\r\nrcpt to:<userx@test.ex>\r\ndata
19+++ 1
20Start: sent early ...
21??? 250
22??? 250
23??? 250
24??? 554
25****
26sleep 1
27killdaemon
28# This time turn off pipelining to check MAIL and RCPT
29exim -DSERVER=server -DACL_MAIL=check_mail -DACL_RCPT=check_rcpt -DPAH= \
30 -bd -oX PORT_D
31****
32client -t5 127.0.0.1 PORT_D
33??? 220
34ehlo abcd
35??? 250-
36??? 250-
5b456975 37??? 250-
a14e5636
PH
38??? 250
39mail from:<userx@test.ex>
40+++ 1
41rcpt to:<userx@test.ex>
42??? 554
43****
44client -t5 127.0.0.1 PORT_D
45??? 220
46ehlo abcd
47??? 250-
48??? 250-
5b456975 49??? 250-
a14e5636
PH
50??? 250
51mail from:<userx@test.ex>
52??? 250
53rcpt to:<userx@test.ex>
54+++ 1
55data
56??? 554
57****
58killdaemon