From e72985a38cec9e31eb2c4b6fa012895ff07226a8 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Fri, 8 Jul 2022 11:47:59 +0200 Subject: Add a docker-compose spawning Dovecot+Cyrus+Maddy --- tests/emails/dxflrs/0002_mime.cyrus.body | 2 +- tests/emails/dxflrs/0002_mime.cyrus.bodystructure | 2 +- tests/emails/dxflrs/0002_mime.dovecot.body | 2 +- tests/emails/dxflrs/0002_mime.dovecot.bodystructure | 2 +- tests/emails/dxflrs/0002_mime.eml | 1 - tests/emails/dxflrs/0002_mime.maddy.body | 2 +- tests/emails/dxflrs/0002_mime.maddy.bodystructure | 2 +- tests/emails/dxflrs/0003_mime-in-mime.cyrus.body | 2 +- tests/emails/dxflrs/0003_mime-in-mime.cyrus.bodystructure | 2 +- tests/emails/dxflrs/0003_mime-in-mime.dovecot.body | 2 +- tests/emails/dxflrs/0003_mime-in-mime.dovecot.bodystructure | 2 +- tests/emails/dxflrs/0003_mime-in-mime.eml | 2 -- tests/emails/dxflrs/0003_mime-in-mime.maddy.body | 2 +- tests/emails/dxflrs/0003_mime-in-mime.maddy.bodystructure | 2 +- tests/emails/dxflrs/0004_msg-in-msg.cyrus.body | 2 +- tests/emails/dxflrs/0004_msg-in-msg.cyrus.bodystructure | 2 +- tests/emails/dxflrs/0004_msg-in-msg.dovecot.body | 2 +- tests/emails/dxflrs/0004_msg-in-msg.dovecot.bodystructure | 2 +- tests/emails/dxflrs/0004_msg-in-msg.eml | 1 - tests/emails/dxflrs/0004_msg-in-msg.maddy.body | 2 +- tests/emails/dxflrs/0004_msg-in-msg.maddy.bodystructure | 2 +- tests/emails/dxflrs/0005_mail-parser-readme.cyrus.body | 2 +- .../dxflrs/0005_mail-parser-readme.cyrus.bodystructure | 2 +- tests/emails/dxflrs/0005_mail-parser-readme.dovecot.body | 2 +- .../dxflrs/0005_mail-parser-readme.dovecot.bodystructure | 2 +- tests/emails/dxflrs/0005_mail-parser-readme.eml | 4 ++-- tests/emails/dxflrs/0005_mail-parser-readme.maddy.body | 2 +- .../dxflrs/0005_mail-parser-readme.maddy.bodystructure | 2 +- tests/emails/dxflrs/0006_single-mime.cyrus.body | 1 + tests/emails/dxflrs/0006_single-mime.cyrus.bodystructure | 1 + tests/emails/dxflrs/0006_single-mime.dovecot.body | 1 + tests/emails/dxflrs/0006_single-mime.dovecot.bodystructure | 1 + tests/emails/dxflrs/0006_single-mime.eml | 10 ++++++++++ tests/emails/dxflrs/0006_single-mime.maddy.body | 1 + tests/emails/dxflrs/0006_single-mime.maddy.bodystructure | 1 + tests/emails/dxflrs/0007_raw_msg_in_rfc822.cyrus.body | 1 + .../emails/dxflrs/0007_raw_msg_in_rfc822.cyrus.bodystructure | 1 + tests/emails/dxflrs/0007_raw_msg_in_rfc822.dovecot.body | 1 + .../dxflrs/0007_raw_msg_in_rfc822.dovecot.bodystructure | 1 + tests/emails/dxflrs/0007_raw_msg_in_rfc822.eml | 12 ++++++++++++ tests/emails/dxflrs/0007_raw_msg_in_rfc822.maddy.body | 1 + .../emails/dxflrs/0007_raw_msg_in_rfc822.maddy.bodystructure | 1 + 42 files changed, 60 insertions(+), 30 deletions(-) create mode 100644 tests/emails/dxflrs/0006_single-mime.cyrus.body create mode 100644 tests/emails/dxflrs/0006_single-mime.cyrus.bodystructure create mode 100644 tests/emails/dxflrs/0006_single-mime.dovecot.body create mode 100644 tests/emails/dxflrs/0006_single-mime.dovecot.bodystructure create mode 100644 tests/emails/dxflrs/0006_single-mime.eml create mode 100644 tests/emails/dxflrs/0006_single-mime.maddy.body create mode 100644 tests/emails/dxflrs/0006_single-mime.maddy.bodystructure create mode 100644 tests/emails/dxflrs/0007_raw_msg_in_rfc822.cyrus.body create mode 100644 tests/emails/dxflrs/0007_raw_msg_in_rfc822.cyrus.bodystructure create mode 100644 tests/emails/dxflrs/0007_raw_msg_in_rfc822.dovecot.body create mode 100644 tests/emails/dxflrs/0007_raw_msg_in_rfc822.dovecot.bodystructure create mode 100644 tests/emails/dxflrs/0007_raw_msg_in_rfc822.eml create mode 100644 tests/emails/dxflrs/0007_raw_msg_in_rfc822.maddy.body create mode 100644 tests/emails/dxflrs/0007_raw_msg_in_rfc822.maddy.bodystructure (limited to 'tests/emails') diff --git a/tests/emails/dxflrs/0002_mime.cyrus.body b/tests/emails/dxflrs/0002_mime.cyrus.body index 266e647..1a3e7e5 100644 --- a/tests/emails/dxflrs/0002_mime.cyrus.body +++ b/tests/emails/dxflrs/0002_mime.cyrus.body @@ -1 +1 @@ -(BODY (("TEXT" "PLAIN" ("CHARSET" "us-ascii") NIL NIL "7BIT" 9 1)("TEXT" "HTML" ("CHARSET" "utf-8") NIL NIL "8BIT" 16 1) "ALTERNATIVE")) \ No newline at end of file +(BODY (("TEXT" "PLAIN" ("CHARSET" "us-ascii") NIL NIL "7BIT" 9 1)("TEXT" "HTML" ("CHARSET" "utf-8") NIL NIL "8BIT" 14 0) "ALTERNATIVE")) \ No newline at end of file diff --git a/tests/emails/dxflrs/0002_mime.cyrus.bodystructure b/tests/emails/dxflrs/0002_mime.cyrus.bodystructure index ea386b6..2562f5a 100644 --- a/tests/emails/dxflrs/0002_mime.cyrus.bodystructure +++ b/tests/emails/dxflrs/0002_mime.cyrus.bodystructure @@ -1 +1 @@ -(BODYSTRUCTURE (("TEXT" "PLAIN" ("CHARSET" "us-ascii") NIL NIL "7BIT" 9 1 NIL NIL NIL NIL)("TEXT" "HTML" ("CHARSET" "utf-8") NIL NIL "8BIT" 16 1 NIL NIL NIL NIL) "ALTERNATIVE" ("BOUNDARY" "festivus") NIL NIL NIL)) \ No newline at end of file +(BODYSTRUCTURE (("TEXT" "PLAIN" ("CHARSET" "us-ascii") NIL NIL "7BIT" 9 1 NIL NIL NIL NIL)("TEXT" "HTML" ("CHARSET" "utf-8") NIL NIL "8BIT" 14 0 NIL NIL NIL NIL) "ALTERNATIVE" ("BOUNDARY" "festivus") NIL NIL NIL)) \ No newline at end of file diff --git a/tests/emails/dxflrs/0002_mime.dovecot.body b/tests/emails/dxflrs/0002_mime.dovecot.body index a6c1dd9..061267d 100644 --- a/tests/emails/dxflrs/0002_mime.dovecot.body +++ b/tests/emails/dxflrs/0002_mime.dovecot.body @@ -1 +1 @@ -(BODY (("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 9 1)("text" "html" ("charset" "utf-8") NIL NIL "8bit" 16 1) "alternative")) \ No newline at end of file +(BODY (("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 9 1)("text" "html" ("charset" "utf-8") NIL NIL "8bit" 14 0) "alternative")) \ No newline at end of file diff --git a/tests/emails/dxflrs/0002_mime.dovecot.bodystructure b/tests/emails/dxflrs/0002_mime.dovecot.bodystructure index 1dce36b..1b61c91 100644 --- a/tests/emails/dxflrs/0002_mime.dovecot.bodystructure +++ b/tests/emails/dxflrs/0002_mime.dovecot.bodystructure @@ -1 +1 @@ -(BODYSTRUCTURE (("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 9 1 NIL NIL NIL NIL)("text" "html" ("charset" "utf-8") NIL NIL "8bit" 16 1 NIL NIL NIL NIL) "alternative" ("boundary" "festivus") NIL NIL NIL)) \ No newline at end of file +(BODYSTRUCTURE (("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 9 1 NIL NIL NIL NIL)("text" "html" ("charset" "utf-8") NIL NIL "8bit" 14 0 NIL NIL NIL NIL) "alternative" ("boundary" "festivus") NIL NIL NIL)) \ No newline at end of file diff --git a/tests/emails/dxflrs/0002_mime.eml b/tests/emails/dxflrs/0002_mime.eml index c03e037..fc67f75 100644 --- a/tests/emails/dxflrs/0002_mime.eml +++ b/tests/emails/dxflrs/0002_mime.eml @@ -13,5 +13,4 @@ Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 8bit

