summaryrefslogtreecommitdiff
path: root/test/scripts/0000-Basic/0623
blob: 315bc4914f35bb8d9c73ed490b1da6b63d00c0d8 (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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
# PIPELINING of QUIT
need_ipv4
#
# Baseline: no error.  Check the QUIT arrived befre we ack message-data
server PORT_D
220 Server ready
EHLO
250-hi there
250-PIPELINING
250 OK
MAIL FROM
250 OK mail
RCPT TO
250 OK rcpt
DATA
300 go ahead
.
QUIT
250 OK message data
221 Closing connection
****
exim -odi good@test.ex
****
#
# QUIT-pipeliining should not be done when PIPELINING not advertised
server PORT_D
220 Server ready
EHLO
250-hi there
250 OK
MAIL FROM
250 OK mail
RCPT TO
250 OK rcpt
DATA
300 go ahead
.
250 OK message data
*sleep 1
<<
QUIT
221 Closing connection
****
exim -odi nopipe@test.ex
****
#
# Temp-error response to message-data
# Check specifically for a close, and no repeated command
# Also check Exim's list of commands sent
server PORT_D
220 Server ready
EHLO
250-hi there
250-PIPELINING
250 OK
MAIL FROM
250 OK mail
RCPT TO
250 OK rcpt
DATA
300 go ahead
.
QUIT
451 Service not available
221 Closing connection
*eof
****
exim -d-all+transport -odi tempreject@test.ex
****
exim -Mrm $msg1
****
#
# Perm-error response to message-data
server PORT_D
220 Server ready
EHLO
250-hi there
250-PIPELINING
250 OK
MAIL FROM
250 OK mail
RCPT TO
250 OK rcpt
DATA
300 go ahead
.
QUIT
550 content rejected
221 Closing connection
*eof
****
exim -d-all+transport -odi permreject@test.ex
****
#
# Channel-close response to message-data
server PORT_D
220 Server ready
EHLO
250-hi there
250-PIPELINING
250 OK
MAIL FROM
250 OK mail
RCPT TO
250 OK rcpt
DATA
300 go ahead
.
>*eof
****
exim -d-all+transport -odi permreject@test.ex
****
exim -Mrm $msg1
****