Update tests for portability.
[users/heiko/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.
8 ****
9 sudo exim -be -Mset $msg1
10 From: $h_from:
11 Subject: $h_subject:
12 message_body_size=$message_body_size
13 message_size=$message_size
14 message_id=$message_id
15 message_exim_id=$message_exim_id
16 recipients=$recipients
17 ****
18 write test-data
19 From: A Person <a.person@a.domain.tld>
20 To: First <first@test.ex>, Second <second@test.ex>
21 Subject: The subject is moot
22
23 And now we have the body of the message,
24 containing a small number of lines.
25 ****
26 exim -bem DIR/test-data
27 from: $h_from:
28 to: $h_to:
29 subject: $h_subject:
30 message_size=$message_size
31 message_body_size=$message_body_size
32 message_exim_id=$message_exim_id
33 message_linecount=$message_linecount
34 message_body_linecount=$body_linecount
35 headers -----------------
36 $message_headers
37
38 body --------------------
39 $message_body
40
41 body end ----------------
42 $message_body_end
43 ****
44 exim -bem DIR/test-data -t
45 recipients=$recipients
46 ****
47 no_msglog_check