Experimental: ESMTP LIMITS extension
[exim.git] / test / scripts / 4710-esmtp-limits / 4714
1 # ESMTP LIMITS extension, client continued-connection
2 #
3 # queue up 3 messages each with 2 recipients
4 exim -odq r1_1.test.ex r1_2.test.ex
5 Subject: message 1
6 ****
7 exim -odq r2_1.test.ex r2_2.test.ex
8 Subject: message 2
9 ****
10 exim -odq r3_1.test.ex r3_2.test.ex
11 Subject: message 3
12 ****
13 #
14 # Handed limits of 5 MAIL, 1 RCPT, expect to use 5 transactions in a one connection
15 # when the client does a 2-phase queue run, followed by one transaction in one connection
16 # from the same queue run.
17 # The second pair and third initial should be from continued-connection trasports, flagged by the log lines.
18 server PORT_D 2
19 220 Hi there
20 EHLO
21 250-yeah mate
22 250 LIMITS MAILMAX=5 RCPTMAX=1
23 MAIL FROM
24 250 mail cmd 1 good
25 RCPT TO
26 250 rcpt cmd good
27 DATA
28 352 go ahead
29 .
30 250 message 1 received
31 MAIL FROM
32 250 mail cmd 2 good
33 RCPT TO
34 250 rcpt cmd good
35 DATA
36 352 go ahead
37 .
38 250 message 2 received
39 MAIL FROM
40 250 mail cmd 3 good
41 RCPT TO
42 250 rcpt cmd good
43 DATA
44 352 go ahead
45 .
46 250 message 3 received
47 MAIL FROM
48 250 mail cmd 4 good
49 RCPT TO
50 250 rcpt cmd good
51 DATA
52 352 go ahead
53 .
54 250 message 4 received
55 MAIL FROM
56 250 mail cmd 5 good
57 RCPT TO
58 250 rcpt cmd good
59 DATA
60 352 go ahead
61 .
62 250 message 5 received
63 QUIT
64 221 bye
65 *eof
66 220 Hi there
67 EHLO
68 250-yeah mate
69 250
70 MAIL FROM
71 250 mail cmd 1 good
72 RCPT TO
73 250 rcpt cmd good
74 DATA
75 352 go ahead
76 .
77 250 message 6 received
78 QUIT
79 221 bye
80 *eof
81 ****
82 #
83 exim -qq
84 ****