Fix quoting problem with errors_copy.
[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_size=$message_size
14 message_id=$message_id
15 message_exim_id=$message_exim_id
16 max_received_linelength=$max_received_linelength
17 recipients=$recipients
18 ****
19 exim -bs
20 mail from:<userz@test.ex>
21 rcpt to:<userx@test.x>
22 rcpt to:<usery@test.ex>
23 data
24 From: Himself <himself@there.tld>
25 To: Yourself <you@here.tld>
26 Subject: The subject is not the object
27
28 This is the body of the message. Make the line much longer than any header.
29 .
30 quit
31 ****
32 sudo exim -be -Mset $msg2
33 From: $h_from:
34 Subject: $h_subject:
35 message_body_size=$message_body_size
36 message_size=$message_size
37 message_id=$message_id
38 message_exim_id=$message_exim_id
39 max_received_linelength=$max_received_linelength
40 recipients=$recipients
41 ****
42 write test-data
43 From: A Person <a.person@a.domain.tld>
44 To: First <first@test.ex>, Second <second@test.ex>
45 Subject: The subject is moot
46
47 And now we have the body of the message,
48 containing a small number of lines.
49 ****
50 exim -bem DIR/test-data
51 from: $h_from:
52 to: $h_to:
53 subject: $h_subject:
54 message_size=$message_size
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