Memory management: when running under the testsuite, check every string variable...
[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 ****
18 exim -bs
19 mail from:<userz@test.ex>
20 rcpt to:<userx@test.x>
21 rcpt to:<usery@test.ex>
22 data
23 From: Himself <himself@there.tld>
24 To: Yourself <you@here.tld>
25 Subject: The subject is not the object
26
27 This is the body of the message. Make the line much longer than any header.
28 .
29 quit
30 ****
31 sudo exim -be -Mset $msg2
32 From: $h_from:
33 Subject: $h_subject:
34 message_body_size=$message_body_size
35 message_id=$message_id
36 message_exim_id=$message_exim_id
37 max_received_linelength=$max_received_linelength
38 recipients=$recipients
39 ****
40 write test-data
41 From: A Person <a.person@a.domain.tld>
42 To: First <first@test.ex>, Second <second@test.ex>
43 Subject: The subject is moot
44
45 And now we have the body of the message,
46 containing a small number of lines.
47 ****
48 exim -bem DIR/test-data
49 from: $h_from:
50 to: $h_to:
51 subject: $h_subject:
52 message_body_size=$message_body_size
53 message_exim_id=$message_exim_id
54 message_linecount=$message_linecount
55 message_body_linecount=$body_linecount
56 max_received_linelength=$max_received_linelength
57 headers -----------------
58 $message_headers
59
60 body --------------------
61 $message_body
62
63 body end ----------------
64 $message_body_end
65 ****
66 exim -bem DIR/test-data -t
67 recipients=$recipients
68 ****
69 no_msglog_check