hosts_require_helo
[exim.git] / test / scripts / 0000-Basic / 0502
1 # ACL for QUIT
2 exim -bs
3 helo test
4 mail from:<x@y>
5 rcpt to:<a@y>
6 rcpt to:<b@y>
7 data
8 .
9 mail from:<x@y>
10 rcpt to:<c@y>
11 rset
12 mail from:<x@y>
13 rset
14 mail from:<x@y>
15 rcpt to:<d@y>
16 data
17 .
18 quit
19 ****
20 exim -bs -DLAST='deny message = Your message here'
21 quit
22 ****
23 exim -bs -DLAST=''
24 helo test
25 mail from:<a@b>
26 quit
27 ****
28 #
29 # Check the server closes conn after a quit-response
30 exim -DSERVER=server -DLAST=accept -bd -oX PORT_D
31 ****
32 client 127.0.0.1 PORT_D
33 ??? 220
34 EHLO test.ex
35 ??? 250-
36 ??? 250-
37 ??? 250-
38 ??? 250-
39 ??? 250 HELP
40 QUIT
41 ??? 221
42 ???*eof
43 ****
44 #
45 killdaemon