summaryrefslogtreecommitdiff
path: root/test/scripts/0000-Basic/0215
blob: ab108bc8778a8b6fa9046e15712fe00fdad822a7 (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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
# LMTP over TCP/IP (with log_sender_on_delivery)
need_ipv4
#
server PORT_S
220 ESMTP
LHLO
250-OK
250 HELP
MAIL FROM:
250 Sender OK
RCPT TO:
250 Receiver OK
DATA
354 Send it
.
250 OK
QUIT
250 OK
****
exim -odi userx
This is a test message.
****
server PORT_S
220 ESMTP
LHLO
250-OK
250 HELP
MAIL FROM:
250 Sender OK
RCPT TO:
250 Receiver OK
RCPT TO:
250 Receiver OK
RCPT TO:
250 Receiver OK
RCPT TO:
250 Receiver OK
RCPT TO:
250 Receiver OK
RCPT TO:
250 Receiver OK
DATA
354 Send it
.
250 OK
440 Temporary error
550 Bad user
250 OK
440 Temporary error
550 Bad user
QUIT
250 OK
****
exim -odi userx userxx userxy userxz useryx useryy
This is a test message.
****
exim -Mrm $msg1
****
# This is a repeat of the previous test, but with pauses between the
# final responses, so they go out in separate packets, and some multilines.
server PORT_S
220 ESMTP
LHLO
250-OK
250 HELP
MAIL FROM:
250 Sender OK
RCPT TO:
250 Receiver OK
RCPT TO:
250 Receiver OK
RCPT TO:
250 Receiver OK
RCPT TO:
250 Receiver OK
RCPT TO:
250 Receiver OK
RCPT TO:
250 Receiver OK
DATA
354 Send it
.
250 OK
440 Temporary error
550-I don't like this user
*sleep 1
550 Bad user
250-This one's OK
250 OK
440-Here's a whole long message, in several lines,
*sleep 1
440-just for testing that nothing breaks when
440-we do this
440 Temporary error
550 Bad user
QUIT
250 OK
****
exim -odi userx userxx userxy userxz useryx useryy
This is a test message.
****
exim -Mrm $msg1
****
# This is another repeat of the previous test, but this time some addresses
# get bounced at RCPT time.
server PORT_S
220 ESMTP
LHLO
250-OK
250 HELP
MAIL FROM:
250 Sender OK
RCPT TO:
550 Receiver BAD
RCPT TO:
250 Receiver OK
RCPT TO:
450 Receiver temporarily bad
RCPT TO:
250 Receiver OK
RCPT TO:
250 Receiver OK
RCPT TO:
550 Receiver BAD
DATA
354 Send it
.
440 Temporary error
550-I don't like this user
550 Bad user
250-This one's OK
250 OK
QUIT
250 OK
****
exim -odi userx userxx userxy userxz useryx useryy
This is a test message.
****
# This is to test the ignore_quota feature; first time we don't support it.
server PORT_S
220 ESMTP
LHLO
250-OK
250 HELP
MAIL FROM:
250 Sender OK
RCPT TO:
250 Receiver OK
RCPT TO:
250 Receiver OK
RCPT TO:
250 Receiver OK
DATA
354 Send it
.
250 OK
250 OK
250 OK
QUIT
250 OK
****
exim -odi -DIGNORE_QUOTA=true userxx userxy userxz
This is a test message.
****
# This is to test the ignore_quota feature; second time we do support it
server PORT_S
220 ESMTP
LHLO
250-OK
250-IGNOREQUOTA
250 HELP
MAIL FROM:
250 Sender OK
RCPT TO:
250 Receiver OK
RCPT TO:
250 Receiver OK
RCPT TO:
250 Receiver OK
DATA
354 Send it
.
250 OK
250 OK
250 OK
QUIT
250 OK
****
exim -odi -DIGNORE_QUOTA=true userxx userxy userxz
This is a test message.
****
no_msglog_check