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