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