Commit | Line | Data |
---|---|---|
75def545 | 1 | # LMTP over TCP/IP |
59371ea7 PH |
2 | need_ipv4 |
3 | # | |
4 | server PORT_S | |
5 | 220 ESMTP | |
6 | LHLO | |
7 | 250-OK | |
8 | 250 HELP | |
9 | MAIL FROM: | |
10 | 250 Sender OK | |
11 | RCPT TO: | |
12 | 250 Receiver OK | |
13 | DATA | |
14 | 354 Send it | |
15 | . | |
16 | 250 OK | |
17 | QUIT | |
18 | 250 OK | |
19 | **** | |
20 | exim -odi userx | |
21 | This is a test message. | |
22 | **** | |
23 | server PORT_S | |
24 | 220 ESMTP | |
25 | LHLO | |
26 | 250-OK | |
27 | 250 HELP | |
28 | MAIL FROM: | |
29 | 250 Sender OK | |
30 | RCPT TO: | |
31 | 250 Receiver OK | |
32 | RCPT TO: | |
33 | 250 Receiver OK | |
34 | RCPT TO: | |
35 | 250 Receiver OK | |
36 | RCPT TO: | |
37 | 250 Receiver OK | |
38 | RCPT TO: | |
39 | 250 Receiver OK | |
40 | RCPT TO: | |
41 | 250 Receiver OK | |
42 | DATA | |
43 | 354 Send it | |
44 | . | |
45 | 250 OK | |
46 | 440 Temporary error | |
47 | 550 Bad user | |
48 | 250 OK | |
49 | 440 Temporary error | |
50 | 550 Bad user | |
51 | QUIT | |
52 | 250 OK | |
53 | **** | |
54 | exim -odi userx userxx userxy userxz useryx useryy | |
55 | This is a test message. | |
56 | **** | |
57 | exim -Mrm $msg1 | |
58 | **** | |
59 | # This is a repeat of the previous test, but with pauses between the | |
60 | # final responses, so they go out in separate packets, and some multilines. | |
61 | server PORT_S | |
62 | 220 ESMTP | |
63 | LHLO | |
64 | 250-OK | |
65 | 250 HELP | |
66 | MAIL FROM: | |
67 | 250 Sender OK | |
68 | RCPT TO: | |
69 | 250 Receiver OK | |
70 | RCPT TO: | |
71 | 250 Receiver OK | |
72 | RCPT TO: | |
73 | 250 Receiver OK | |
74 | RCPT TO: | |
75 | 250 Receiver OK | |
76 | RCPT TO: | |
77 | 250 Receiver OK | |
78 | RCPT TO: | |
79 | 250 Receiver OK | |
80 | DATA | |
81 | 354 Send it | |
82 | . | |
83 | 250 OK | |
84 | 440 Temporary error | |
85 | 550-I don't like this user | |
86 | *sleep 1 | |
87 | 550 Bad user | |
88 | 250-This one's OK | |
89 | 250 OK | |
90 | 440-Here's a whole long message, in several lines, | |
91 | *sleep 1 | |
92 | 440-just for testing that nothing breaks when | |
93 | 440-we do this | |
94 | 440 Temporary error | |
95 | 550 Bad user | |
96 | QUIT | |
97 | 250 OK | |
98 | **** | |
99 | exim -odi userx userxx userxy userxz useryx useryy | |
100 | This is a test message. | |
101 | **** | |
102 | exim -Mrm $msg1 | |
103 | **** | |
104 | # This is another repeat of the previous test, but this time some addresses | |
105 | # get bounced at RCPT time. | |
106 | server PORT_S | |
107 | 220 ESMTP | |
108 | LHLO | |
109 | 250-OK | |
110 | 250 HELP | |
111 | MAIL FROM: | |
112 | 250 Sender OK | |
113 | RCPT TO: | |
114 | 550 Receiver BAD | |
115 | RCPT TO: | |
116 | 250 Receiver OK | |
117 | RCPT TO: | |
118 | 450 Receiver temporarily bad | |
119 | RCPT TO: | |
120 | 250 Receiver OK | |
121 | RCPT TO: | |
122 | 250 Receiver OK | |
123 | RCPT TO: | |
124 | 550 Receiver BAD | |
125 | DATA | |
126 | 354 Send it | |
127 | . | |
128 | 440 Temporary error | |
129 | 550-I don't like this user | |
130 | 550 Bad user | |
131 | 250-This one's OK | |
132 | 250 OK | |
133 | QUIT | |
134 | 250 OK | |
135 | **** | |
136 | exim -odi userx userxx userxy userxz useryx useryy | |
137 | This is a test message. | |
138 | **** | |
139 | # This is to test the ignore_quota feature; first time we don't support it. | |
140 | server PORT_S | |
141 | 220 ESMTP | |
142 | LHLO | |
143 | 250-OK | |
144 | 250 HELP | |
145 | MAIL FROM: | |
146 | 250 Sender OK | |
147 | RCPT TO: | |
148 | 250 Receiver OK | |
149 | RCPT TO: | |
150 | 250 Receiver OK | |
151 | RCPT TO: | |
152 | 250 Receiver OK | |
153 | DATA | |
154 | 354 Send it | |
155 | . | |
156 | 250 OK | |
157 | 250 OK | |
158 | 250 OK | |
159 | QUIT | |
160 | 250 OK | |
161 | **** | |
162 | exim -odi -DIGNORE_QUOTA=true userxx userxy userxz | |
163 | This is a test message. | |
164 | **** | |
165 | # This is to test the ignore_quota feature; second time we do support it | |
166 | server PORT_S | |
167 | 220 ESMTP | |
168 | LHLO | |
169 | 250-OK | |
170 | 250-IGNOREQUOTA | |
171 | 250 HELP | |
172 | MAIL FROM: | |
173 | 250 Sender OK | |
174 | RCPT TO: | |
175 | 250 Receiver OK | |
176 | RCPT TO: | |
177 | 250 Receiver OK | |
178 | RCPT TO: | |
179 | 250 Receiver OK | |
180 | DATA | |
181 | 354 Send it | |
182 | . | |
183 | 250 OK | |
184 | 250 OK | |
185 | 250 OK | |
186 | QUIT | |
187 | 250 OK | |
188 | **** | |
189 | exim -odi -DIGNORE_QUOTA=true userxx userxy userxz | |
190 | This is a test message. | |
191 | **** | |
382afc6b PH |
192 | # Tests for authenticated_sender forcing: this one doesn't do it |
193 | server PORT_S | |
194 | 220 ESMTP | |
195 | LHLO | |
196 | 250 OK | |
197 | MAIL FROM: | |
198 | 250 Sender OK | |
199 | RCPT TO: | |
200 | 450 LATER | |
201 | QUIT | |
202 | 250 OK | |
203 | **** | |
204 | exim -odi -DAUTHS=authenticated_sender=xxx@yyy userx | |
205 | Another test message. | |
206 | **** | |
207 | # Tests for authenticated_sender forcing: this one does it | |
208 | server PORT_S | |
209 | 220 ESMTP | |
210 | LHLO | |
211 | 250 OK | |
212 | MAIL FROM: | |
213 | 250 Sender OK | |
214 | RCPT TO: | |
215 | 450 LATER | |
216 | QUIT | |
217 | 250 OK | |
218 | **** | |
219 | exim -odi -DAUTHS=authenticated_sender=xxx@yyy -DAUTHF=authenticated_sender_force userx | |
220 | Another test message. | |
221 | **** | |
59371ea7 | 222 | no_msglog_check |