8cea367eb4c5124a13db936c135717258a786a91
[exim.git] / test / scripts / 0000-Basic / 0583
1 # verify quota at smtp time
2 #
3 exim -bd -DSERVER=server -oX PORT_D
4 ****
5 client 127.0.0.1 PORT_D
6 ??? 220
7 EHLO test
8 ??? 250-
9 ??? 250-SIZE
10 ??? 250-8BITMIME
11 ??? 250-PIPELINING
12 ??? 250 HELP
13 MAIL FROM:<a@test.ex>\r\nRCPT TO:<quota_good@test.ex>
14 ??? 250
15 ??? 250
16 RSET
17 ??? 250
18 MAIL FROM:<b@test.ex> SIZE=2048\r\nRCPT TO:<quota_fail@test.ex>
19 ??? 250
20 ??? 550
21 RSET
22 ??? 250
23 MAIL FROM:<c@test.ex>\r\nRCPT TO:<route_fail@test.ex>
24 ??? 250
25 ??? 550
26 RSET
27 ??? 250
28 MAIL FROM:<d@test.ex>\r\nRCPT TO:<quota_good@test.ex>
29 ??? 250
30 ??? 250
31 RSET
32 ??? 250
33 MAIL FROM:<e@test.ex> SIZE=512\r\nRCPT TO:<quota_fail@test.ex>
34 ??? 250
35 ??? 550
36 RSET
37 ??? 250
38 MAIL FROM:<f@test.ex>\r\nRCPT TO:<route_fail@test.ex>
39 ??? 250
40 ??? 550
41 QUIT
42 ****
43 #
44 killdaemon