Hello 2

- --festivus-- diff --git a/tests/emails/dxflrs/0002_mime.maddy.body b/tests/emails/dxflrs/0002_mime.maddy.body index 8c8758c..c3e64e9 100644 --- a/tests/emails/dxflrs/0002_mime.maddy.body +++ b/tests/emails/dxflrs/0002_mime.maddy.body @@ -1 +1 @@ -(BODY (("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 9 1) ("text" "html" ("charset" "utf-8") NIL NIL "8bit" 16 1) "alternative")) \ No newline at end of file +(BODY (("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 9 1) ("text" "html" ("charset" "utf-8") NIL NIL "8bit" 14 1) "alternative")) \ No newline at end of file diff --git a/tests/emails/dxflrs/0002_mime.maddy.bodystructure b/tests/emails/dxflrs/0002_mime.maddy.bodystructure index 83e6b64..933a301 100644 --- a/tests/emails/dxflrs/0002_mime.maddy.bodystructure +++ b/tests/emails/dxflrs/0002_mime.maddy.bodystructure @@ -1 +1 @@ -(BODYSTRUCTURE (("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 9 1 NIL NIL NIL NIL) ("text" "html" ("charset" "utf-8") NIL NIL "8bit" 16 1 NIL NIL NIL NIL) "alternative" ("boundary" "festivus") NIL NIL NIL)) \ No newline at end of file +(BODYSTRUCTURE (("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 9 1 NIL NIL NIL NIL) ("text" "html" ("charset" "utf-8") NIL NIL "8bit" 14 1 NIL NIL NIL NIL) "alternative" ("boundary" "festivus") NIL NIL NIL)) \ No newline at end of file diff --git a/tests/emails/dxflrs/0003_mime-in-mime.cyrus.body b/tests/emails/dxflrs/0003_mime-in-mime.cyrus.body index c810d09..e4c8581 100644 --- a/tests/emails/dxflrs/0003_mime-in-mime.cyrus.body +++ b/tests/emails/dxflrs/0003_mime-in-mime.cyrus.body @@ -1 +1 @@ -(BODY ((("TEXT" "PLAIN" ("CHARSET" "us-ascii") NIL NIL "7BIT" 9 1)("TEXT" "PLAIN" ("CHARSET" "us-ascii") NIL NIL "7BIT" 9 1) "MIXED")("TEXT" "PLAIN" ("CHARSET" "us-ascii") NIL NIL "7BIT" 9 1) "MIXED")) \ No newline at end of file +(BODY ((("TEXT" "PLAIN" ("CHARSET" "us-ascii") NIL NIL "7BIT" 9 1)("TEXT" "PLAIN" ("CHARSET" "us-ascii") NIL NIL "7BIT" 7 0) "MIXED")("TEXT" "PLAIN" ("CHARSET" "us-ascii") NIL NIL "7BIT" 7 0) "MIXED")) \ No newline at end of file diff --git a/tests/emails/dxflrs/0003_mime-in-mime.cyrus.bodystructure b/tests/emails/dxflrs/0003_mime-in-mime.cyrus.bodystructure index 7d4f4ae..5b14834 100644 --- a/tests/emails/dxflrs/0003_mime-in-mime.cyrus.bodystructure +++ b/tests/emails/dxflrs/0003_mime-in-mime.cyrus.bodystructure @@ -1 +1 @@ -(BODYSTRUCTURE ((("TEXT" "PLAIN" ("CHARSET" "us-ascii") NIL NIL "7BIT" 9 1 NIL NIL NIL NIL)("TEXT" "PLAIN" ("CHARSET" "us-ascii") NIL NIL "7BIT" 9 1 NIL NIL NIL NIL) "MIXED" ("BOUNDARY" "child") NIL NIL NIL)("TEXT" "PLAIN" ("CHARSET" "us-ascii") NIL NIL "7BIT" 9 1 NIL NIL NIL NIL) "MIXED" ("BOUNDARY" "parent") NIL NIL NIL)) \ No newline at end of file +(BODYSTRUCTURE ((("TEXT" "PLAIN" ("CHARSET" "us-ascii") NIL NIL "7BIT" 9 1 NIL NIL NIL NIL)("TEXT" "PLAIN" ("CHARSET" "us-ascii") NIL NIL "7BIT" 7 0 NIL NIL NIL NIL) "MIXED" ("BOUNDARY" "child") NIL NIL NIL)("TEXT" "PLAIN" ("CHARSET" "us-ascii") NIL NIL "7BIT" 7 0 NIL NIL NIL NIL) "MIXED" ("BOUNDARY" "parent") NIL NIL NIL)) \ No newline at end of file diff --git a/tests/emails/dxflrs/0003_mime-in-mime.dovecot.body b/tests/emails/dxflrs/0003_mime-in-mime.dovecot.body index ddf0f6d..1b091fc 100644 --- a/tests/emails/dxflrs/0003_mime-in-mime.dovecot.body +++ b/tests/emails/dxflrs/0003_mime-in-mime.dovecot.body @@ -1 +1 @@ -(BODY ((("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 9 1)("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 9 1) "mixed")("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 9 1) "mixed")) \ No newline at end of file +(BODY ((("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 9 1)("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 7 0) "mixed")("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 7 0) "mixed")) \ No newline at end of file diff --git a/tests/emails/dxflrs/0003_mime-in-mime.dovecot.bodystructure b/tests/emails/dxflrs/0003_mime-in-mime.dovecot.bodystructure index 903d343..b0de86f 100644 --- a/tests/emails/dxflrs/0003_mime-in-mime.dovecot.bodystructure +++ b/tests/emails/dxflrs/0003_mime-in-mime.dovecot.bodystructure @@ -1 +1 @@ -(BODYSTRUCTURE ((("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 9 1 NIL NIL NIL NIL)("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 9 1 NIL NIL NIL NIL) "mixed" ("boundary" "child") NIL NIL NIL)("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 9 1 NIL NIL NIL NIL) "mixed" ("boundary" "parent") NIL NIL NIL)) \ No newline at end of file +(BODYSTRUCTURE ((("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 9 1 NIL NIL NIL NIL)("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 7 0 NIL NIL NIL NIL) "mixed" ("boundary" "child") NIL NIL NIL)("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 7 0 NIL NIL NIL NIL) "mixed" ("boundary" "parent") NIL NIL NIL)) \ No newline at end of file diff --git a/tests/emails/dxflrs/0003_mime-in-mime.eml b/tests/emails/dxflrs/0003_mime-in-mime.eml index 52f4e15..3d5c5ff 100644 --- a/tests/emails/dxflrs/0003_mime-in-mime.eml +++ b/tests/emails/dxflrs/0003_mime-in-mime.eml @@ -14,11 +14,9 @@ Hello 1 Content-Type: text/plain; charset="us-ascii" Hello 2 - --child-- --parent Content-Type: text/plain; charset="us-ascii" Hello 3 - --parent-- diff --git a/tests/emails/dxflrs/0003_mime-in-mime.maddy.body b/tests/emails/dxflrs/0003_mime-in-mime.maddy.body index 124b66e..6426cc8 100644 --- a/tests/emails/dxflrs/0003_mime-in-mime.maddy.body +++ b/tests/emails/dxflrs/0003_mime-in-mime.maddy.body @@ -1 +1 @@ -(BODY ((("text" "plain" ("charset" "us-ascii") NIL NIL NIL 9 1) ("text" "plain" ("charset" "us-ascii") NIL NIL NIL 9 1) "mixed") ("text" "plain" ("charset" "us-ascii") NIL NIL NIL 9 1) "mixed")) \ No newline at end of file +(BODY ((("text" "plain" ("charset" "us-ascii") NIL NIL NIL 9 1) ("text" "plain" ("charset" "us-ascii") NIL NIL NIL 7 1) "mixed") ("text" "plain" ("charset" "us-ascii") NIL NIL NIL 7 1) "mixed")) \ No newline at end of file diff --git a/tests/emails/dxflrs/0003_mime-in-mime.maddy.bodystructure b/tests/emails/dxflrs/0003_mime-in-mime.maddy.bodystructure index e04a189..8d670f9 100644 --- a/tests/emails/dxflrs/0003_mime-in-mime.maddy.bodystructure +++ b/tests/emails/dxflrs/0003_mime-in-mime.maddy.bodystructure @@ -1 +1 @@ -(BODYSTRUCTURE ((("text" "plain" ("charset" "us-ascii") NIL NIL NIL 9 1 NIL NIL NIL NIL) ("text" "plain" ("charset" "us-ascii") NIL NIL NIL 9 1 NIL NIL NIL NIL) "mixed" ("boundary" "child") NIL NIL NIL) ("text" "plain" ("charset" "us-ascii") NIL NIL NIL 9 1 NIL NIL NIL NIL) "mixed" ("boundary" "parent") NIL NIL NIL)) \ No newline at end of file +(BODYSTRUCTURE ((("text" "plain" ("charset" "us-ascii") NIL NIL NIL 9 1 NIL NIL NIL NIL) ("text" "plain" ("charset" "us-ascii") NIL NIL NIL 7 1 NIL NIL NIL NIL) "mixed" ("boundary" "child") NIL NIL NIL) ("text" "plain" ("charset" "us-ascii") NIL NIL NIL 7 1 NIL NIL NIL NIL) "mixed" ("boundary" "parent") NIL NIL NIL)) \ No newline at end of file diff --git a/tests/emails/dxflrs/0004_msg-in-msg.cyrus.body b/tests/emails/dxflrs/0004_msg-in-msg.cyrus.body index d02b2e3..1423238 100644 --- a/tests/emails/dxflrs/0004_msg-in-msg.cyrus.body +++ b/tests/emails/dxflrs/0004_msg-in-msg.cyrus.body @@ -1 +1 @@ -(BODY (("TEXT" "PLAIN" ("CHARSET" "us-ascii") NIL NIL "7BIT" 9 1)("MESSAGE" "RFC822" NIL NIL NIL "7BIT" 129 (NIL "Welcome to Aerogramme!!" (("Garage team" NIL "garagehq" "deuxfleurs.fr")) (("Garage team" NIL "garagehq" "deuxfleurs.fr")) (("Garage team" NIL "garagehq" "deuxfleurs.fr")) NIL NIL NIL NIL NIL) ("TEXT" "PLAIN" ("CHARSET" "us-ascii") NIL NIL "7BIT" 49 1) 4) "MIXED")) \ No newline at end of file +(BODY (("TEXT" "PLAIN" ("CHARSET" "us-ascii") NIL NIL "7BIT" 7 0)("MESSAGE" "RFC822" NIL NIL NIL "7BIT" 129 (NIL "Welcome to Aerogramme!!" (("Garage team" NIL "garagehq" "deuxfleurs.fr")) (("Garage team" NIL "garagehq" "deuxfleurs.fr")) (("Garage team" NIL "garagehq" "deuxfleurs.fr")) NIL NIL NIL NIL NIL) ("TEXT" "PLAIN" ("CHARSET" "us-ascii") NIL NIL "7BIT" 49 1) 4) "MIXED")) \ No newline at end of file diff --git a/tests/emails/dxflrs/0004_msg-in-msg.cyrus.bodystructure b/tests/emails/dxflrs/0004_msg-in-msg.cyrus.bodystructure index 939e4fe..d320b42 100644 --- a/tests/emails/dxflrs/0004_msg-in-msg.cyrus.bodystructure +++ b/tests/emails/dxflrs/0004_msg-in-msg.cyrus.bodystructure @@ -1 +1 @@ -(BODYSTRUCTURE (("TEXT" "PLAIN" ("CHARSET" "us-ascii") NIL NIL "7BIT" 9 1 NIL NIL NIL NIL)("MESSAGE" "RFC822" NIL NIL NIL "7BIT" 129 (NIL "Welcome to Aerogramme!!" (("Garage team" NIL "garagehq" "deuxfleurs.fr")) (("Garage team" NIL "garagehq" "deuxfleurs.fr")) (("Garage team" NIL "garagehq" "deuxfleurs.fr")) NIL NIL NIL NIL NIL) ("TEXT" "PLAIN" ("CHARSET" "us-ascii") NIL NIL "7BIT" 49 1 NIL NIL NIL NIL) 4 NIL NIL NIL NIL) "MIXED" ("BOUNDARY" "delim") NIL NIL NIL)) \ No newline at end of file +(BODYSTRUCTURE (("TEXT" "PLAIN" ("CHARSET" "us-ascii") NIL NIL "7BIT" 7 0 NIL NIL NIL NIL)("MESSAGE" "RFC822" NIL NIL NIL "7BIT" 129 (NIL "Welcome to Aerogramme!!" (("Garage team" NIL "garagehq" "deuxfleurs.fr")) (("Garage team" NIL "garagehq" "deuxfleurs.fr")) (("Garage team" NIL "garagehq" "deuxfleurs.fr")) NIL NIL NIL NIL NIL) ("TEXT" "PLAIN" ("CHARSET" "us-ascii") NIL NIL "7BIT" 49 1 NIL NIL NIL NIL) 4 NIL NIL NIL NIL) "MIXED" ("BOUNDARY" "delim") NIL NIL NIL)) \ No newline at end of file diff --git a/tests/emails/dxflrs/0004_msg-in-msg.dovecot.body b/tests/emails/dxflrs/0004_msg-in-msg.dovecot.body index 9ff3336..067208b 100644 --- a/tests/emails/dxflrs/0004_msg-in-msg.dovecot.body +++ b/tests/emails/dxflrs/0004_msg-in-msg.dovecot.body @@ -1 +1 @@ -(BODY (("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 9 1)("message" "rfc822" NIL NIL NIL "7bit" 129 (NIL "Welcome to Aerogramme!!" (("Garage team" NIL "garagehq" "deuxfleurs.fr")) (("Garage team" NIL "garagehq" "deuxfleurs.fr")) (("Garage team" NIL "garagehq" "deuxfleurs.fr")) NIL NIL NIL NIL NIL) ("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 49 1) 4) "mixed")) \ No newline at end of file +(BODY (("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 7 0)("message" "rfc822" NIL NIL NIL "7bit" 129 (NIL "Welcome to Aerogramme!!" (("Garage team" NIL "garagehq" "deuxfleurs.fr")) (("Garage team" NIL "garagehq" "deuxfleurs.fr")) (("Garage team" NIL "garagehq" "deuxfleurs.fr")) NIL NIL NIL NIL NIL) ("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 49 1) 4) "mixed")) \ No newline at end of file diff --git a/tests/emails/dxflrs/0004_msg-in-msg.dovecot.bodystructure b/tests/emails/dxflrs/0004_msg-in-msg.dovecot.bodystructure index a0d751a..a85182f 100644 --- a/tests/emails/dxflrs/0004_msg-in-msg.dovecot.bodystructure +++ b/tests/emails/dxflrs/0004_msg-in-msg.dovecot.bodystructure @@ -1 +1 @@ -(BODYSTRUCTURE (("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 9 1 NIL NIL NIL NIL)("message" "rfc822" NIL NIL NIL "7bit" 129 (NIL "Welcome to Aerogramme!!" (("Garage team" NIL "garagehq" "deuxfleurs.fr")) (("Garage team" NIL "garagehq" "deuxfleurs.fr")) (("Garage team" NIL "garagehq" "deuxfleurs.fr")) NIL NIL NIL NIL NIL) ("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 49 1 NIL NIL NIL NIL) 4 NIL NIL NIL NIL) "mixed" ("boundary" "delim") NIL NIL NIL)) \ No newline at end of file +(BODYSTRUCTURE (("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 7 0 NIL NIL NIL NIL)("message" "rfc822" NIL NIL NIL "7bit" 129 (NIL "Welcome to Aerogramme!!" (("Garage team" NIL "garagehq" "deuxfleurs.fr")) (("Garage team" NIL "garagehq" "deuxfleurs.fr")) (("Garage team" NIL "garagehq" "deuxfleurs.fr")) NIL NIL NIL NIL NIL) ("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 49 1 NIL NIL NIL NIL) 4 NIL NIL NIL NIL) "mixed" ("boundary" "delim") NIL NIL NIL)) \ No newline at end of file diff --git a/tests/emails/dxflrs/0004_msg-in-msg.eml b/tests/emails/dxflrs/0004_msg-in-msg.eml index f581b59..6c97d84 100644 --- a/tests/emails/dxflrs/0004_msg-in-msg.eml +++ b/tests/emails/dxflrs/0004_msg-in-msg.eml @@ -6,7 +6,6 @@ Subject: Welcome to Aerogramme!! Content-Type: text/plain; charset="us-ascii" Hello 1 - --delim Content-Type: message/rfc822 diff --git a/tests/emails/dxflrs/0004_msg-in-msg.maddy.body b/tests/emails/dxflrs/0004_msg-in-msg.maddy.body index c3e0bd3..cc1bf45 100644 --- a/tests/emails/dxflrs/0004_msg-in-msg.maddy.body +++ b/tests/emails/dxflrs/0004_msg-in-msg.maddy.body @@ -1 +1 @@ -(BODY (("text" "plain" ("charset" "us-ascii") NIL NIL NIL 9 1) ("message" "rfc822" () NIL NIL NIL 129 (NIL "Welcome to Aerogramme!!" (("Garage team" NIL "garagehq" "deuxfleurs.fr")) (("Garage team" NIL "garagehq" "deuxfleurs.fr")) (("Garage team" NIL "garagehq" "deuxfleurs.fr")) NIL NIL NIL NIL NIL) ("text" "plain" () NIL NIL NIL 49 1 NIL NIL NIL NIL) 4) "mixed")) \ No newline at end of file +(BODY (("text" "plain" ("charset" "us-ascii") NIL NIL NIL 7 1) ("message" "rfc822" () NIL NIL NIL 129 (NIL "Welcome to Aerogramme!!" (("Garage team" NIL "garagehq" "deuxfleurs.fr")) (("Garage team" NIL "garagehq" "deuxfleurs.fr")) (("Garage team" NIL "garagehq" "deuxfleurs.fr")) NIL NIL NIL NIL NIL) ("text" "plain" () NIL NIL NIL 49 1 NIL NIL NIL NIL) 4) "mixed")) \ No newline at end of file diff --git a/tests/emails/dxflrs/0004_msg-in-msg.maddy.bodystructure b/tests/emails/dxflrs/0004_msg-in-msg.maddy.bodystructure index 4ff4ef1..93e32e8 100644 --- a/tests/emails/dxflrs/0004_msg-in-msg.maddy.bodystructure +++ b/tests/emails/dxflrs/0004_msg-in-msg.maddy.bodystructure @@ -1 +1 @@ -(BODYSTRUCTURE (("text" "plain" ("charset" "us-ascii") NIL NIL NIL 9 1 NIL NIL NIL NIL) ("message" "rfc822" () NIL NIL NIL 129 (NIL "Welcome to Aerogramme!!" (("Garage team" NIL "garagehq" "deuxfleurs.fr")) (("Garage team" NIL "garagehq" "deuxfleurs.fr")) (("Garage team" NIL "garagehq" "deuxfleurs.fr")) NIL NIL NIL NIL NIL) ("text" "plain" () NIL NIL NIL 49 1 NIL NIL NIL NIL) 4 NIL NIL NIL NIL) "mixed" ("boundary" "delim") NIL NIL NIL)) \ No newline at end of file +(BODYSTRUCTURE (("text" "plain" ("charset" "us-ascii") NIL NIL NIL 7 1 NIL NIL NIL NIL) ("message" "rfc822" () NIL NIL NIL 129 (NIL "Welcome to Aerogramme!!" (("Garage team" NIL "garagehq" "deuxfleurs.fr")) (("Garage team" NIL "garagehq" "deuxfleurs.fr")) (("Garage team" NIL "garagehq" "deuxfleurs.fr")) NIL NIL NIL NIL NIL) ("text" "plain" () NIL NIL NIL 49 1 NIL NIL NIL NIL) 4 NIL NIL NIL NIL) "mixed" ("boundary" "delim") NIL NIL NIL)) \ No newline at end of file diff --git a/tests/emails/dxflrs/0005_mail-parser-readme.cyrus.body b/tests/emails/dxflrs/0005_mail-parser-readme.cyrus.body index 1974cd5..3e264ec 100644 --- a/tests/emails/dxflrs/0005_mail-parser-readme.cyrus.body +++ b/tests/emails/dxflrs/0005_mail-parser-readme.cyrus.body @@ -1 +1 @@ -(BODY (("TEXT" "HTML" ("CHARSET" "us-ascii") NIL NIL "BASE64" 242 3)("MESSAGE" "RFC822" NIL NIL NIL "7BIT" 744 (NIL "Exporting my book about coffee tables" (("Cosmo Kramer" NIL "kramer" "kramerica.com")) (("Cosmo Kramer" NIL "kramer" "kramerica.com")) (("Cosmo Kramer" NIL "kramer" "kramerica.com")) NIL NIL NIL NIL NIL) (("TEXT" "PLAIN" ("CHARSET" "utf-16") NIL NIL "QUOTED-PRINTABLE" 231 3)("IMAGE" "GIF" ("NAME" "Book about ") NIL NIL "BASE64" 56) "MIXED") 20) "MIXED")) \ No newline at end of file +(BODY (("TEXT" "HTML" ("CHARSET" "us-ascii") NIL NIL "BASE64" 242 3)("MESSAGE" "RFC822" NIL NIL NIL "7BIT" 734 (NIL "Exporting my book about coffee tables" (("Cosmo Kramer" NIL "kramer" "kramerica.com")) (("Cosmo Kramer" NIL "kramer" "kramerica.com")) (("Cosmo Kramer" NIL "kramer" "kramerica.com")) NIL NIL NIL NIL NIL) (("TEXT" "PLAIN" ("CHARSET" "utf-16") NIL NIL "QUOTED-PRINTABLE" 231 3)("IMAGE" "GIF" ("NAME" "Book about coffe tables.gif") NIL NIL "BASE64" 56) "MIXED") 20) "MIXED")) \ No newline at end of file diff --git a/tests/emails/dxflrs/0005_mail-parser-readme.cyrus.bodystructure b/tests/emails/dxflrs/0005_mail-parser-readme.cyrus.bodystructure index 5189948..1d7b360 100644 --- a/tests/emails/dxflrs/0005_mail-parser-readme.cyrus.bodystructure +++ b/tests/emails/dxflrs/0005_mail-parser-readme.cyrus.bodystructure @@ -1 +1 @@ -(BODYSTRUCTURE (("TEXT" "HTML" ("CHARSET" "us-ascii") NIL NIL "BASE64" 242 3 NIL NIL NIL NIL)("MESSAGE" "RFC822" NIL NIL NIL "7BIT" 744 (NIL "Exporting my book about coffee tables" (("Cosmo Kramer" NIL "kramer" "kramerica.com")) (("Cosmo Kramer" NIL "kramer" "kramerica.com")) (("Cosmo Kramer" NIL "kramer" "kramerica.com")) NIL NIL NIL NIL NIL) (("TEXT" "PLAIN" ("CHARSET" "utf-16") NIL NIL "QUOTED-PRINTABLE" 231 3 NIL NIL NIL NIL)("IMAGE" "GIF" ("NAME" "Book about ") NIL NIL "BASE64" 56 NIL ("ATTACHMENT" NIL) NIL NIL) "MIXED" ("BOUNDARY" "giddyup") NIL NIL NIL) 20 NIL NIL NIL NIL) "MIXED" ("BOUNDARY" "festivus") NIL NIL NIL)) \ No newline at end of file +(BODYSTRUCTURE (("TEXT" "HTML" ("CHARSET" "us-ascii") NIL NIL "BASE64" 242 3 NIL NIL NIL NIL)("MESSAGE" "RFC822" NIL NIL NIL "7BIT" 734 (NIL "Exporting my book about coffee tables" (("Cosmo Kramer" NIL "kramer" "kramerica.com")) (("Cosmo Kramer" NIL "kramer" "kramerica.com")) (("Cosmo Kramer" NIL "kramer" "kramerica.com")) NIL NIL NIL NIL NIL) (("TEXT" "PLAIN" ("CHARSET" "utf-16") NIL NIL "QUOTED-PRINTABLE" 231 3 NIL NIL NIL NIL)("IMAGE" "GIF" ("NAME" "Book about coffe tables.gif") NIL NIL "BASE64" 56 NIL ("ATTACHMENT" NIL) NIL NIL) "MIXED" ("BOUNDARY" "giddyup") NIL NIL NIL) 20 NIL NIL NIL NIL) "MIXED" ("BOUNDARY" "festivus") NIL NIL NIL)) \ No newline at end of file diff --git a/tests/emails/dxflrs/0005_mail-parser-readme.dovecot.body b/tests/emails/dxflrs/0005_mail-parser-readme.dovecot.body index 2d2b350..f1c03df 100644 --- a/tests/emails/dxflrs/0005_mail-parser-readme.dovecot.body +++ b/tests/emails/dxflrs/0005_mail-parser-readme.dovecot.body @@ -1 +1 @@ -(BODY (("text" "html" ("charset" "us-ascii") NIL NIL "base64" 242 3)("message" "rfc822" NIL NIL NIL "7bit" 744 (NIL "Exporting my book about coffee tables" (("Cosmo Kramer" NIL "kramer" "kramerica.com")) (("Cosmo Kramer" NIL "kramer" "kramerica.com")) (("Cosmo Kramer" NIL "kramer" "kramerica.com")) NIL NIL NIL NIL NIL) (("text" "plain" ("charset" "utf-16") NIL NIL "quoted-printable" 231 3)("image" "gif" ("name*" "''Book about utf-8''%e2%98%95") NIL NIL "Base64" 56) "mixed") 20) "mixed")) \ No newline at end of file +(BODY (("text" "html" ("charset" "us-ascii") NIL NIL "base64" 242 3)("message" "rfc822" NIL NIL NIL "7bit" 734 (NIL "Exporting my book about coffee tables" (("Cosmo Kramer" NIL "kramer" "kramerica.com")) (("Cosmo Kramer" NIL "kramer" "kramerica.com")) (("Cosmo Kramer" NIL "kramer" "kramerica.com")) NIL NIL NIL NIL NIL) (("text" "plain" ("charset" "utf-16") NIL NIL "quoted-printable" 231 3)("image" "gif" ("name" "Book about coffe tables.gif") NIL NIL "Base64" 56) "mixed") 20) "mixed")) \ No newline at end of file diff --git a/tests/emails/dxflrs/0005_mail-parser-readme.dovecot.bodystructure b/tests/emails/dxflrs/0005_mail-parser-readme.dovecot.bodystructure index e5d0af9..663978f 100644 --- a/tests/emails/dxflrs/0005_mail-parser-readme.dovecot.bodystructure +++ b/tests/emails/dxflrs/0005_mail-parser-readme.dovecot.bodystructure @@ -1 +1 @@ -(BODYSTRUCTURE (("text" "html" ("charset" "us-ascii") NIL NIL "base64" 242 3 NIL NIL NIL NIL)("message" "rfc822" NIL NIL NIL "7bit" 744 (NIL "Exporting my book about coffee tables" (("Cosmo Kramer" NIL "kramer" "kramerica.com")) (("Cosmo Kramer" NIL "kramer" "kramerica.com")) (("Cosmo Kramer" NIL "kramer" "kramerica.com")) NIL NIL NIL NIL NIL) (("text" "plain" ("charset" "utf-16") NIL NIL "quoted-printable" 231 3 NIL NIL NIL NIL)("image" "gif" ("name*" "''Book about utf-8''%e2%98%95") NIL NIL "Base64" 56 NIL ("attachment" NIL) NIL NIL) "mixed" ("boundary" "giddyup") NIL NIL NIL) 20 NIL NIL NIL NIL) "mixed" ("boundary" "festivus") NIL NIL NIL)) \ No newline at end of file +(BODYSTRUCTURE (("text" "html" ("charset" "us-ascii") NIL NIL "base64" 242 3 NIL NIL NIL NIL)("message" "rfc822" NIL NIL NIL "7bit" 734 (NIL "Exporting my book about coffee tables" (("Cosmo Kramer" NIL "kramer" "kramerica.com")) (("Cosmo Kramer" NIL "kramer" "kramerica.com")) (("Cosmo Kramer" NIL "kramer" "kramerica.com")) NIL NIL NIL NIL NIL) (("text" "plain" ("charset" "utf-16") NIL NIL "quoted-printable" 231 3 NIL NIL NIL NIL)("image" "gif" ("name" "Book about coffe tables.gif") NIL NIL "Base64" 56 NIL ("attachment" NIL) NIL NIL) "mixed" ("boundary" "giddyup") NIL NIL NIL) 20 NIL NIL NIL NIL) "mixed" ("boundary" "festivus") NIL NIL NIL)) \ No newline at end of file diff --git a/tests/emails/dxflrs/0005_mail-parser-readme.eml b/tests/emails/dxflrs/0005_mail-parser-readme.eml index 40e4fa2..1a36718 100644 --- a/tests/emails/dxflrs/0005_mail-parser-readme.eml +++ b/tests/emails/dxflrs/0005_mail-parser-readme.eml @@ -2,7 +2,7 @@ From: Art Vandelay (Vandelay Industries) To: "Colleagues": "James Smythe" ; Friends: jane@example.com, =?UTF-8?Q?John_Sm=C3=AEth?= ; Date: Sat, 20 Nov 2021 14:22:01 -0800 -Subject: Why not both importing AND exporting? =?utf-8?b?4pi6?= +Subject: Why not both importing AND exporting? Content-Type: multipart/mixed; boundary="festivus"; --festivus @@ -30,7 +30,7 @@ Content-Transfer-Encoding: quoted-printable =DD5=D8=1E=DD5=D80=DD5=D8"=DD!=00 --giddyup Content-Type: image/gif; name*1="about "; name*0="Book "; - name*2*=utf-8''%e2%98%95 tables.gif + name*2="coffe tables.gif" Content-Transfer-Encoding: Base64 Content-Disposition: attachment diff --git a/tests/emails/dxflrs/0005_mail-parser-readme.maddy.body b/tests/emails/dxflrs/0005_mail-parser-readme.maddy.body index 47261da..0341ec3 100644 --- a/tests/emails/dxflrs/0005_mail-parser-readme.maddy.body +++ b/tests/emails/dxflrs/0005_mail-parser-readme.maddy.body @@ -1 +1 @@ -(BODY (("text" "html" ("charset" "us-ascii") NIL NIL "base64" 242 4) ("message" "rfc822" () NIL NIL NIL 742 (NIL "Exporting my book about coffee tables" (("Cosmo Kramer" NIL "kramer" "kramerica.com")) (("Cosmo Kramer" NIL "kramer" "kramerica.com")) (("Cosmo Kramer" NIL "kramer" "kramerica.com")) NIL NIL NIL NIL NIL) (("text" "plain" ("charset" "utf-16") NIL NIL "quoted-printable" 231 4 NIL NIL NIL NIL) ("text" "plain" () NIL NIL "Base64" 56 1 NIL ("attachment" ()) NIL NIL) "mixed" ("boundary" "giddyup") NIL NIL NIL) 21) "mixed")) \ No newline at end of file +(BODY (("text" "html" ("charset" "us-ascii") NIL NIL "base64" 242 4) ("message" "rfc822" () NIL NIL NIL 732 (NIL "Exporting my book about coffee tables" (("Cosmo Kramer" NIL "kramer" "kramerica.com")) (("Cosmo Kramer" NIL "kramer" "kramerica.com")) (("Cosmo Kramer" NIL "kramer" "kramerica.com")) NIL NIL NIL NIL NIL) (("text" "plain" ("charset" "utf-16") NIL NIL "quoted-printable" 231 4 NIL NIL NIL NIL) ("image" "gif" ("name" "Book about coffe tables.gif") NIL NIL "Base64" 56 NIL ("attachment" ()) NIL NIL) "mixed" ("boundary" "giddyup") NIL NIL NIL) 21) "mixed")) \ No newline at end of file diff --git a/tests/emails/dxflrs/0005_mail-parser-readme.maddy.bodystructure b/tests/emails/dxflrs/0005_mail-parser-readme.maddy.bodystructure index af8c3ce..7cb0c90 100644 --- a/tests/emails/dxflrs/0005_mail-parser-readme.maddy.bodystructure +++ b/tests/emails/dxflrs/0005_mail-parser-readme.maddy.bodystructure @@ -1 +1 @@ -(BODYSTRUCTURE (("text" "html" ("charset" "us-ascii") NIL NIL "base64" 242 4 NIL NIL NIL NIL) ("message" "rfc822" () NIL NIL NIL 742 (NIL "Exporting my book about coffee tables" (("Cosmo Kramer" NIL "kramer" "kramerica.com")) (("Cosmo Kramer" NIL "kramer" "kramerica.com")) (("Cosmo Kramer" NIL "kramer" "kramerica.com")) NIL NIL NIL NIL NIL) (("text" "plain" ("charset" "utf-16") NIL NIL "quoted-printable" 231 4 NIL NIL NIL NIL) ("text" "plain" () NIL NIL "Base64" 56 1 NIL ("attachment" ()) NIL NIL) "mixed" ("boundary" "giddyup") NIL NIL NIL) 21 NIL NIL NIL NIL) "mixed" ("boundary" "festivus") NIL NIL NIL)) \ No newline at end of file +(BODYSTRUCTURE (("text" "html" ("charset" "us-ascii") NIL NIL "base64" 242 4 NIL NIL NIL NIL) ("message" "rfc822" () NIL NIL NIL 732 (NIL "Exporting my book about coffee tables" (("Cosmo Kramer" NIL "kramer" "kramerica.com")) (("Cosmo Kramer" NIL "kramer" "kramerica.com")) (("Cosmo Kramer" NIL "kramer" "kramerica.com")) NIL NIL NIL NIL NIL) (("text" "plain" ("charset" "utf-16") NIL NIL "quoted-printable" 231 4 NIL NIL NIL NIL) ("image" "gif" ("name" "Book about coffe tables.gif") NIL NIL "Base64" 56 NIL ("attachment" ()) NIL NIL) "mixed" ("boundary" "giddyup") NIL NIL NIL) 21 NIL NIL NIL NIL) "mixed" ("boundary" "festivus") NIL NIL NIL)) \ No newline at end of file diff --git a/tests/emails/dxflrs/0006_single-mime.cyrus.body b/tests/emails/dxflrs/0006_single-mime.cyrus.body new file mode 100644 index 0000000..b7f4fba --- /dev/null +++ b/tests/emails/dxflrs/0006_single-mime.cyrus.body @@ -0,0 +1 @@ +(BODY (("TEXT" "PLAIN" ("CHARSET" "us-ascii") NIL NIL "7BIT" 7 0) "ALTERNATIVE")) \ No newline at end of file diff --git a/tests/emails/dxflrs/0006_single-mime.cyrus.bodystructure b/tests/emails/dxflrs/0006_single-mime.cyrus.bodystructure new file mode 100644 index 0000000..91306a0 --- /dev/null +++ b/tests/emails/dxflrs/0006_single-mime.cyrus.bodystructure @@ -0,0 +1 @@ +(BODYSTRUCTURE (("TEXT" "PLAIN" ("CHARSET" "us-ascii") NIL NIL "7BIT" 7 0 NIL NIL NIL NIL) "ALTERNATIVE" ("BOUNDARY" "festivus") NIL NIL NIL)) \ No newline at end of file diff --git a/tests/emails/dxflrs/0006_single-mime.dovecot.body b/tests/emails/dxflrs/0006_single-mime.dovecot.body new file mode 100644 index 0000000..1eec263 --- /dev/null +++ b/tests/emails/dxflrs/0006_single-mime.dovecot.body @@ -0,0 +1 @@ +(BODY (("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 7 0) "alternative")) \ No newline at end of file diff --git a/tests/emails/dxflrs/0006_single-mime.dovecot.bodystructure b/tests/emails/dxflrs/0006_single-mime.dovecot.bodystructure new file mode 100644 index 0000000..9409f4c --- /dev/null +++ b/tests/emails/dxflrs/0006_single-mime.dovecot.bodystructure @@ -0,0 +1 @@ +(BODYSTRUCTURE (("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 7 0 NIL NIL NIL NIL) "alternative" ("boundary" "festivus") NIL NIL NIL)) \ No newline at end of file diff --git a/tests/emails/dxflrs/0006_single-mime.eml b/tests/emails/dxflrs/0006_single-mime.eml new file mode 100644 index 0000000..f633348 --- /dev/null +++ b/tests/emails/dxflrs/0006_single-mime.eml @@ -0,0 +1,10 @@ +From: Garage team +Content-Type: multipart/alternative; boundary="festivus"; +Subject: Welcome to Aerogramme!! + +--festivus +Content-Type: text/plain; charset="us-ascii" +Content-Transfer-Encoding: 7bit + +Hello 1 +--festivus-- diff --git a/tests/emails/dxflrs/0006_single-mime.maddy.body b/tests/emails/dxflrs/0006_single-mime.maddy.body new file mode 100644 index 0000000..1204086 --- /dev/null +++ b/tests/emails/dxflrs/0006_single-mime.maddy.body @@ -0,0 +1 @@ +(BODY (("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 7 1) "alternative")) \ No newline at end of file diff --git a/tests/emails/dxflrs/0006_single-mime.maddy.bodystructure b/tests/emails/dxflrs/0006_single-mime.maddy.bodystructure new file mode 100644 index 0000000..26cd1aa --- /dev/null +++ b/tests/emails/dxflrs/0006_single-mime.maddy.bodystructure @@ -0,0 +1 @@ +(BODYSTRUCTURE (("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 7 1 NIL NIL NIL NIL) "alternative" ("boundary" "festivus") NIL NIL NIL)) \ No newline at end of file diff --git a/tests/emails/dxflrs/0007_raw_msg_in_rfc822.cyrus.body b/tests/emails/dxflrs/0007_raw_msg_in_rfc822.cyrus.body new file mode 100644 index 0000000..1126840 --- /dev/null +++ b/tests/emails/dxflrs/0007_raw_msg_in_rfc822.cyrus.body @@ -0,0 +1 @@ +(BODY (("MESSAGE" "RFC822" NIL NIL NIL "7BIT" 127 (NIL "Welcome to Aerogramme!!" (("Garage team" NIL "garagehq" "deuxfleurs.fr")) (("Garage team" NIL "garagehq" "deuxfleurs.fr")) (("Garage team" NIL "garagehq" "deuxfleurs.fr")) NIL NIL NIL NIL NIL) ("TEXT" "PLAIN" ("CHARSET" "us-ascii") NIL NIL "7BIT" 47 0) 3) "MIXED")) \ No newline at end of file diff --git a/tests/emails/dxflrs/0007_raw_msg_in_rfc822.cyrus.bodystructure b/tests/emails/dxflrs/0007_raw_msg_in_rfc822.cyrus.bodystructure new file mode 100644 index 0000000..0f46513 --- /dev/null +++ b/tests/emails/dxflrs/0007_raw_msg_in_rfc822.cyrus.bodystructure @@ -0,0 +1 @@ +(BODYSTRUCTURE (("MESSAGE" "RFC822" NIL NIL NIL "7BIT" 127 (NIL "Welcome to Aerogramme!!" (("Garage team" NIL "garagehq" "deuxfleurs.fr")) (("Garage team" NIL "garagehq" "deuxfleurs.fr")) (("Garage team" NIL "garagehq" "deuxfleurs.fr")) NIL NIL NIL NIL NIL) ("TEXT" "PLAIN" ("CHARSET" "us-ascii") NIL NIL "7BIT" 47 0 NIL NIL NIL NIL) 3 NIL NIL NIL NIL) "MIXED" ("BOUNDARY" "delim") NIL NIL NIL)) \ No newline at end of file diff --git a/tests/emails/dxflrs/0007_raw_msg_in_rfc822.dovecot.body b/tests/emails/dxflrs/0007_raw_msg_in_rfc822.dovecot.body new file mode 100644 index 0000000..b2ac4e8 --- /dev/null +++ b/tests/emails/dxflrs/0007_raw_msg_in_rfc822.dovecot.body @@ -0,0 +1 @@ +(BODY (("message" "rfc822" NIL NIL NIL "7bit" 127 (NIL "Welcome to Aerogramme!!" (("Garage team" NIL "garagehq" "deuxfleurs.fr")) (("Garage team" NIL "garagehq" "deuxfleurs.fr")) (("Garage team" NIL "garagehq" "deuxfleurs.fr")) NIL NIL NIL NIL NIL) ("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 47 0) 3) "mixed")) \ No newline at end of file diff --git a/tests/emails/dxflrs/0007_raw_msg_in_rfc822.dovecot.bodystructure b/tests/emails/dxflrs/0007_raw_msg_in_rfc822.dovecot.bodystructure new file mode 100644 index 0000000..5903df3 --- /dev/null +++ b/tests/emails/dxflrs/0007_raw_msg_in_rfc822.dovecot.bodystructure @@ -0,0 +1 @@ +(BODYSTRUCTURE (("message" "rfc822" NIL NIL NIL "7bit" 127 (NIL "Welcome to Aerogramme!!" (("Garage team" NIL "garagehq" "deuxfleurs.fr")) (("Garage team" NIL "garagehq" "deuxfleurs.fr")) (("Garage team" NIL "garagehq" "deuxfleurs.fr")) NIL NIL NIL NIL NIL) ("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 47 0 NIL NIL NIL NIL) 3 NIL NIL NIL NIL) "mixed" ("boundary" "delim") NIL NIL NIL)) \ No newline at end of file diff --git a/tests/emails/dxflrs/0007_raw_msg_in_rfc822.eml b/tests/emails/dxflrs/0007_raw_msg_in_rfc822.eml new file mode 100644 index 0000000..af1b576 --- /dev/null +++ b/tests/emails/dxflrs/0007_raw_msg_in_rfc822.eml @@ -0,0 +1,12 @@ +From: Garage team +Content-Type: multipart/mixed; boundary="delim"; +Subject: Welcome to Aerogramme!! + +--delim +Content-Type: message/rfc822 + +From: Garage team +Subject: Welcome to Aerogramme!! + +This is just a test email, feel free to ignore. +--delim-- diff --git a/tests/emails/dxflrs/0007_raw_msg_in_rfc822.maddy.body b/tests/emails/dxflrs/0007_raw_msg_in_rfc822.maddy.body new file mode 100644 index 0000000..70c4983 --- /dev/null +++ b/tests/emails/dxflrs/0007_raw_msg_in_rfc822.maddy.body @@ -0,0 +1 @@ +(BODY (("message" "rfc822" () NIL NIL NIL 127 (NIL "Welcome to Aerogramme!!" (("Garage team" NIL "garagehq" "deuxfleurs.fr")) (("Garage team" NIL "garagehq" "deuxfleurs.fr")) (("Garage team" NIL "garagehq" "deuxfleurs.fr")) NIL NIL NIL NIL NIL) ("text" "plain" () NIL NIL NIL 47 1 NIL NIL NIL NIL) 5) "mixed")) \ No newline at end of file diff --git a/tests/emails/dxflrs/0007_raw_msg_in_rfc822.maddy.bodystructure b/tests/emails/dxflrs/0007_raw_msg_in_rfc822.maddy.bodystructure new file mode 100644 index 0000000..60c1a42 --- /dev/null +++ b/tests/emails/dxflrs/0007_raw_msg_in_rfc822.maddy.bodystructure @@ -0,0 +1 @@ +(BODYSTRUCTURE (("message" "rfc822" () NIL NIL NIL 127 (NIL "Welcome to Aerogramme!!" (("Garage team" NIL "garagehq" "deuxfleurs.fr")) (("Garage team" NIL "garagehq" "deuxfleurs.fr")) (("Garage team" NIL "garagehq" "deuxfleurs.fr")) NIL NIL NIL NIL NIL) ("text" "plain" () NIL NIL NIL 47 1 NIL NIL NIL NIL) 5 NIL NIL NIL NIL) "mixed" ("boundary" "delim") NIL NIL NIL)) \ No newline at end of file -- cgit v1.2.3