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