Fix $mime_part_count for non-mime message on multi-message connection. Bug 2537
[exim.git] / test / scripts / 4000-scanning / 4001
1 # multiple messages in connection
2
3 exim -bh 127.0.0.1
4 EHLO mailserver.test
5 MAIL FROM:<sender@test.ex>
6 RCPT TO:<heiko@test.ex>
7 DATA
8 From: sender@test.ex
9 To: heiko@test.ex
10 Subject: test no attachment
11
12 This is a test mailing
13
14 .
15 MAIL FROM:<sender@test.ex>
16 RCPT TO:<heiko@test.ex>
17 DATA
18 From: sender@test.ex
19 To: heiko@test.ex
20 Subject: test with attachment
21 MIME-Version: 1.0
22 Content-Type: multipart/mixed; boundary="----=_MIME_BOUNDARY_000_431036"
23
24 ------=_MIME_BOUNDARY_000_431036
25 Content-Type: text/plain
26
27 This is a test mailing
28 ------=_MIME_BOUNDARY_000_431036
29 Content-Type: application/octet-stream
30 Content-Disposition: attachment
31 Content-Transfer-Encoding: BASE64
32
33 U2F0IEZlYiAyOSAxNDo1ODowMyBDRVQgMjAyMAo=
34
35 ------=_MIME_BOUNDARY_000_431036--
36
37 .
38 MAIL FROM:<sender@test.ex>
39 RCPT TO:<heiko@test.ex>
40 DATA
41 From: sender@test.ex
42 To: heiko@test.ex
43 Subject: test with attachment
44 MIME-Version: 1.0
45 Content-Type: multipart/mixed; boundary="----=_MIME_BOUNDARY_000_431036"
46
47 ------=_MIME_BOUNDARY_000_431036
48 Content-Type: text/plain
49
50 This is a test mailing
51 ------=_MIME_BOUNDARY_000_431036
52 Content-Type: application/octet-stream
53 Content-Disposition: attachment
54 Content-Transfer-Encoding: BASE64
55
56 U2F0IEZlYiAyOSAxNDo1ODowMyBDRVQgMjAyMAo=
57
58 ------=_MIME_BOUNDARY_000_431036--
59
60 .
61 MAIL FROM:<sender@test.ex>
62 RCPT TO:<heiko@test.ex>
63 DATA
64 From: sender@test.ex
65 To: heiko@test.ex
66 Subject: test no attachment
67
68 This is a test mailing ($(date "+%F %T"))
69
70 .
71 QUIT
72 ****