Get TLS SNI server-switching working with GnuTLS.
[users/heiko/exim.git] / test / scripts / 0000-Basic / 0542
index 090c2bf34ad26f9268f2193e298265b8f40bd3a6..0c6362bded3f06f0fb1957deac668500d91df226 100644 (file)
@@ -1,18 +1,40 @@
 # -Mset and -bem
 # -Mset and -bem
-exim userx@test.x usery@test.ex
+exim -f userz@test.ex -oMt userz userx@test.x usery@test.ex
 From: Himself <himself@there.tld>
 To: Yourself <you@here.tld>
 Subject: The subject is not the object
 
 From: Himself <himself@there.tld>
 To: Yourself <you@here.tld>
 Subject: The subject is not the object
 
-This is the body of the message.
+This is the body of the message. Make the line longer than any header.
 ****
 sudo exim -be -Mset $msg1
 From: $h_from:
 Subject: $h_subject:
 message_body_size=$message_body_size
 ****
 sudo exim -be -Mset $msg1
 From: $h_from:
 Subject: $h_subject:
 message_body_size=$message_body_size
-message_size=$message_size
 message_id=$message_id
 message_exim_id=$message_exim_id
 message_id=$message_id
 message_exim_id=$message_exim_id
+max_received_linelength=$max_received_linelength
+recipients=$recipients
+****
+exim -bs
+mail from:<userz@test.ex>
+rcpt to:<userx@test.x>
+rcpt to:<usery@test.ex>
+data
+From: Himself <himself@there.tld>
+To: Yourself <you@here.tld>
+Subject: The subject is not the object
+
+This is the body of the message. Make the line much longer than any header.
+.
+quit
+****
+sudo exim -be -Mset $msg2
+From: $h_from:
+Subject: $h_subject:
+message_body_size=$message_body_size
+message_id=$message_id
+message_exim_id=$message_exim_id
+max_received_linelength=$max_received_linelength
 recipients=$recipients
 ****
 write test-data
 recipients=$recipients
 ****
 write test-data
@@ -27,11 +49,11 @@ exim -bem DIR/test-data
 from: $h_from:
 to: $h_to:
 subject: $h_subject:
 from: $h_from:
 to: $h_to:
 subject: $h_subject:
-message_size=$message_size
 message_body_size=$message_body_size
 message_exim_id=$message_exim_id
 message_linecount=$message_linecount
 message_body_linecount=$body_linecount
 message_body_size=$message_body_size
 message_exim_id=$message_exim_id
 message_linecount=$message_linecount
 message_body_linecount=$body_linecount
+max_received_linelength=$max_received_linelength
 headers -----------------
 $message_headers
 
 headers -----------------
 $message_headers