Events: testsuite updates
[exim.git] / test / scripts / 3400-plaintext / 3401
CommitLineData
59371ea7
PH
1# plaintext client tests
2need_ipv4
3#
4server PORT_S
5220 ESMTP
6EHLO
7250-OK
8250-HELP
9250 AUTH LOGIN
10AUTH LOGIN
11334 VXNlciBOYW1l
12dXNlcng
13334 UGFzc3dvcmQ=
14c2VjcmV0
15235 Authentication successful
16MAIL FROM:
17250 Sender OK
18RCPT TO:
19250 Recipient OK
20DATA
21354 Send data
22.
23250 OK
24QUIT
25250 OK
26****
27exim -odi userx@domain.com
28.
29****
30server PORT_S
31220 ESMTP
32EHLO
33250-OK
34250-HELP
35250 AUTH PLAIN
36AUTH PLAIN AHVzZXJ4AHNlY3JldA==
37235 Authentication successful
38MAIL FROM:
39250 Sender OK
40RCPT TO:
41250 Recipient OK
42DATA
43354 Send data
44.
45250 OK
46QUIT
47250 OK
48****
49exim -odi userx@domain.com
50.
51****
52server PORT_S
53220 ESMTP
54EHLO
55250-OK
56250-HELP
57250 AUTH PLAIN
58AUTH PLAIN AHVzZXJ4AHNlY3JldA==
59535 Sorry, authentication failed
60MAIL FROM:
61250 Sender OK
62RCPT TO:
63250 Recipient OK
64DATA
65354 Send data
66.
67250 OK
68QUIT
69250 OK
70****
71exim -odi userx@domain.com
72.
73****
74server PORT_S
75220 ESMTP
76EHLO
77250-OK
78250-HELP
79250 AUTH LOGIN
80AUTH LOGIN
81****
82exim -odi userx@domain.com
83.
84****
85# Authentication required, but fails
86# Get rid of retry first
87sudo rm spool/db/*
88server PORT_S
89220 ESMTP
90EHLO
91250-OK
92250-HELP
93250 AUTH PLAIN
94AUTH PLAIN AHVzZXJ4AHNlY3JldA==
95535 Sorry, authentication failed
96QUIT
97250 OK
98****
99exim -odi userx@authdomain.com
100.
101****
102# Authentication required, but not offered
103server PORT_S
104220 ESMTP
105EHLO
106250-OK
107250 HELP
108QUIT
109250 OK
110****
111exim -odi userx@authdomain.com
112.
113****
114# Forced AUTH sender
115server PORT_S
116220 ESMTP
117EHLO
118250-OK
119250-HELP
120250 AUTH LOGIN
121AUTH LOGIN
122334 VXNlciBOYW1l
123dXNlcng
124334 UGFzc3dvcmQ=
125c2VjcmV0
126235 Authentication successful
127MAIL FROM:
128250 Sender OK
129RCPT TO:
130250 Recipient OK
131DATA
132354 Send data
133.
134250 OK
135QUIT
136250 OK
137****
138exim -odi forcesender@domain.com
139.
140****
4730f942
PH
141# Bad basd64 from server; client aborts
142server PORT_S
143220 ESMTP
144EHLO
145250-OK
146250-HELP
147250 AUTH LOGIN
148AUTH LOGIN
149334 User?
150*
151501 Authentication cancelled
152MAIL FROM:
153550 Not now
154QUIT
155250 OK
156****
157exim -odi userx@domain.com
158.
159****
160# Test the server challenges in $auth<n>
161server PORT_S
162220 ESMTP
163EHLO
164250-OK
165250-HELP
166250 AUTH XLOGIN
167AUTH XLOGIN
168334 Y2hhbGxlbmdlLTE=
169Y2hhbGxlbmdlLTE=
170334 YW5vdGhlcm9uZQ==
171Y2hhbGxlbmdlLTErYW5vdGhlcm9uZQ==
172235 Authentication successful
173MAIL FROM:
174250 Sender OK
175RCPT TO:
176250 Recipient OK
177DATA
178354 Send data
179.
180250 OK
181QUIT
182250 OK
183****
184exim -odi userx@domain.com
185.
186****
59371ea7 187no_msglog_check