Testsuite: better restriction of parallel 2-stage-queue-runners
[users/jgh/exim.git] / test / scripts / 0000-Basic / 0542
1 # -Mset and -bem
2 exim -f userz@test.ex -oMt userz userx@test.x usery@test.ex
3 From: Himself <himself@there.tld>
4 To: Yourself <you@here.tld>
5 Subject: The subject is not the object
6
7 This is the body of the message. Make the line longer than any header.
8 ****
9 sudo exim -be -Mset $msg1
10 from: $h_from:
11 subject: $h_subject:
12 message_body_size=$message_body_size
13 message_id=$message_id
14 message_exim_id=$message_exim_id
15 max_received_linelength=$max_received_linelength
16 recipients=$recipients
17 TESTING_MACROS=$recipients
18 (TESTING_MACROS)
19 ****
20 exim -bs
21 mail from:<userz@test.ex>
22 rcpt to:<userx@test.x>
23 rcpt to:<usery@test.ex>
24 data
25 From: Himself <himself@there.tld>
26 To: Yourself <you@here.tld>
27 Subject: The subject is not the object
28
29 This is the body of the message. Make the line much longer than any header.
30 .
31 quit
32 ****
33 sudo exim -be -Mset $msg2
34 from: $h_from:
35 subject: $h_subject:
36 message_body_size=$message_body_size
37 message_id=$message_id
38 message_exim_id=$message_exim_id
39 max_received_linelength=$max_received_linelength
40 recipients=$recipients
41 ****
42 write test-data
43 From: A Person <a.person@a.domain.tld>
44 To: First <first@test.ex>, Second <second@test.ex>
45 Subject: The subject is moot
46
47 And now we have the body of the message,
48 containing a small number of lines.
49 ****
50 exim -bem DIR/test-data
51 from: $h_from:
52 to: $h_to:
53 subject: $h_subject:
54 message_body_size=$message_body_size
55 message_exim_id=$message_exim_id
56 message_linecount=$message_linecount
57 message_body_linecount=$body_linecount
58 max_received_linelength=$max_received_linelength
59 headers -----------------
60 $message_headers
61
62 body --------------------
63 $message_body
64
65 body end ----------------
66 $message_body_end
67 ****
68 exim -bem DIR/test-data -t
69 recipients=$recipients
70 ****
71 no_msglog_check