Commit 4ba094cd 4ba094cd136becc8ad41bb7a98ffccec5e48d59b by Sergey Poznyakoff

Minor fix in the test suite.

Replace 'Mirddin.farlep.net' with 'example.net' throughout the
testsuite.  Change expected message/part sizes accordingly.
Files changed:

* imap4d/testsuite/imap4d/fetch.exp
* mail/testsuite/mail/folder.exp
* mail/testsuite/mail/read.exp
* mail/testsuite/mail/write.exp
* mh/tests/scan.at
* readmsg/tests/all.at
* testsuite/maildir/mbox1/new/1284628225.M20118P3883Q2.Trurl
* testsuite/maildir/mbox1/new/1284628225.M21284P3883Q3.Trurl
* testsuite/maildir/mbox1/new/1284628225.M22502P3883Q4.Trurl
* testsuite/mh/mbox1/3
* testsuite/mh/mbox1/4
* testsuite/mh/mbox1/5
* testsuite/mime.at
* testsuite/spool/mbox
* testsuite/spool/mbox1
* testsuite/spool/relational.mbox
1 parent 3fb87f63
......@@ -67,9 +67,9 @@ imap4d_test "FETCH 3 (FLAGS INTERNALDATE UID)"\
imap4d_test "FETCH 1:* ENVELOPE"\
"1 FETCH (ENVELOPE (\"Fri, 28 Dec 2001 22:18:08 +0200\" \"Jabberwocky\" ((\"Foo Bar\" NIL \"foobar\" \"nonexistent.net\")) ((\"Foo Bar\" NIL \"foobar\" \"nonexistent.net\")) ((\"Foo Bar\" NIL \"foobar\" \"nonexistent.net\")) ((\"Bar\" NIL \"bar\" \"dontmailme.org\")) NIL NIL NIL \"<200112282018.fBSKI8N04906@nonexistent.net>\"))"\
"2 FETCH (ENVELOPE (\"Fri, 28 Dec 2001 23:28:08 +0200\" \"Re: Jabberwocky\" ((\"Bar\" NIL \"bar\" \"dontmailme.org\")) ((\"Bar\" NIL \"bar\" \"dontmailme.org\")) ((\"Bar\" NIL \"bar\" \"dontmailme.org\")) ((\"Foo Bar\" NIL \"foobar\" \"nonexistent.net\")) NIL NIL NIL \"<200112232808.fERKR9N16790@dontmailme.org>\"))"\
"3 FETCH (ENVELOPE (\"Sat, 13 Jul 2002 00:43:18 +0300\" \"Simple MIME\" ((\"Sergey Poznyakoff\" NIL \"gray\" \"Mirddin.farlep.net\")) ((\"Sergey Poznyakoff\" NIL \"gray\" \"Mirddin.farlep.net\")) ((\"Sergey Poznyakoff\" NIL \"gray\" \"Mirddin.farlep.net\")) ((\"Foo Bar\" NIL \"foobar\" \"nonexistent.net\")) NIL NIL NIL \"<200207122143.g6CLhIb05086@Mirddin.farlep.net>\"))"\
"4 FETCH (ENVELOPE (\"Sat, 13 Jul 2002 00:50:58 +0300\" \"Nested MIME\" ((\"Sergey Poznyakoff\" NIL \"gray\" \"Mirddin.farlep.net\")) ((\"Sergey Poznyakoff\" NIL \"gray\" \"Mirddin.farlep.net\")) ((\"Sergey Poznyakoff\" NIL \"gray\" \"Mirddin.farlep.net\")) ((\"Foo Bar\" NIL \"foobar\" \"nonexistent.net\")) NIL NIL NIL \"<200207122150.g6CLowb05126@Mirddin.farlep.net>\"))"\
"5 FETCH (ENVELOPE (\"Sat, 13 Jul 2002 00:43:18 +0300\" \"Empty MIME Parts\" ((\"Sergey Poznyakoff\" NIL \"gray\" \"Mirddin.farlep.net\")) ((\"Sergey Poznyakoff\" NIL \"gray\" \"Mirddin.farlep.net\")) ((\"Sergey Poznyakoff\" NIL \"gray\" \"Mirddin.farlep.net\")) ((\"Foo Bar\" NIL \"foobar\" \"nonexistent.net\")) NIL NIL NIL \"<200207122143.g6CLhIb05086@Mirddin.farlep.net>\"))"\
"3 FETCH (ENVELOPE (\"Sat, 13 Jul 2002 00:43:18 +0300\" \"Simple MIME\" ((\"Sergey Poznyakoff\" NIL \"gray\" \"example.net\")) ((\"Sergey Poznyakoff\" NIL \"gray\" \"example.net\")) ((\"Sergey Poznyakoff\" NIL \"gray\" \"example.net\")) ((\"Foo Bar\" NIL \"foobar\" \"nonexistent.net\")) NIL NIL NIL \"<200207122143.g6CLhIb05086@example.net>\"))"\
"4 FETCH (ENVELOPE (\"Sat, 13 Jul 2002 00:50:58 +0300\" \"Nested MIME\" ((\"Sergey Poznyakoff\" NIL \"gray\" \"example.net\")) ((\"Sergey Poznyakoff\" NIL \"gray\" \"example.net\")) ((\"Sergey Poznyakoff\" NIL \"gray\" \"example.net\")) ((\"Foo Bar\" NIL \"foobar\" \"nonexistent.net\")) NIL NIL NIL \"<200207122150.g6CLowb05126@example.net>\"))"\
"5 FETCH (ENVELOPE (\"Sat, 13 Jul 2002 00:43:18 +0300\" \"Empty MIME Parts\" ((\"Sergey Poznyakoff\" NIL \"gray\" \"example.net\")) ((\"Sergey Poznyakoff\" NIL \"gray\" \"example.net\")) ((\"Sergey Poznyakoff\" NIL \"gray\" \"example.net\")) ((\"Foo Bar\" NIL \"foobar\" \"nonexistent.net\")) NIL NIL NIL \"<200207122143.g6CLhIb05086@example.net>\"))"\
"OK"
# ALL Macro equivalent to: (FLAGS INTERNALDATE
......@@ -78,9 +78,9 @@ imap4d_test "FETCH 1:* ENVELOPE"\
imap4d_test "FETCH 1:\* ALL"\
"1 FETCH (FLAGS (\\Recent) INTERNALDATE \"28-Dec-2001 22:18:09 +0000\" RFC822.SIZE 1298 ENVELOPE (\"Fri, 28 Dec 2001 22:18:08 +0200\" \"Jabberwocky\" ((\"Foo Bar\" NIL \"foobar\" \"nonexistent.net\")) ((\"Foo Bar\" NIL \"foobar\" \"nonexistent.net\")) ((\"Foo Bar\" NIL \"foobar\" \"nonexistent.net\")) ((\"Bar\" NIL \"bar\" \"dontmailme.org\")) NIL NIL NIL \"<200112282018.fBSKI8N04906@nonexistent.net>\"))"\
"2 FETCH (FLAGS (\\Recent) INTERNALDATE \"28-Dec-2001 23:28:09 +0000\" RFC822.SIZE 547 ENVELOPE (\"Fri, 28 Dec 2001 23:28:08 +0200\" \"Re: Jabberwocky\" ((\"Bar\" NIL \"bar\" \"dontmailme.org\")) ((\"Bar\" NIL \"bar\" \"dontmailme.org\")) ((\"Bar\" NIL \"bar\" \"dontmailme.org\")) ((\"Foo Bar\" NIL \"foobar\" \"nonexistent.net\")) NIL NIL NIL \"<200112232808.fERKR9N16790@dontmailme.org>\"))"\
"3 FETCH (FLAGS (\\Recent) INTERNALDATE \"13-Jul-2002 00:43:18 +0000\" RFC822.SIZE 1667 ENVELOPE (\"Sat, 13 Jul 2002 00:43:18 +0300\" \"Simple MIME\" ((\"Sergey Poznyakoff\" NIL \"gray\" \"Mirddin.farlep.net\")) ((\"Sergey Poznyakoff\" NIL \"gray\" \"Mirddin.farlep.net\")) ((\"Sergey Poznyakoff\" NIL \"gray\" \"Mirddin.farlep.net\")) ((\"Foo Bar\" NIL \"foobar\" \"nonexistent.net\")) NIL NIL NIL \"<200207122143.g6CLhIb05086@Mirddin.farlep.net>\"))"\
"4 FETCH (FLAGS (\\Recent) INTERNALDATE \"13-Jul-2002 00:50:58 +0000\" RFC822.SIZE 3567 ENVELOPE (\"Sat, 13 Jul 2002 00:50:58 +0300\" \"Nested MIME\" ((\"Sergey Poznyakoff\" NIL \"gray\" \"Mirddin.farlep.net\")) ((\"Sergey Poznyakoff\" NIL \"gray\" \"Mirddin.farlep.net\")) ((\"Sergey Poznyakoff\" NIL \"gray\" \"Mirddin.farlep.net\")) ((\"Foo Bar\" NIL \"foobar\" \"nonexistent.net\")) NIL NIL NIL \"<200207122150.g6CLowb05126@Mirddin.farlep.net>\"))"\
"5 FETCH (FLAGS (\\Recent) INTERNALDATE \"13-Jul-2002 00:43:18 +0000\" RFC822.SIZE 940 ENVELOPE (\"Sat, 13 Jul 2002 00:43:18 +0300\" \"Empty MIME Parts\" ((\"Sergey Poznyakoff\" NIL \"gray\" \"Mirddin.farlep.net\")) ((\"Sergey Poznyakoff\" NIL \"gray\" \"Mirddin.farlep.net\")) ((\"Sergey Poznyakoff\" NIL \"gray\" \"Mirddin.farlep.net\")) ((\"Foo Bar\" NIL \"foobar\" \"nonexistent.net\")) NIL NIL NIL \"<200207122143.g6CLhIb05086@Mirddin.farlep.net>\"))"\
"3 FETCH (FLAGS (\\Recent) INTERNALDATE \"13-Jul-2002 00:43:18 +0000\" RFC822.SIZE 1611 ENVELOPE (\"Sat, 13 Jul 2002 00:43:18 +0300\" \"Simple MIME\" ((\"Sergey Poznyakoff\" NIL \"gray\" \"example.net\")) ((\"Sergey Poznyakoff\" NIL \"gray\" \"example.net\")) ((\"Sergey Poznyakoff\" NIL \"gray\" \"example.net\")) ((\"Foo Bar\" NIL \"foobar\" \"nonexistent.net\")) NIL NIL NIL \"<200207122143.g6CLhIb05086@example.net>\"))"\
"4 FETCH (FLAGS (\\Recent) INTERNALDATE \"13-Jul-2002 00:50:58 +0000\" RFC822.SIZE 3483 ENVELOPE (\"Sat, 13 Jul 2002 00:50:58 +0300\" \"Nested MIME\" ((\"Sergey Poznyakoff\" NIL \"gray\" \"example.net\")) ((\"Sergey Poznyakoff\" NIL \"gray\" \"example.net\")) ((\"Sergey Poznyakoff\" NIL \"gray\" \"example.net\")) ((\"Foo Bar\" NIL \"foobar\" \"nonexistent.net\")) NIL NIL NIL \"<200207122150.g6CLowb05126@example.net>\"))"\
"5 FETCH (FLAGS (\\Recent) INTERNALDATE \"13-Jul-2002 00:43:18 +0000\" RFC822.SIZE 884 ENVELOPE (\"Sat, 13 Jul 2002 00:43:18 +0300\" \"Empty MIME Parts\" ((\"Sergey Poznyakoff\" NIL \"gray\" \"example.net\")) ((\"Sergey Poznyakoff\" NIL \"gray\" \"example.net\")) ((\"Sergey Poznyakoff\" NIL \"gray\" \"example.net\")) ((\"Foo Bar\" NIL \"foobar\" \"nonexistent.net\")) NIL NIL NIL \"<200207122143.g6CLhIb05086@example.net>\"))"\
"OK"
# BODYSTRUCTURE The [MIME-IMB] body structure of the message. This
......@@ -97,24 +97,24 @@ imap4d_test "FETCH 2 BODYSTRUCTURE"\
"OK"
imap4d_test "FETCH 3 BODYSTRUCTURE"\
"3 FETCH (BODYSTRUCTURE ((\"text\" \"plain\" (\"name\" \"msg.1\" \"charset\" \"us-ascii\") \"<5082.1026510189.1@Mirddin.farlep.net>\" \"How doth\" \"7BIT\" 239 9 NIL NIL NIL)(\"application\" \"octet-stream\" (\"name\" \"msg.21\") \"<5082.1026510189.2@Mirddin.farlep.net>\" \"Father William Part I\" \"base64\" 468 NIL NIL NIL) \"mixed\" (\"boundary\" \"----- =_aaaaaaaaaa0\") NIL NIL))"\
"3 FETCH (BODYSTRUCTURE ((\"text\" \"plain\" (\"name\" \"msg.1\" \"charset\" \"us-ascii\") \"<5082.1026510189.1@example.net>\" \"How doth\" \"7BIT\" 239 9 NIL NIL NIL)(\"application\" \"octet-stream\" (\"name\" \"msg.21\") \"<5082.1026510189.2@example.net>\" \"Father William Part I\" \"base64\" 468 NIL NIL NIL) \"mixed\" (\"boundary\" \"----- =_aaaaaaaaaa0\") NIL NIL))"\
"OK"
imap4d_test "FETCH 4 BODYSTRUCTURE"\
"4 FETCH (BODYSTRUCTURE ((\"text\" \"plain\" (\"name\" \"msg.21\" \"charset\" \"us-ascii\") \"<5122.1026510654.2@Mirddin.farlep.net>\" \"Father William Part I\" \"7BIT\" 351 10 NIL NIL NIL)((\"application\" \"octet-stream\" (\"name\" \"msg.22\") \"<5122.1026510654.4@Mirddin.farlep.net>\" \"Father William Part II\" \"base64\" 486 NIL NIL NIL)((\"application\" \"octet-stream\" (\"name\" \"msg.23\") \"<5122.1026510654.6@Mirddin.farlep.net>\" \"Father William Part III\" \"base64\" 490 NIL NIL NIL)(\"application\" \"octet-stream\" (\"name\" \"msg.24\") \"<5122.1026510654.7@Mirddin.farlep.net>\" \"Father William Part IV\" \"base64\" 502 NIL NIL NIL) \"mixed\" (\"boundary\" \"----- =_aaaaaaaaaa2\") NIL NIL) \"mixed\" (\"boundary\" \"----- =_aaaaaaaaaa1\") NIL NIL) \"mixed\" (\"boundary\" \"----- =_aaaaaaaaaa0\") NIL NIL))"\
"4 FETCH (BODYSTRUCTURE ((\"text\" \"plain\" (\"name\" \"msg.21\" \"charset\" \"us-ascii\") \"<5122.1026510654.2@example.net>\" \"Father William Part I\" \"7BIT\" 351 10 NIL NIL NIL)((\"application\" \"octet-stream\" (\"name\" \"msg.22\") \"<5122.1026510654.4@example.net>\" \"Father William Part II\" \"base64\" 486 NIL NIL NIL)((\"application\" \"octet-stream\" (\"name\" \"msg.23\") \"<5122.1026510654.6@example.net>\" \"Father William Part III\" \"base64\" 490 NIL NIL NIL)(\"application\" \"octet-stream\" (\"name\" \"msg.24\") \"<5122.1026510654.7@example.net>\" \"Father William Part IV\" \"base64\" 502 NIL NIL NIL) \"mixed\" (\"boundary\" \"----- =_aaaaaaaaaa2\") NIL NIL) \"mixed\" (\"boundary\" \"----- =_aaaaaaaaaa1\") NIL NIL) \"mixed\" (\"boundary\" \"----- =_aaaaaaaaaa0\") NIL NIL))"\
"OK"
imap4d_test "FETCH 5 BODYSTRUCTURE"\
"5 FETCH (BODYSTRUCTURE ((\"text\" \"plain\" (\"name\" \"empty\" \"charset\" \"us-ascii\") \"<5082.1026510189.1@Mirddin.farlep.net>\" \"Empty part\" \"7BIT\" 0 0 NIL NIL NIL)(\"text\" \"plain\" (\"name\" \"single.line\" \"charset\" \"us-ascii\") \"<5082.1026510189.2@Mirddin.farlep.net>\" \"Single line part\" \"7BIT\" 2 1 NIL NIL NIL) \"mixed\" (\"boundary\" \"----- =_aaaaaaaaaa0\") NIL NIL))"\
"5 FETCH (BODYSTRUCTURE ((\"text\" \"plain\" (\"name\" \"empty\" \"charset\" \"us-ascii\") \"<5082.1026510189.1@example.net>\" \"Empty part\" \"7BIT\" 0 0 NIL NIL NIL)(\"text\" \"plain\" (\"name\" \"single.line\" \"charset\" \"us-ascii\") \"<5082.1026510189.2@example.net>\" \"Single line part\" \"7BIT\" 2 1 NIL NIL NIL) \"mixed\" (\"boundary\" \"----- =_aaaaaaaaaa0\") NIL NIL))"\
"OK"
# BODY The text of a particular body section.
imap4d_test "FETCH 1:* BODY"\
"1 FETCH (BODY (\"TEXT\" \"PLAIN\" (\"CHARSET\" \"US-ASCII\") NIL NIL \"7BIT\" 972 35))"\
"2 FETCH (BODY (\"TEXT\" \"PLAIN\" (\"CHARSET\" \"US-ASCII\") NIL NIL \"7BIT\" 219 4))"\
"3 FETCH (BODY ((\"text\" \"plain\" (\"name\" \"msg.1\" \"charset\" \"us-ascii\") \"<5082.1026510189.1@Mirddin.farlep.net>\" \"How doth\" \"7BIT\" 239 9)(\"application\" \"octet-stream\" (\"name\" \"msg.21\") \"<5082.1026510189.2@Mirddin.farlep.net>\" \"Father William Part I\" \"base64\" 468) \"mixed\" NIL NIL NIL))"\
"4 FETCH (BODY ((\"text\" \"plain\" (\"name\" \"msg.21\" \"charset\" \"us-ascii\") \"<5122.1026510654.2@Mirddin.farlep.net>\" \"Father William Part I\" \"7BIT\" 351 10)((\"application\" \"octet-stream\" (\"name\" \"msg.22\") \"<5122.1026510654.4@Mirddin.farlep.net>\" \"Father William Part II\" \"base64\" 486)((\"application\" \"octet-stream\" (\"name\" \"msg.23\") \"<5122.1026510654.6@Mirddin.farlep.net>\" \"Father William Part III\" \"base64\" 490)(\"application\" \"octet-stream\" (\"name\" \"msg.24\") \"<5122.1026510654.7@Mirddin.farlep.net>\" \"Father William Part IV\" \"base64\" 502) \"mixed\" NIL NIL NIL) \"mixed\" NIL NIL NIL) \"mixed\" NIL NIL NIL))"\
"5 FETCH (BODY ((\"text\" \"plain\" (\"name\" \"empty\" \"charset\" \"us-ascii\") \"<5082.1026510189.1@Mirddin.farlep.net>\" \"Empty part\" \"7BIT\" 0 0)(\"text\" \"plain\" (\"name\" \"single.line\" \"charset\" \"us-ascii\") \"<5082.1026510189.2@Mirddin.farlep.net>\" \"Single line part\" \"7BIT\" 2 1) \"mixed\" NIL NIL NIL))"\
"3 FETCH (BODY ((\"text\" \"plain\" (\"name\" \"msg.1\" \"charset\" \"us-ascii\") \"<5082.1026510189.1@example.net>\" \"How doth\" \"7BIT\" 239 9)(\"application\" \"octet-stream\" (\"name\" \"msg.21\") \"<5082.1026510189.2@example.net>\" \"Father William Part I\" \"base64\" 468) \"mixed\" NIL NIL NIL))"\
"4 FETCH (BODY ((\"text\" \"plain\" (\"name\" \"msg.21\" \"charset\" \"us-ascii\") \"<5122.1026510654.2@example.net>\" \"Father William Part I\" \"7BIT\" 351 10)((\"application\" \"octet-stream\" (\"name\" \"msg.22\") \"<5122.1026510654.4@example.net>\" \"Father William Part II\" \"base64\" 486)((\"application\" \"octet-stream\" (\"name\" \"msg.23\") \"<5122.1026510654.6@example.net>\" \"Father William Part III\" \"base64\" 490)(\"application\" \"octet-stream\" (\"name\" \"msg.24\") \"<5122.1026510654.7@example.net>\" \"Father William Part IV\" \"base64\" 502) \"mixed\" NIL NIL NIL) \"mixed\" NIL NIL NIL) \"mixed\" NIL NIL NIL))"\
"5 FETCH (BODY ((\"text\" \"plain\" (\"name\" \"empty\" \"charset\" \"us-ascii\") \"<5082.1026510189.1@example.net>\" \"Empty part\" \"7BIT\" 0 0)(\"text\" \"plain\" (\"name\" \"single.line\" \"charset\" \"us-ascii\") \"<5082.1026510189.2@example.net>\" \"Single line part\" \"7BIT\" 2 1) \"mixed\" NIL NIL NIL))"\
"OK"
# BODY.PEEK[<section>]<<partial>>
......@@ -318,10 +318,10 @@ imap4d_test "FETCH 1 BODY\[TEXT\]<0.4000>"\
# more numeric part specifiers.
imap4d_test "FETCH 3 BODY\[1.MIME\]"\
"3 FETCH (FLAGS (\\Seen) BODY\[1.MIME\] {145}"\
"3 FETCH (FLAGS (\\Seen) BODY\[1.MIME\] {138}"\
-literal\
"Content-Type: text/plain; name=\"msg.1\"; charset=\"us-ascii\""\
"Content-ID: <5082.1026510189.1@Mirddin.farlep.net>"\
"Content-ID: <5082.1026510189.1@example.net>"\
"Content-Description: How doth"\
""\
")"\
......@@ -354,11 +354,11 @@ imap4d_test "FETCH 4 BODY\[2.2.1.TEXT\]"\
"OK"
imap4d_test "FETCH 4 BODY\[2.2.TEXT\]"\
"4 FETCH (BODY\[2.2.TEXT\] {1446}"\
"4 FETCH (BODY\[2.2.TEXT\] {1432}"\
-literal\
-- "------- =_aaaaaaaaaa2"\
"Content-Type: application/octet-stream; name=\"msg.23\""\
"Content-ID: <5122.1026510654.6@Mirddin.farlep.net>"\
"Content-ID: <5122.1026510654.6@example.net>"\
"Content-Description: Father William Part III"\
"Content-Transfer-Encoding: base64"\
""\
......@@ -372,7 +372,7 @@ imap4d_test "FETCH 4 BODY\[2.2.TEXT\]"\
""\
-- "------- =_aaaaaaaaaa2"\
"Content-Type: application/octet-stream; name=\"msg.24\""\
"Content-ID: <5122.1026510654.7@Mirddin.farlep.net>"\
"Content-ID: <5122.1026510654.7@example.net>"\
"Content-Description: Father William Part IV"\
"Content-Transfer-Encoding: base64"\
""\
......@@ -488,7 +488,7 @@ imap4d_test "FETCH 2 RFC822.HEADER"\
# RFC822.SIZE The [RFC-822] size of the message.
imap4d_test "FETCH 3 RFC822.SIZE"\
"3 FETCH (RFC822.SIZE 1667)"\
"3 FETCH (RFC822.SIZE 1611)"\
"OK"
# RFC822.TEXT Functionally equivalent to BODY[TEXT], differing in
......@@ -515,7 +515,7 @@ imap4d_test "FETCH 1 FAST" \
# RFC822.SIZE ENVELOPE BODY)
imap4d_test "FETCH 4 FULL"\
"4 FETCH (FLAGS (\\Recent) INTERNALDATE \"13-Jul-2002 00:50:58 +0000\" RFC822.SIZE 3567 ENVELOPE (\"Sat, 13 Jul 2002 00:50:58 +0300\" \"Nested MIME\" ((\"Sergey Poznyakoff\" NIL \"gray\" \"Mirddin.farlep.net\")) ((\"Sergey Poznyakoff\" NIL \"gray\" \"Mirddin.farlep.net\")) ((\"Sergey Poznyakoff\" NIL \"gray\" \"Mirddin.farlep.net\")) ((\"Foo Bar\" NIL \"foobar\" \"nonexistent.net\")) NIL NIL NIL \"<200207122150.g6CLowb05126@Mirddin.farlep.net>\") BODY ((\"text\" \"plain\" (\"name\" \"msg.21\" \"charset\" \"us-ascii\") \"<5122.1026510654.2@Mirddin.farlep.net>\" \"Father William Part I\" \"7BIT\" 351 10)((\"application\" \"octet-stream\" (\"name\" \"msg.22\") \"<5122.1026510654.4@Mirddin.farlep.net>\" \"Father William Part II\" \"base64\" 486)((\"application\" \"octet-stream\" (\"name\" \"msg.23\") \"<5122.1026510654.6@Mirddin.farlep.net>\" \"Father William Part III\" \"base64\" 490)(\"application\" \"octet-stream\" (\"name\" \"msg.24\") \"<5122.1026510654.7@Mirddin.farlep.net>\" \"Father William Part IV\" \"base64\" 502) \"mixed\" NIL NIL NIL) \"mixed\" NIL NIL NIL) \"mixed\" NIL NIL NIL))"\
"4 FETCH (FLAGS (\\Recent) INTERNALDATE \"13-Jul-2002 00:50:58 +0000\" RFC822.SIZE 3483 ENVELOPE (\"Sat, 13 Jul 2002 00:50:58 +0300\" \"Nested MIME\" ((\"Sergey Poznyakoff\" NIL \"gray\" \"example.net\")) ((\"Sergey Poznyakoff\" NIL \"gray\" \"example.net\")) ((\"Sergey Poznyakoff\" NIL \"gray\" \"example.net\")) ((\"Foo Bar\" NIL \"foobar\" \"nonexistent.net\")) NIL NIL NIL \"<200207122150.g6CLowb05126@example.net>\") BODY ((\"text\" \"plain\" (\"name\" \"msg.21\" \"charset\" \"us-ascii\") \"<5122.1026510654.2@example.net>\" \"Father William Part I\" \"7BIT\" 351 10)((\"application\" \"octet-stream\" (\"name\" \"msg.22\") \"<5122.1026510654.4@example.net>\" \"Father William Part II\" \"base64\" 486)((\"application\" \"octet-stream\" (\"name\" \"msg.23\") \"<5122.1026510654.6@example.net>\" \"Father William Part III\" \"base64\" 490)(\"application\" \"octet-stream\" (\"name\" \"msg.24\") \"<5122.1026510654.7@example.net>\" \"Father William Part IV\" \"base64\" 502) \"mixed\" NIL NIL NIL) \"mixed\" NIL NIL NIL) \"mixed\" NIL NIL NIL))"\
"OK"
imap4d_stop
......
......@@ -53,7 +53,7 @@ mail_test "file &" \
mail_test "sum" \
"\"$MU_SPOOL_DIR/mbox\": 1 message 1 new"
mail_test "headers" \
">N 1 Sergey Poznyakoff Tue Jul 16 12:11 12/425 MBOX"
">N 1 Sergey Poznyakoff Tue Jul 16 12:11 12/390 MBOX"
mail_stop
......
......@@ -27,16 +27,16 @@ mail_command "set readonly"
mail_test "size *" \
"> 1 44/1254 "\
" 2 13/534 "\
" 3 42/1625 "\
" 4 84/3483 "
" 3 42/1569 "\
" 4 84/3399 "
###########################################################################
# `headers' and `print'
mail_test "headers" \
">N 1 Foo Bar Fri Dec 28 22:18 44/1254 Jabberwocky" \
" N 2 Bar Fri Dec 28 23:28 13/534 Re: Jabberwocky" \
" N 3 Sergey Poznyakoff Sat Jul 13 00:43 42/1625 Simple MIME" \
" N 4 Sergey Poznyakoff Sat Jul 13 00:50 84/3483 Nested MIME" \
" N 3 Sergey Poznyakoff Sat Jul 13 00:43 42/1569 Simple MIME" \
" N 4 Sergey Poznyakoff Sat Jul 13 00:50 84/3399 Nested MIME" \
mail_test "print"\
"Received: (from foobar@nonexistent.net)"\
......@@ -158,8 +158,8 @@ mail_test -message "top (2)" "top" \
mail_test -message "headers (2)" "headers" \
">R 1 Foo Bar Fri Dec 28 22:18 44/1254 Jabberwocky" \
" N 2 Bar Fri Dec 28 23:28 13/534 Re: Jabberwocky" \
" N 3 Sergey Poznyakoff Sat Jul 13 00:43 42/1625 Simple MIME" \
" N 4 Sergey Poznyakoff Sat Jul 13 00:50 84/3483 Nested MIME" \
" N 3 Sergey Poznyakoff Sat Jul 13 00:43 42/1569 Simple MIME" \
" N 4 Sergey Poznyakoff Sat Jul 13 00:50 84/3399 Nested MIME" \
###########################################################################
# `next' should display the 2nd message
......@@ -185,8 +185,8 @@ mail_test "next" \
mail_test -message "headers (3)" "headers" \
" R 1 Foo Bar Fri Dec 28 22:18 44/1254 Jabberwocky" \
">R 2 Bar Fri Dec 28 23:28 13/534 Re: Jabberwocky" \
" N 3 Sergey Poznyakoff Sat Jul 13 00:43 42/1625 Simple MIME" \
" N 4 Sergey Poznyakoff Sat Jul 13 00:50 84/3483 Nested MIME" \
" N 3 Sergey Poznyakoff Sat Jul 13 00:43 42/1569 Simple MIME" \
" N 4 Sergey Poznyakoff Sat Jul 13 00:50 84/3399 Nested MIME" \
###########################################################################
# Check for `prev'
......@@ -212,8 +212,8 @@ mail_test "prev"\
mail_test -message "headers (4)" "headers" \
">R 1 Foo Bar Fri Dec 28 22:18 44/1254 Jabberwocky" \
" R 2 Bar Fri Dec 28 23:28 13/534 Re: Jabberwocky" \
" N 3 Sergey Poznyakoff Sat Jul 13 00:43 42/1625 Simple MIME" \
" N 4 Sergey Poznyakoff Sat Jul 13 00:50 84/3483 Nested MIME" \
" N 3 Sergey Poznyakoff Sat Jul 13 00:43 42/1569 Simple MIME" \
" N 4 Sergey Poznyakoff Sat Jul 13 00:50 84/3399 Nested MIME" \
###########################################################################
# print with an argument
......@@ -245,7 +245,7 @@ mail_test -message "decoding simple MIME messages" \
"| Encoding=7bit"\
"+------------------------------------------------------------------------------+"\
"Content-Type: text/plain; name=\"msg.1\"; charset=\"us-ascii\""\
"Content-ID: <5082.1026510189.1@Mirddin.farlep.net>"\
"Content-ID: <5082.1026510189.1@example.net>"\
"Content-Description: How doth"\
""\
"How doth the little crocodile"\
......@@ -263,7 +263,7 @@ mail_test -message "decoding simple MIME messages" \
"| Encoding=base64"\
"+------------------------------------------------------------------------------+"\
"Content-Type: application/octet-stream; name=\"msg.21\""\
"Content-ID: <5082.1026510189.2@Mirddin.farlep.net>"\
"Content-ID: <5082.1026510189.2@example.net>"\
"Content-Description: Father William Part I"\
"Content-Transfer-Encoding: base64"\
""\
......@@ -285,7 +285,7 @@ mail_test -message "decoding nested MIME messages" \
"| Encoding=7bit"\
"+------------------------------------------------------------------------------+"\
"Content-Type: text/plain; name=\"msg.21\"; charset=\"us-ascii\""\
"Content-ID: <5122.1026510654.2@Mirddin.farlep.net>"\
"Content-ID: <5122.1026510654.2@example.net>"\
"Content-Description: Father William Part I"\
""\
"`You are old, Father William,' the young man said,"\
......@@ -304,7 +304,7 @@ mail_test -message "decoding nested MIME messages" \
"| Encoding=base64"\
"+------------------------------------------------------------------------------+"\
"Content-Type: application/octet-stream; name=\"msg.22\""\
"Content-ID: <5122.1026510654.4@Mirddin.farlep.net>"\
"Content-ID: <5122.1026510654.4@example.net>"\
"Content-Description: Father William Part II"\
"Content-Transfer-Encoding: base64"\
""\
......@@ -323,7 +323,7 @@ mail_test -message "decoding nested MIME messages" \
"| Encoding=base64"\
"+------------------------------------------------------------------------------+"\
"Content-Type: application/octet-stream; name=\"msg.23\""\
"Content-ID: <5122.1026510654.6@Mirddin.farlep.net>"\
"Content-ID: <5122.1026510654.6@example.net>"\
"Content-Description: Father William Part III"\
"Content-Transfer-Encoding: base64"\
""\
......@@ -342,7 +342,7 @@ mail_test -message "decoding nested MIME messages" \
"| Encoding=base64"\
"+------------------------------------------------------------------------------+"\
"Content-Type: application/octet-stream; name=\"msg.24\""\
"Content-ID: <5122.1026510654.7@Mirddin.farlep.net>"\
"Content-ID: <5122.1026510654.7@example.net>"\
"Content-Description: Father William Part IV"\
"Content-Transfer-Encoding: base64"\
""\
......@@ -364,7 +364,7 @@ mail_test -message "Addressing parts of a MIME message" \
"| Encoding=base64"\
"+------------------------------------------------------------------------------+"\
"Content-Type: application/octet-stream; name=\"msg.23\""\
"Content-ID: <5122.1026510654.6@Mirddin.farlep.net>"\
"Content-ID: <5122.1026510654.6@example.net>"\
"Content-Description: Father William Part III"\
"Content-Transfer-Encoding: base64"\
""\
......@@ -386,7 +386,7 @@ mail_test -message "Addressing parts of a MIME message (2)" \
"| Encoding=base64"\
"+------------------------------------------------------------------------------+"\
"Content-Type: application/octet-stream; name=\"msg.23\""\
"Content-ID: <5122.1026510654.6@Mirddin.farlep.net>"\
"Content-ID: <5122.1026510654.6@example.net>"\
"Content-Description: Father William Part III"\
"Content-Transfer-Encoding: base64"\
""\
......@@ -405,7 +405,7 @@ mail_test -message "Addressing parts of a MIME message (2)" \
"| Encoding=base64"\
"+------------------------------------------------------------------------------+"\
"Content-Type: application/octet-stream; name=\"msg.24\""\
"Content-ID: <5122.1026510654.7@Mirddin.farlep.net>"\
"Content-ID: <5122.1026510654.7@example.net>"\
"Content-Description: Father William Part IV"\
"Content-Transfer-Encoding: base64"\
""\
......
......@@ -41,15 +41,15 @@ mail_test "delete" "No applicable messages"
mail_start -reuse-spool "--file=%mbox1"
mail_test "h" \
">U 1 Bar Fri Dec 28 23:28 16/578 Re: Jabberwocky"\
" U 2 Sergey Poznyakoff Sat Jul 13 00:43 44/1644 Simple MIME"\
" U 3 Sergey Poznyakoff Sat Jul 13 00:43 29/932 Empty MIME Parts"
" U 2 Sergey Poznyakoff Sat Jul 13 00:43 44/1588 Simple MIME"\
" U 3 Sergey Poznyakoff Sat Jul 13 00:43 29/876 Empty MIME Parts"
# Send first message to mbox...
mail_command "mbox 1"
mail_test "h" \
">M 1 Bar Fri Dec 28 23:28 16/578 Re: Jabberwocky"\
" U 2 Sergey Poznyakoff Sat Jul 13 00:43 44/1644 Simple MIME"\
" U 3 Sergey Poznyakoff Sat Jul 13 00:43 29/932 Empty MIME Parts"
" U 2 Sergey Poznyakoff Sat Jul 13 00:43 44/1588 Simple MIME"\
" U 3 Sergey Poznyakoff Sat Jul 13 00:43 29/876 Empty MIME Parts"
# ... and quit
mail_test -noprompt "quit" \
......@@ -59,16 +59,16 @@ mail_test -noprompt "quit" \
# Now check the mbox contents
mail_start -reuse-spool "--file=%mbox"
mail_test "headers" \
">N 1 Sergey Poznyakoff Tue Jul 16 12:11 12/425 MBOX"\
">N 1 Sergey Poznyakoff Tue Jul 16 12:11 12/390 MBOX"\
" U 2 Bar Fri Dec 28 23:28 16/578 Re: Jabberwocky"
# Save messages to the third mailbox
mail_command "set folder=\"$MU_FOLDER_DIR\""
mail_test "save 1 2 +three" \
"\"$MU_FOLDER_DIR/three\" 28/1003"
"\"$MU_FOLDER_DIR/three\" 28/968"
mail_test "headers" \
">* 1 Sergey Poznyakoff Tue Jul 16 12:11 12/425 MBOX"\
">* 1 Sergey Poznyakoff Tue Jul 16 12:11 12/390 MBOX"\
" * 2 Bar Fri Dec 28 23:28 16/578 Re: Jabberwocky"
mail_test -noprompt "quit" \
......@@ -77,19 +77,19 @@ mail_test -noprompt "quit" \
# Examine its contents
mail_start -reuse-spool "--file=$MU_FOLDER_DIR/three"
mail_test "headers" \
">N 1 Sergey Poznyakoff Tue Jul 16 12:11 12/425 MBOX"\
">N 1 Sergey Poznyakoff Tue Jul 16 12:11 12/390 MBOX"\
" U 2 Bar Fri Dec 28 23:28 16/578 Re: Jabberwocky"
# Test uppercase commands (Save and Copy)
mail_command "set outfolder=\"$MU_FOLDER_DIR\""
mail_test "Save" \
"\"$MU_FOLDER_DIR/gray\" 12/425"
"\"$MU_FOLDER_DIR/gray\" 12/390"
mail_test "file \"$MU_FOLDER_DIR/gray\"" \
"Held 2 messages in $MU_FOLDER_DIR/three"
mail_test "headers" \
">N 1 Sergey Poznyakoff Tue Jul 16 12:11 12/425 MBOX"
">N 1 Sergey Poznyakoff Tue Jul 16 12:11 12/390 MBOX"
mail_exit
# Test write
......
......@@ -48,9 +48,9 @@ scan +mbox1 -format '%4(msg) %(decode(friendly{from})) - %(decode(friendly{to}))
[0],
[ 1 Foo Bar <foobar@nonexistent.net> - Bar <bar@dontmailme.org>
2 Bar <bar@dontmailme.org> - Foo Bar <foobar@nonexistent.net>
3 Sergey Poznyakoff <gray@Mirddin.farlep.net> - Foo Bar <foobar@nonexistent.
4 Sergey Poznyakoff <gray@Mirddin.farlep.net> - Foo Bar <foobar@nonexistent.
5 Sergey Poznyakoff <gray@Mirddin.farlep.net> - Foo Bar <foobar@nonexistent.
3 Sergey Poznyakoff <gray@example.net> - Foo Bar <foobar@nonexistent.net>
4 Sergey Poznyakoff <gray@example.net> - Foo Bar <foobar@nonexistent.net>
5 Sergey Poznyakoff <gray@example.net> - Foo Bar <foobar@nonexistent.net>
])
MH_CHECK([scan -form],[scan03 scan-form],[
......@@ -61,9 +61,9 @@ scan +mbox1 -form formfile
[0],
[ 1 Foo Bar <foobar@nonexistent.net> - Bar <bar@dontmailme.org>
2 Bar <bar@dontmailme.org> - Foo Bar <foobar@nonexistent.net>
3 Sergey Poznyakoff <gray@Mirddin.farlep.net> - Foo Bar <foobar@nonexistent.
4 Sergey Poznyakoff <gray@Mirddin.farlep.net> - Foo Bar <foobar@nonexistent.
5 Sergey Poznyakoff <gray@Mirddin.farlep.net> - Foo Bar <foobar@nonexistent.
3 Sergey Poznyakoff <gray@example.net> - Foo Bar <foobar@nonexistent.net>
4 Sergey Poznyakoff <gray@example.net> - Foo Bar <foobar@nonexistent.net>
5 Sergey Poznyakoff <gray@example.net> - Foo Bar <foobar@nonexistent.net>
])
MH_CHECK([scan -reverse],[scan04 scan-reverse],[
......
......@@ -71,11 +71,11 @@ that's clear, at any rate...
To: Foo Bar <foobar@nonexistent.net>
Subject: Simple MIME
Date: Sat, 13 Jul 2002 00:43:18 +0300
From: Sergey Poznyakoff <gray@Mirddin.farlep.net>
From: Sergey Poznyakoff <gray@example.net>
------- =_aaaaaaaaaa0
Content-Type: text/plain; name="msg.1"; charset="us-ascii"
Content-ID: <5082.1026510189.1@Mirddin.farlep.net>
Content-ID: <5082.1026510189.1@example.net>
Content-Description: How doth
How doth the little crocodile
......@@ -90,7 +90,7 @@ With gently smiling jaws!
------- =_aaaaaaaaaa0
Content-Type: application/octet-stream; name="msg.21"
Content-ID: <5082.1026510189.2@Mirddin.farlep.net>
Content-ID: <5082.1026510189.2@example.net>
Content-Description: Father William Part I
Content-Transfer-Encoding: base64
......@@ -106,11 +106,11 @@ ZWN0bHkgc3VyZSBJIGhhdmUgbm9uZSwKV2h5LCBJIGRvIGl0IGFnYWluIGFuZCBhZ2Fpbi4nCgo=
To: Foo Bar <foobar@nonexistent.net>
Subject: Nested MIME
Date: Sat, 13 Jul 2002 00:50:58 +0300
From: Sergey Poznyakoff <gray@Mirddin.farlep.net>
From: Sergey Poznyakoff <gray@example.net>
------- =_aaaaaaaaaa0
Content-Type: text/plain; name="msg.21"; charset="us-ascii"
Content-ID: <5122.1026510654.2@Mirddin.farlep.net>
Content-ID: <5122.1026510654.2@example.net>
Content-Description: Father William Part I
`You are old, Father William,' the young man said,
......@@ -126,11 +126,11 @@ Why, I do it again and again.'
------- =_aaaaaaaaaa0
Content-Type: multipart/mixed; boundary="----- =_aaaaaaaaaa1"
Content-ID: <5122.1026510654.3@Mirddin.farlep.net>
Content-ID: <5122.1026510654.3@example.net>
------- =_aaaaaaaaaa1
Content-Type: application/octet-stream; name="msg.22"
Content-ID: <5122.1026510654.4@Mirddin.farlep.net>
Content-ID: <5122.1026510654.4@example.net>
Content-Description: Father William Part II
Content-Transfer-Encoding: base64
......@@ -144,11 +144,11 @@ IGNvdXBsZT8nCg==
------- =_aaaaaaaaaa1
Content-Type: multipart/mixed; boundary="----- =_aaaaaaaaaa2"
Content-ID: <5122.1026510654.5@Mirddin.farlep.net>
Content-ID: <5122.1026510654.5@example.net>
------- =_aaaaaaaaaa2
Content-Type: application/octet-stream; name="msg.23"
Content-ID: <5122.1026510654.6@Mirddin.farlep.net>
Content-ID: <5122.1026510654.6@example.net>
Content-Description: Father William Part III
Content-Transfer-Encoding: base64
......@@ -162,7 +162,7 @@ dCBvZiBteSBsaWZlLicK
------- =_aaaaaaaaaa2
Content-Type: application/octet-stream; name="msg.24"
Content-ID: <5122.1026510654.7@Mirddin.farlep.net>
Content-ID: <5122.1026510654.7@example.net>
Content-Description: Father William Part IV
Content-Transfer-Encoding: base64
......@@ -183,17 +183,17 @@ IGtpY2sgeW91IGRvd24gc3RhaXJzIScK
To: Foo Bar <foobar@nonexistent.net>
Subject: Empty MIME Parts
Date: Sat, 13 Jul 2002 00:43:18 +0300
From: Sergey Poznyakoff <gray@Mirddin.farlep.net>
From: Sergey Poznyakoff <gray@example.net>
------- =_aaaaaaaaaa0
Content-Type: text/plain; name="empty"; charset="us-ascii"
Content-ID: <5082.1026510189.1@Mirddin.farlep.net>
Content-ID: <5082.1026510189.1@example.net>
Content-Description: Empty part
------- =_aaaaaaaaaa0
Content-Type: text/plain; name="single.line"; charset="us-ascii"
Content-ID: <5082.1026510189.2@Mirddin.farlep.net>
Content-ID: <5082.1026510189.2@example.net>
Content-Description: Single line part
......
Organization: Mailutils-tests
Received: from Mirddin.farlep.net (localhost [127.0.0.1])
by Mirddin.farlep.net with ESMTP id g6CLhIb05086
for <gray@mirddin.farlep.net>; Sat, 13 Jul 2002 00:43:18 +0300
Message-Id: <200207122143.g6CLhIb05086@Mirddin.farlep.net>
Received: from example.net (localhost [127.0.0.1])
by example.net with ESMTP id g6CLhIb05086
for <gray@example.net>; Sat, 13 Jul 2002 00:43:18 +0300
Message-Id: <200207122143.g6CLhIb05086@example.net>
To: Foo Bar <foobar@nonexistent.net>
Subject: Simple MIME
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----- =_aaaaaaaaaa0"
Content-ID: <5082.1026510189.0@Mirddin.farlep.net>
Content-ID: <5082.1026510189.0@example.net>
Date: Sat, 13 Jul 2002 00:43:18 +0300
From: Sergey Poznyakoff <gray@Mirddin.farlep.net>
From: Sergey Poznyakoff <gray@example.net>
X-Envelope-Date: Sat Jul 13 00:43:18 2002
X-Envelope-Sender: gray@Mirddin.farlep.net
X-Envelope-Sender: gray@example.net
------- =_aaaaaaaaaa0
Content-Type: text/plain; name="msg.1"; charset="us-ascii"
Content-ID: <5082.1026510189.1@Mirddin.farlep.net>
Content-ID: <5082.1026510189.1@example.net>
Content-Description: How doth
How doth the little crocodile
......@@ -30,7 +30,7 @@ With gently smiling jaws!
------- =_aaaaaaaaaa0
Content-Type: application/octet-stream; name="msg.21"
Content-ID: <5082.1026510189.2@Mirddin.farlep.net>
Content-ID: <5082.1026510189.2@example.net>
Content-Description: Father William Part I
Content-Transfer-Encoding: base64
......
Organization: Mailutils-tests
Received: from Mirddin.farlep.net (localhost [127.0.0.1])
by Mirddin.farlep.net with ESMTP id g6CLowb05126
for <gray@mirddin.farlep.net>; Sat, 13 Jul 2002 00:50:58 +0300
Message-Id: <200207122150.g6CLowb05126@Mirddin.farlep.net>
Received: from example.net (localhost [127.0.0.1])
by example.net with ESMTP id g6CLowb05126
for <gray@example.net>; Sat, 13 Jul 2002 00:50:58 +0300
Message-Id: <200207122150.g6CLowb05126@example.net>
To: Foo Bar <foobar@nonexistent.net>
Subject: Nested MIME
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----- =_aaaaaaaaaa0"
Content-ID: <5122.1026510654.1@Mirddin.farlep.net>
Content-ID: <5122.1026510654.1@example.net>
Date: Sat, 13 Jul 2002 00:50:58 +0300
From: Sergey Poznyakoff <gray@Mirddin.farlep.net>
From: Sergey Poznyakoff <gray@example.net>
X-Envelope-Date: Sat Jul 13 00:50:58 2002
X-Envelope-Sender: gray@Mirddin.farlep.net
X-Envelope-Sender: gray@example.net
------- =_aaaaaaaaaa0
Content-Type: text/plain; name="msg.21"; charset="us-ascii"
Content-ID: <5122.1026510654.2@Mirddin.farlep.net>
Content-ID: <5122.1026510654.2@example.net>
Content-Description: Father William Part I
`You are old, Father William,' the young man said,
......@@ -31,11 +31,11 @@ Why, I do it again and again.'
------- =_aaaaaaaaaa0
Content-Type: multipart/mixed; boundary="----- =_aaaaaaaaaa1"
Content-ID: <5122.1026510654.3@Mirddin.farlep.net>
Content-ID: <5122.1026510654.3@example.net>
------- =_aaaaaaaaaa1
Content-Type: application/octet-stream; name="msg.22"
Content-ID: <5122.1026510654.4@Mirddin.farlep.net>
Content-ID: <5122.1026510654.4@example.net>
Content-Description: Father William Part II
Content-Transfer-Encoding: base64
......@@ -49,11 +49,11 @@ IGNvdXBsZT8nCg==
------- =_aaaaaaaaaa1
Content-Type: multipart/mixed; boundary="----- =_aaaaaaaaaa2"
Content-ID: <5122.1026510654.5@Mirddin.farlep.net>
Content-ID: <5122.1026510654.5@example.net>
------- =_aaaaaaaaaa2
Content-Type: application/octet-stream; name="msg.23"
Content-ID: <5122.1026510654.6@Mirddin.farlep.net>
Content-ID: <5122.1026510654.6@example.net>
Content-Description: Father William Part III
Content-Transfer-Encoding: base64
......@@ -67,7 +67,7 @@ dCBvZiBteSBsaWZlLicK
------- =_aaaaaaaaaa2
Content-Type: application/octet-stream; name="msg.24"
Content-ID: <5122.1026510654.7@Mirddin.farlep.net>
Content-ID: <5122.1026510654.7@example.net>
Content-Description: Father William Part IV
Content-Transfer-Encoding: base64
......
Organization: Mailutils-tests
Received: from Mirddin.farlep.net (localhost [127.0.0.1])
by Mirddin.farlep.net with ESMTP id g6CLhIb05086
for <gray@mirddin.farlep.net>; Sat, 13 Jul 2002 00:43:18 +0300
Message-Id: <200207122143.g6CLhIb05086@Mirddin.farlep.net>
Received: from example.net (localhost [127.0.0.1])
by example.net with ESMTP id g6CLhIb05086
for <gray@example.net>; Sat, 13 Jul 2002 00:43:18 +0300
Message-Id: <200207122143.g6CLhIb05086@example.net>
To: Foo Bar <foobar@nonexistent.net>
Subject: Empty MIME Parts
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----- =_aaaaaaaaaa0"
Content-ID: <5082.1026510189.0@Mirddin.farlep.net>
Content-ID: <5082.1026510189.0@example.net>
Date: Sat, 13 Jul 2002 00:43:18 +0300
From: Sergey Poznyakoff <gray@Mirddin.farlep.net>
From: Sergey Poznyakoff <gray@example.net>
X-Envelope-Date: Sat Jul 13 00:43:18 2002
X-Envelope-Sender: gray@Mirddin.farlep.net
X-Envelope-Sender: gray@example.net
------- =_aaaaaaaaaa0
Content-Type: text/plain; name="empty"; charset="us-ascii"
Content-ID: <5082.1026510189.1@Mirddin.farlep.net>
Content-ID: <5082.1026510189.1@example.net>
Content-Description: Empty part
------- =_aaaaaaaaaa0
Content-Type: text/plain; name="single.line"; charset="us-ascii"
Content-ID: <5082.1026510189.2@Mirddin.farlep.net>
Content-ID: <5082.1026510189.2@example.net>
Content-Description: Single line part
......
Organization: Mailutils-tests
Received: from Mirddin.farlep.net (localhost [127.0.0.1])
by Mirddin.farlep.net with ESMTP id g6CLhIb05086
for <gray@mirddin.farlep.net>; Sat, 13 Jul 2002 00:43:18 +0300
Message-Id: <200207122143.g6CLhIb05086@Mirddin.farlep.net>
Received: from example.net (localhost [127.0.0.1])
by example.net with ESMTP id g6CLhIb05086
for <gray@example.net>; Sat, 13 Jul 2002 00:43:18 +0300
Message-Id: <200207122143.g6CLhIb05086@example.net>
To: Foo Bar <foobar@nonexistent.net>
Subject: Simple MIME
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----- =_aaaaaaaaaa0"
Content-ID: <5082.1026510189.0@Mirddin.farlep.net>
Content-ID: <5082.1026510189.0@example.net>
Date: Sat, 13 Jul 2002 00:43:18 +0300
From: Sergey Poznyakoff <gray@Mirddin.farlep.net>
From: Sergey Poznyakoff <gray@example.net>
X-Envelope-Date: Sat Jul 13 00:43:18 2002
X-Envelope-Sender: gray@Mirddin.farlep.net
X-Envelope-Sender: gray@example.net
------- =_aaaaaaaaaa0
Content-Type: text/plain; name="msg.1"; charset="us-ascii"
Content-ID: <5082.1026510189.1@Mirddin.farlep.net>
Content-ID: <5082.1026510189.1@example.net>
Content-Description: How doth
How doth the little crocodile
......@@ -30,7 +30,7 @@ With gently smiling jaws!
------- =_aaaaaaaaaa0
Content-Type: application/octet-stream; name="msg.21"
Content-ID: <5082.1026510189.2@Mirddin.farlep.net>
Content-ID: <5082.1026510189.2@example.net>
Content-Description: Father William Part I
Content-Transfer-Encoding: base64
......
Organization: Mailutils-tests
Received: from Mirddin.farlep.net (localhost [127.0.0.1])
by Mirddin.farlep.net with ESMTP id g6CLowb05126
for <gray@mirddin.farlep.net>; Sat, 13 Jul 2002 00:50:58 +0300
Message-Id: <200207122150.g6CLowb05126@Mirddin.farlep.net>
Received: from example.net (localhost [127.0.0.1])
by example.net with ESMTP id g6CLowb05126
for <gray@example.net>; Sat, 13 Jul 2002 00:50:58 +0300
Message-Id: <200207122150.g6CLowb05126@example.net>
To: Foo Bar <foobar@nonexistent.net>
Subject: Nested MIME
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----- =_aaaaaaaaaa0"
Content-ID: <5122.1026510654.1@Mirddin.farlep.net>
Content-ID: <5122.1026510654.1@example.net>
Date: Sat, 13 Jul 2002 00:50:58 +0300
From: Sergey Poznyakoff <gray@Mirddin.farlep.net>
From: Sergey Poznyakoff <gray@example.net>
X-Envelope-Date: Sat Jul 13 00:50:58 2002
X-Envelope-Sender: gray@Mirddin.farlep.net
X-Envelope-Sender: gray@example.net
------- =_aaaaaaaaaa0
Content-Type: text/plain; name="msg.21"; charset="us-ascii"
Content-ID: <5122.1026510654.2@Mirddin.farlep.net>
Content-ID: <5122.1026510654.2@example.net>
Content-Description: Father William Part I
`You are old, Father William,' the young man said,
......@@ -31,11 +31,11 @@ Why, I do it again and again.'
------- =_aaaaaaaaaa0
Content-Type: multipart/mixed; boundary="----- =_aaaaaaaaaa1"
Content-ID: <5122.1026510654.3@Mirddin.farlep.net>
Content-ID: <5122.1026510654.3@example.net>
------- =_aaaaaaaaaa1
Content-Type: application/octet-stream; name="msg.22"
Content-ID: <5122.1026510654.4@Mirddin.farlep.net>
Content-ID: <5122.1026510654.4@example.net>
Content-Description: Father William Part II
Content-Transfer-Encoding: base64
......@@ -49,11 +49,11 @@ IGNvdXBsZT8nCg==
------- =_aaaaaaaaaa1
Content-Type: multipart/mixed; boundary="----- =_aaaaaaaaaa2"
Content-ID: <5122.1026510654.5@Mirddin.farlep.net>
Content-ID: <5122.1026510654.5@example.net>
------- =_aaaaaaaaaa2
Content-Type: application/octet-stream; name="msg.23"
Content-ID: <5122.1026510654.6@Mirddin.farlep.net>
Content-ID: <5122.1026510654.6@example.net>
Content-Description: Father William Part III
Content-Transfer-Encoding: base64
......@@ -67,7 +67,7 @@ dCBvZiBteSBsaWZlLicK
------- =_aaaaaaaaaa2
Content-Type: application/octet-stream; name="msg.24"
Content-ID: <5122.1026510654.7@Mirddin.farlep.net>
Content-ID: <5122.1026510654.7@example.net>
Content-Description: Father William Part IV
Content-Transfer-Encoding: base64
......
Organization: Mailutils-tests
Received: from Mirddin.farlep.net (localhost [127.0.0.1])
by Mirddin.farlep.net with ESMTP id g6CLhIb05086
for <gray@mirddin.farlep.net>; Sat, 13 Jul 2002 00:43:18 +0300
Message-Id: <200207122143.g6CLhIb05086@Mirddin.farlep.net>
Received: from example.net (localhost [127.0.0.1])
by example.net with ESMTP id g6CLhIb05086
for <gray@example.net>; Sat, 13 Jul 2002 00:43:18 +0300
Message-Id: <200207122143.g6CLhIb05086@example.net>
To: Foo Bar <foobar@nonexistent.net>
Subject: Empty MIME Parts
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----- =_aaaaaaaaaa0"
Content-ID: <5082.1026510189.0@Mirddin.farlep.net>
Content-ID: <5082.1026510189.0@example.net>
Date: Sat, 13 Jul 2002 00:43:18 +0300
From: Sergey Poznyakoff <gray@Mirddin.farlep.net>
From: Sergey Poznyakoff <gray@example.net>
X-Envelope-Date: Sat Jul 13 00:43:18 2002
X-Envelope-Sender: gray@Mirddin.farlep.net
X-Envelope-Sender: gray@example.net
------- =_aaaaaaaaaa0
Content-Type: text/plain; name="empty"; charset="us-ascii"
Content-ID: <5082.1026510189.1@Mirddin.farlep.net>
Content-ID: <5082.1026510189.1@example.net>
Content-Description: Empty part
------- =_aaaaaaaaaa0
Content-Type: text/plain; name="single.line"; charset="us-ascii"
Content-ID: <5082.1026510189.2@Mirddin.farlep.net>
Content-ID: <5082.1026510189.2@example.net>
Content-Description: Single line part
......
......@@ -83,12 +83,12 @@ that's clear, at any rate...
End
Message: 3
From: Sergey Poznyakoff <gray@Mirddin.farlep.net>
From: Sergey Poznyakoff <gray@example.net>
Subject: Simple MIME
Number of parts in message - 2
Total message size - 1625/42
Total message size - 1569/42
Type of part 1 = text/plain
Message part size - 371/13: 141/4, 230/9
Message part size - 364/13: 134/4, 230/9
Text Message
Begin
How doth the little crocodile
......@@ -103,7 +103,7 @@ With gently smiling jaws!
End
Type of part 2 = application/octet-stream
Message part size - 645/11: 183/5, 462/6
Message part size - 638/11: 176/5, 462/6
Attachment - saving [[msg.21]]
Begin
`You are old, Father William,' the young man said,
......@@ -119,12 +119,12 @@ Why, I do it again and again.'
End
Message: 4
From: Sergey Poznyakoff <gray@Mirddin.farlep.net>
From: Sergey Poznyakoff <gray@example.net>
Subject: Nested MIME
Number of parts in message - 2
Total message size - 3483/84
Total message size - 3399/84
Type of part 1 = text/plain
Message part size - 496/14: 155/4, 341/10
Message part size - 489/14: 148/4, 341/10
Text Message
Begin
`You are old, Father William,' the young man said,
......@@ -140,11 +140,11 @@ Why, I do it again and again.'
End
Type of part 2 = multipart/mixed
Message part size - 2378/52: 114/3, 2264/49
Message part size - 2343/52: 107/3, 2236/49
Encapsulated message :
Begin
Type of part 1 = application/octet-stream
Message part size - 663/12: 184/5, 479/7
Message part size - 656/12: 177/5, 479/7
Attachment - saving [[msg.22]]
Begin
`You are old,' said the youth, `as I mentioned before,
......@@ -159,11 +159,11 @@ Allow me to sell you a couple?'
End
Type of part 2 = multipart/mixed
Message part size - 1531/32: 114/3, 1417/29
Message part size - 1510/32: 107/3, 1403/29
Encapsulated message :
Begin
Type of part 1 = application/octet-stream
Message part size - 668/12: 185/5, 483/7
Message part size - 661/12: 178/5, 483/7
Attachment - saving [[msg.23]]
Begin
`You are old,' said the youth, `and your jaws are too weak
......@@ -178,7 +178,7 @@ Has lasted the rest of my life.'
End
Type of part 2 = application/octet-stream
Message part size - 679/12: 184/5, 495/7
Message part size - 672/12: 177/5, 495/7
Attachment - saving [[msg.24]]
Begin
`You are old,' said the youth, `one would hardly suppose
......@@ -197,18 +197,18 @@ End
End
Message: 5
From: Sergey Poznyakoff <gray@Mirddin.farlep.net>
From: Sergey Poznyakoff <gray@example.net>
Subject: Empty MIME Parts
Number of parts in message - 2
Total message size - 913/27
Total message size - 857/27
Type of part 1 = text/plain
Message part size - 143/4: 143/4, 0/0
Message part size - 136/4: 136/4, 0/0
Text Message
Begin
End
Type of part 2 = text/plain
Message part size - 156/5: 155/4, 1/1
Message part size - 149/5: 148/4, 1/1
Text Message
Begin
......
From gray@Mirddin.farlep.net Tue Jul 16 12:11:35 2002
From gray@example.net Tue Jul 16 12:11:35 2002
Organization: Mailutils-tests
Received: from Mirddin.farlep.net (localhost [127.0.0.1])
by Mirddin.farlep.net with ESMTP id g6G9BZb00791
for <gray@mirddin.farlep.net>; Tue, 16 Jul 2002 12:11:35 +0300
Message-Id: <200207160911.g6G9BZb00791@Mirddin.farlep.net>
Received: from example.net (localhost [127.0.0.1])
by example.net with ESMTP id g6G9BZb00791
for <gray@example.net>; Tue, 16 Jul 2002 12:11:35 +0300
Message-Id: <200207160911.g6G9BZb00791@example.net>
To: Bar <bar@dontmailme.org>
Subject: MBOX
Date: Tue, 16 Jul 2002 12:11:35 +0300
From: Sergey Poznyakoff <gray@Mirddin.farlep.net>
From: Sergey Poznyakoff <gray@example.net>
This is a sample user's mbox.
......
......@@ -59,23 +59,23 @@ Somehow it seems to fill my head with ideas -- only I don't
exactly know what they are! However, SOMEBODY killed SOMETHING:
that's clear, at any rate...
From gray@Mirddin.farlep.net Sat Jul 13 00:43:18 2002
From gray@example.net Sat Jul 13 00:43:18 2002
Organization: Mailutils-tests
Received: from Mirddin.farlep.net (localhost [127.0.0.1])
by Mirddin.farlep.net with ESMTP id g6CLhIb05086
for <gray@mirddin.farlep.net>; Sat, 13 Jul 2002 00:43:18 +0300
Message-Id: <200207122143.g6CLhIb05086@Mirddin.farlep.net>
Received: from example.net (localhost [127.0.0.1])
by example.net with ESMTP id g6CLhIb05086
for <gray@example.net>; Sat, 13 Jul 2002 00:43:18 +0300
Message-Id: <200207122143.g6CLhIb05086@example.net>
To: Foo Bar <foobar@nonexistent.net>
Subject: Simple MIME
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----- =_aaaaaaaaaa0"
Content-ID: <5082.1026510189.0@Mirddin.farlep.net>
Content-ID: <5082.1026510189.0@example.net>
Date: Sat, 13 Jul 2002 00:43:18 +0300
From: Sergey Poznyakoff <gray@Mirddin.farlep.net>
From: Sergey Poznyakoff <gray@example.net>
------- =_aaaaaaaaaa0
Content-Type: text/plain; name="msg.1"; charset="us-ascii"
Content-ID: <5082.1026510189.1@Mirddin.farlep.net>
Content-ID: <5082.1026510189.1@example.net>
Content-Description: How doth
How doth the little crocodile
......@@ -90,7 +90,7 @@ With gently smiling jaws!
------- =_aaaaaaaaaa0
Content-Type: application/octet-stream; name="msg.21"
Content-ID: <5082.1026510189.2@Mirddin.farlep.net>
Content-ID: <5082.1026510189.2@example.net>
Content-Description: Father William Part I
Content-Transfer-Encoding: base64
......@@ -103,23 +103,23 @@ ZWN0bHkgc3VyZSBJIGhhdmUgbm9uZSwKV2h5LCBJIGRvIGl0IGFnYWluIGFuZCBhZ2Fpbi4nCgo=
------- =_aaaaaaaaaa0--
From gray@Mirddin.farlep.net Sat Jul 13 00:50:58 2002
From gray@example.net Sat Jul 13 00:50:58 2002
Organization: Mailutils-tests
Received: from Mirddin.farlep.net (localhost [127.0.0.1])
by Mirddin.farlep.net with ESMTP id g6CLowb05126
for <gray@mirddin.farlep.net>; Sat, 13 Jul 2002 00:50:58 +0300
Message-Id: <200207122150.g6CLowb05126@Mirddin.farlep.net>
Received: from example.net (localhost [127.0.0.1])
by example.net with ESMTP id g6CLowb05126
for <gray@example.net>; Sat, 13 Jul 2002 00:50:58 +0300
Message-Id: <200207122150.g6CLowb05126@example.net>
To: Foo Bar <foobar@nonexistent.net>
Subject: Nested MIME
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----- =_aaaaaaaaaa0"
Content-ID: <5122.1026510654.1@Mirddin.farlep.net>
Content-ID: <5122.1026510654.1@example.net>
Date: Sat, 13 Jul 2002 00:50:58 +0300
From: Sergey Poznyakoff <gray@Mirddin.farlep.net>
From: Sergey Poznyakoff <gray@example.net>
------- =_aaaaaaaaaa0
Content-Type: text/plain; name="msg.21"; charset="us-ascii"
Content-ID: <5122.1026510654.2@Mirddin.farlep.net>
Content-ID: <5122.1026510654.2@example.net>
Content-Description: Father William Part I
`You are old, Father William,' the young man said,
......@@ -135,11 +135,11 @@ Why, I do it again and again.'
------- =_aaaaaaaaaa0
Content-Type: multipart/mixed; boundary="----- =_aaaaaaaaaa1"
Content-ID: <5122.1026510654.3@Mirddin.farlep.net>
Content-ID: <5122.1026510654.3@example.net>
------- =_aaaaaaaaaa1
Content-Type: application/octet-stream; name="msg.22"
Content-ID: <5122.1026510654.4@Mirddin.farlep.net>
Content-ID: <5122.1026510654.4@example.net>
Content-Description: Father William Part II
Content-Transfer-Encoding: base64
......@@ -153,11 +153,11 @@ IGNvdXBsZT8nCg==
------- =_aaaaaaaaaa1
Content-Type: multipart/mixed; boundary="----- =_aaaaaaaaaa2"
Content-ID: <5122.1026510654.5@Mirddin.farlep.net>
Content-ID: <5122.1026510654.5@example.net>
------- =_aaaaaaaaaa2
Content-Type: application/octet-stream; name="msg.23"
Content-ID: <5122.1026510654.6@Mirddin.farlep.net>
Content-ID: <5122.1026510654.6@example.net>
Content-Description: Father William Part III
Content-Transfer-Encoding: base64
......@@ -171,7 +171,7 @@ dCBvZiBteSBsaWZlLicK
------- =_aaaaaaaaaa2
Content-Type: application/octet-stream; name="msg.24"
Content-ID: <5122.1026510654.7@Mirddin.farlep.net>
Content-ID: <5122.1026510654.7@example.net>
Content-Description: Father William Part IV
Content-Transfer-Encoding: base64
......@@ -189,29 +189,29 @@ IGtpY2sgeW91IGRvd24gc3RhaXJzIScK
------- =_aaaaaaaaaa0--
From gray@Mirddin.farlep.net Sat Jul 13 00:43:18 2002
From gray@example.net Sat Jul 13 00:43:18 2002
Organization: Mailutils-tests
Received: from Mirddin.farlep.net (localhost [127.0.0.1])
by Mirddin.farlep.net with ESMTP id g6CLhIb05086
for <gray@mirddin.farlep.net>; Sat, 13 Jul 2002 00:43:18 +0300
Message-Id: <200207122143.g6CLhIb05086@Mirddin.farlep.net>
Received: from example.net (localhost [127.0.0.1])
by example.net with ESMTP id g6CLhIb05086
for <gray@example.net>; Sat, 13 Jul 2002 00:43:18 +0300
Message-Id: <200207122143.g6CLhIb05086@example.net>
To: Foo Bar <foobar@nonexistent.net>
Subject: Empty MIME Parts
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----- =_aaaaaaaaaa0"
Content-ID: <5082.1026510189.0@Mirddin.farlep.net>
Content-ID: <5082.1026510189.0@example.net>
Date: Sat, 13 Jul 2002 00:43:18 +0300
From: Sergey Poznyakoff <gray@Mirddin.farlep.net>
From: Sergey Poznyakoff <gray@example.net>
------- =_aaaaaaaaaa0
Content-Type: text/plain; name="empty"; charset="us-ascii"
Content-ID: <5082.1026510189.1@Mirddin.farlep.net>
Content-ID: <5082.1026510189.1@example.net>
Content-Description: Empty part
------- =_aaaaaaaaaa0
Content-Type: text/plain; name="single.line"; charset="us-ascii"
Content-ID: <5082.1026510189.2@Mirddin.farlep.net>
Content-ID: <5082.1026510189.2@example.net>
Content-Description: Single line part
......
......@@ -62,14 +62,14 @@ contradict to RFC 3028.
From bar@dontmailme.org Sun May 6 22:17:15 2001
From: Bar <bar@dontmailme.org>
Received: from c.host.net ([1.1.1.3])
by Mirddin.farlep.net with ESMTP id g6G9BZb00791
for <gray@mirddin.farlep.net>; Tue, 16 Jul 2002 12:11:35 +0300
by example.net with ESMTP id g6G9BZb00791
for <gray@example.net>; Tue, 16 Jul 2002 12:11:35 +0300
Received: from b.host.net ([1.1.1.2])
by c.host.net with ESMTP id g6G9BZb00791
for <gray@mirddin.farlep.net>; Tue, 16 Jul 2002 12:11:35 +0300
for <gray@example.net>; Tue, 16 Jul 2002 12:11:35 +0300
Received: from a.host.net ([1.1.1.1])
by b.host.net with ESMTP id g6G9BZb00791
for <gray@mirddin.farlep.net>; Tue, 16 Jul 2002 12:11:35 +0300
for <gray@example.net>; Tue, 16 Jul 2002 12:11:35 +0300
To: foo@example.com.invalid, baz@example.com.invalid, qux@example.com.invalid,
me@foo.example.com.invalid, b1ff@de.res.example.com,
roadrunner@acme.example.com
......