Hopefully the final lot of test files.
[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****
141no_msglog_check