Added: 
james/mailbox/trunk/elasticsearch/src/test/resources/documents/pgpSignedMail.eml
URL: 
http://svn.apache.org/viewvc/james/mailbox/trunk/elasticsearch/src/test/resources/documents/pgpSignedMail.eml?rev=1688117&view=auto
==============================================================================
--- 
james/mailbox/trunk/elasticsearch/src/test/resources/documents/pgpSignedMail.eml
 (added)
+++ 
james/mailbox/trunk/elasticsearch/src/test/resources/documents/pgpSignedMail.eml
 Mon Jun 29 08:26:08 2015
@@ -0,0 +1,136 @@
+Return-Path: <[email protected]>
+Received: from mx2.minet.net (mx2.minet.net [192.168.102.26])
+        by imap (Cyrus v2.4.16-Debian-2.4.16-4+deb7u1) with LMTPA;
+        Wed, 03 Jun 2015 21:19:59 +0200
+X-Sieve: CMU Sieve 2.4
+Received: from localhost (spam.minet.net [192.168.102.97])
+       by mx2.minet.net (Postfix) with ESMTP id 8A9DAA27DA1
+       for <[email protected]>; Wed,  3 Jun 2015 21:20:03 +0200 (CEST)
+X-Virus-Scanned: by amavisd-new using ClamAV at minet.net
+X-Spam-Flag: NO
+X-Spam-Score: -1.51
+X-Spam-Level:
+X-Spam-Status: No, score=-1.51 required=1 tests=[BAYES_00=-1.5,
+       T_RP_MATCHES_RCVD=-0.01] autolearn=unavailable
+Received: from mx2.minet.net ([IPv6:::ffff:192.168.102.26])
+       by localhost (spam.minet.net [::ffff:192.168.102.97]) (amavisd-new, 
port 10024)
+       with ESMTP id cF6J0AAnzsTX for <[email protected]>;
+       Wed,  3 Jun 2015 19:20:02 +0000 (UTC)
+Received-SPF: None (no SPF record) identity=mailfrom; client-ip=82.195.75.100; 
helo=bendel.debian.org; 
envelope-from=bounce-debian-security-announce=benwa=minet....@lists.debian.org; 
[email protected]
+Received: from bendel.debian.org (bendel.debian.org [82.195.75.100])
+       (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
+       (No client certificate requested)
+       by mx2.minet.net (Postfix) with ESMTPS id 7F69FA27D98
+       for <[email protected]>; Wed,  3 Jun 2015 21:20:01 +0200 (CEST)
+Received: from localhost (localhost [127.0.0.1])
+       by bendel.debian.org (Postfix) with QMQP
+       id 1C2F6275; Wed,  3 Jun 2015 19:14:50 +0000 (UTC)
+Old-Return-Path: <[email protected]>
+X-Original-To: [email protected]
+Delivered-To: [email protected]
+Received: from localhost (localhost [127.0.0.1])
+       by bendel.debian.org (Postfix) with ESMTP id 7EFBF228
+       for <[email protected]>; Wed,  3 Jun 
2015 19:14:39 +0000 (UTC)
+X-Amavis-Spam-Status: No, score=-8.99 tagged_above=-10000 required=5.3
+       tests=[BAYES_00=-2, DIGITS_LETTERS=1, FVGT_m_MULTI_ODD=0.02,
+       LDO_WHITELIST=-5, OUR_MTA_MSGID=2, PGPSIGNATURE=-5,
+       T_RP_MATCHES_RCVD=-0.01] autolearn=ham
+Received: from bendel.debian.org ([127.0.0.1])
+       by localhost (lists.debian.org [127.0.0.1]) (amavisd-new, port 2525)
+       with ESMTP id RiKdt2PVwXOm
+       for <[email protected]>;
+       Wed,  3 Jun 2015 19:14:34 +0000 (UTC)
+Received: from master.debian.org (master.debian.org 
[IPv6:2001:41b8:202:deb:216:36ff:fe40:4001])
+       (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
+       (Client CN "master.debian.org", Issuer "Debian SMTP CA" (not verified))
+       by bendel.debian.org (Postfix) with ESMTPS id ABE761B7
+       for <[email protected]>; Wed,  3 Jun 2015 
19:14:34 +0000 (UTC)
+Received: from carnil by master.debian.org with local (Exim 4.84)
+       (envelope-from <[email protected]>)
+       id 1Z0E7U-0004Bc-Jv
+       for [email protected]; Wed, 03 Jun 2015 
19:14:32 +0000
+From: Markus Koschany <[email protected]>
+To: [email protected]
+Message-Id: <[email protected]>
+Date: Wed, 03 Jun 2015 19:14:32 +0000
+X-Debian: PGP check passed for security officers
+Subject: [SECURITY] [DSA 3278-1] libapache-mod-jk security update
+Priority: urgent
+Reply-To: [email protected]
+X-Rc-Virus: 2007-09-13_01
+X-Rc-Spam: 2008-11-04_01
+Resent-Message-ID: <Aqb4x1ejWlF.A.ltC.qI1bVB@bendel>
+Resent-From: [email protected]
+X-Mailing-List: <[email protected]> archive/latest/2089
+X-Loop: [email protected]
+List-Id: <debian-security-announce.lists.debian.org>
+List-Post: <mailto:[email protected]>
+List-Help: 
<mailto:[email protected]?subject=help>
+List-Subscribe: 
<mailto:[email protected]?subject=subscribe>
+List-Unsubscribe: 
<mailto:[email protected]?subject=unsubscribe>
+Precedence: list
+Resent-Sender: [email protected]
+Resent-Date: Wed,  3 Jun 2015 19:14:50 +0000 (UTC)
+
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA512
+
+- -------------------------------------------------------------------------
+Debian Security Advisory DSA-3278-1                   [email protected]
+http://www.debian.org/security/                           Markus Koschany
+June 03, 2015                          http://www.debian.org/security/faq
+- -------------------------------------------------------------------------
+
+Package        : libapache-mod-jk
+CVE ID         : CVE-2014-8111
+Debian Bug     : 783233
+
+An information disclosure flaw due to incorrect JkMount/JkUnmount
+directives processing was found in the Apache 2 module mod_jk to forward
+requests from the Apache web server to Tomcat. A JkUnmount rule for a
+subtree of a previous JkMount rule could be ignored. This could allow a
+remote attacker to potentially access a private artifact in a tree that
+would otherwise not be accessible to them.
+
+For the oldstable distribution (wheezy), this problem has been fixed
+in version 1:1.2.37-1+deb7u1.
+
+For the stable distribution (jessie), this problem has been fixed in
+version 1:1.2.37-4+deb8u1.
+
+For the testing distribution (stretch), this problem has been fixed
+in version 1:1.2.40+svn150520-1.
+
+For the unstable distribution (sid), this problem has been fixed in
+version 1:1.2.40+svn150520-1.
+
+We recommend that you upgrade your libapache-mod-jk packages.
+
+Further information about Debian Security Advisories, how to apply
+these updates to your system and frequently asked questions can be
+found at: https://www.debian.org/security/
+
+Mailing list: [email protected]
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1
+
+iQIcBAEBCgAGBQJVb0AhAAoJEAVMuPMTQ89Ef+gP/1e6ZRHna5rrHYiaclwnWg8Y
+YHIjWwqfsnldjqfTirrBtf9TlLZrqIUHhaeaA0PEbzvzqVfh5QToOvvMeFHqXLS2
+4eSmUtc3hb5BQlSvPsuP5RzeDYPy0S2zRaJlQ6dKSXmxb3Zh1drjxUg9kzpEGU9v
+ykwDIRO7w+YpfcNqoxldgL0JOngMa9Qhl/wSwLV559wrESiSp2QifN/JZz2YRvsp
+XeZvCHV5dHYJLfCOn3bQ6QRf0votEFObrW2T14noo/Srxv1n+4sstql7bCDbKW8c
+O3SrlEk7HX5N4qPlG8Jo288NH1gqxXbuJ9SqF1MlIJsYE2UWT2nydfHVM1vMH23+
+Spfd51SfmrK2GSOg2tna29BDGInDZ0Tud+GqsTKMMICgtg7SCK4FIrZYhhFFompG
+li9h7DE96Cbv6J5a8JSIYg/kyzFOO8VcYakOUOJ2Oyo8Tv2a6GJLF9azjsThE7bv
+LBUWbk2cOsd98BYtsUwFKJhqQLBvRCYnw85/WbC8EDmkbyrxIKf0uaF1e6vc9qV9
+4OKmIgbNageXDzrfnc9PrwZ05xPiPhFJUk3Bu3XzosMzqU7XBPhtjkvPGJGcMv9g
+cCepn+vtFQFBR612a4Gm16XN068zbnBR8VHx3PRNIVkPyhoxR55RdFtwPL7FCHX0
+XVZyRUFDwW4cMiJnJ49U
+=M39D
+-----END PGP SIGNATURE-----
+
+
+--
+To UNSUBSCRIBE, email to [email protected]
+with a subject of "unsubscribe". Trouble? Contact [email protected]
+Archive: https://lists.debian.org/[email protected]
\ No newline at end of file

Added: 
james/mailbox/trunk/elasticsearch/src/test/resources/documents/pgpSignedMail.json
URL: 
http://svn.apache.org/viewvc/james/mailbox/trunk/elasticsearch/src/test/resources/documents/pgpSignedMail.json?rev=1688117&view=auto
==============================================================================
--- 
james/mailbox/trunk/elasticsearch/src/test/resources/documents/pgpSignedMail.json
 (added)
+++ 
james/mailbox/trunk/elasticsearch/src/test/resources/documents/pgpSignedMail.json
 Mon Jun 29 08:26:08 2015
@@ -0,0 +1,172 @@
+{
+  "id": 25,
+  "mailboxId": "18",
+  "modSeq": 42,
+  "size": 25,
+  "date": "2015-06-07T00:00:00+02:00",
+  "mediaType": "plain",
+  "subtype": "text",
+  "userFlags": [
+       "security",
+       "debian"
+  ],
+  "headers": {
+       "date": [
+         "Wed, 03 Jun 2015 19:14:32 +0000"
+       ],
+       "resent-from": [
+         "[email protected]"
+       ],
+       "return-path": [
+         "<[email protected]>"
+       ],
+       "subject": [
+         "[SECURITY] [DSA 3278-1] libapache-mod-jk security update"
+       ],
+       "x-debian": [
+         "PGP check passed for security officers"
+       ],
+       "x-spam-score": [
+         "-1.51"
+       ],
+       "list-subscribe": [
+         
"<mailto:[email protected]?subject=subscribe>"
+       ],
+       "precedence": [
+         "list"
+       ],
+       "x-sieve": [
+         "CMU Sieve 2.4"
+       ],
+       "list-help": [
+         
"<mailto:[email protected]?subject=help>"
+       ],
+       "received-spf": [
+         "None (no SPF record) identity=mailfrom; client-ip=82.195.75.100; 
helo=bendel.debian.org; 
envelope-from=bounce-debian-security-announce=benwa=minet....@lists.debian.org; 
[email protected]"
+       ],
+       "x-mailing-list": [
+         "<[email protected]> archive/latest/2089"
+       ],
+       "x-spam-level": [
+         ""
+       ],
+       "message-id": [
+         "<[email protected]>"
+       ],
+       "resent-message-id": [
+         "<Aqb4x1ejWlF.A.ltC.qI1bVB@bendel>"
+       ],
+       "from": [
+         "Markus Koschany <[email protected]>"
+       ],
+       "reply-to": [
+         "[email protected]"
+       ],
+       "resent-date": [
+         "Wed,  3 Jun 2015 19:14:50 +0000 (UTC)"
+       ],
+       "x-spam-flag": [
+         "NO"
+       ],
+       "x-rc-spam": [
+         "2008-11-04_01"
+       ],
+       "list-unsubscribe": [
+         
"<mailto:[email protected]?subject=unsubscribe>"
+       ],
+       "list-post": [
+         "<mailto:[email protected]>"
+       ],
+       "received": [
+         "from mx2.minet.net (mx2.minet.net [192.168.102.26])\t by imap (Cyrus 
v2.4.16-Debian-2.4.16-4+deb7u1) with LMTPA;\t Wed, 03 Jun 2015 21:19:59 +0200",
+         "from localhost (spam.minet.net [192.168.102.97])\tby mx2.minet.net 
(Postfix) with ESMTP id 8A9DAA27DA1\tfor <[email protected]>; Wed,  3 Jun 2015 
21:20:03 +0200 (CEST)",
+         "from mx2.minet.net ([IPv6:::ffff:192.168.102.26])\tby localhost 
(spam.minet.net [::ffff:192.168.102.97]) (amavisd-new, port 10024)\twith ESMTP 
id cF6J0AAnzsTX for <[email protected]>;\tWed,  3 Jun 2015 19:20:02 +0000 (UTC)",
+         "from bendel.debian.org (bendel.debian.org [82.195.75.100])\t(using 
TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\t(No client certificate 
requested)\tby mx2.minet.net (Postfix) with ESMTPS id 7F69FA27D98\tfor 
<[email protected]>; Wed,  3 Jun 2015 21:20:01 +0200 (CEST)",
+         "from localhost (localhost [127.0.0.1])\tby bendel.debian.org 
(Postfix) with QMQP\tid 1C2F6275; Wed,  3 Jun 2015 19:14:50 +0000 (UTC)",
+         "from localhost (localhost [127.0.0.1])\tby bendel.debian.org 
(Postfix) with ESMTP id 7EFBF228\tfor 
<[email protected]>; Wed,  3 Jun 2015 19:14:39 
+0000 (UTC)",
+         "from bendel.debian.org ([127.0.0.1])\tby localhost (lists.debian.org 
[127.0.0.1]) (amavisd-new, port 2525)\twith ESMTP id RiKdt2PVwXOm\tfor 
<[email protected]>;\tWed,  3 Jun 2015 19:14:34 
+0000 (UTC)",
+         "from master.debian.org (master.debian.org 
[IPv6:2001:41b8:202:deb:216:36ff:fe40:4001])\t(using TLSv1.2 with cipher 
ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))\t(Client CN \"master.debian.org\", 
Issuer \"Debian SMTP CA\" (not verified))\tby bendel.debian.org (Postfix) with 
ESMTPS id ABE761B7\tfor <[email protected]>; Wed,  3 
Jun 2015 19:14:34 +0000 (UTC)",
+         "from carnil by master.debian.org with local (Exim 
4.84)\t(envelope-from <[email protected]>)\tid 1Z0E7U-0004Bc-Jv\tfor 
[email protected]; Wed, 03 Jun 2015 19:14:32 +0000"
+       ],
+       "x-rc-virus": [
+         "2007-09-13_01"
+       ],
+       "x-loop": [
+         "[email protected]"
+       ],
+       "priority": [
+         "urgent"
+       ],
+       "x-virus-scanned": [
+         "by amavisd-new using ClamAV at minet.net"
+       ],
+       "x-spam-status": [
+         "No, score=-1.51 required=1 
tests=[BAYES_00=-1.5,\tT_RP_MATCHES_RCVD=-0.01] autolearn=unavailable"
+       ],
+       "delivered-to": [
+         "[email protected]"
+       ],
+       "x-amavis-spam-status": [
+         "No, score=-8.99 tagged_above=-10000 
required=5.3\ttests=[BAYES_00=-2, DIGITS_LETTERS=1, 
FVGT_m_MULTI_ODD=0.02,\tLDO_WHITELIST=-5, OUR_MTA_MSGID=2, 
PGPSIGNATURE=-5,\tT_RP_MATCHES_RCVD=-0.01] autolearn=ham"
+       ],
+       "resent-sender": [
+         "[email protected]"
+       ],
+       "x-original-to": [
+         "[email protected]"
+       ],
+       "to": [
+         "[email protected]"
+       ],
+       "list-id": [
+         "<debian-security-announce.lists.debian.org>"
+       ],
+       "old-return-path": [
+         "<[email protected]>"
+       ]
+  },
+  "from": [
+       {
+         "name": "Markus Koschany",
+         "address": "[email protected]"
+       }
+  ],
+  "to": [
+       {
+         "name": "[email protected]",
+         "address": "[email protected]"
+       }
+  ],
+  "cc": [],
+  "bcc": [],
+  "subject": [
+       "[SECURITY] [DSA 3278-1] libapache-mod-jk security update"
+  ],
+  "sentDate": "2015-06-03T19:14:32Z",
+  "properties": [
+       {
+         "namespace": "http://james.apache.org/rfc2045/Content-Type";,
+         "localName": "type",
+         "value": "plain"
+       },
+       {
+         "namespace": "http://james.apache.org/rfc2045/Content-Type";,
+         "localName": "subtype",
+         "value": "text"
+       },
+       {
+         "namespace": "http://james.apache.org/rfc2045";,
+         "localName": "Content-Description",
+         "value": "An e-mail"
+       }
+  ],
+  "attachments": [],
+  "textBody": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA512\n\n- 
-------------------------------------------------------------------------\nDebian
 Security Advisory DSA-3278-1                   
[email protected]\nhttp://www.debian.org/security/                           
Markus Koschany\nJune 03, 2015                          
http://www.debian.org/security/faq\n- 
-------------------------------------------------------------------------\n\nPackage
        : libapache-mod-jk\nCVE ID         : CVE-2014-8111\nDebian Bug     : 
783233\n\nAn information disclosure flaw due to incorrect 
JkMount/JkUnmount\ndirectives processing was found in the Apache 2 module 
mod_jk to forward\nrequests from the Apache web server to Tomcat. A JkUnmount 
rule for a\nsubtree of a previous JkMount rule could be ignored. This could 
allow a\nremote attacker to potentially access a private artifact in a tree 
that\nwould otherwise not be accessible to them.\n\nFor the oldstable 
distribution (wheezy), this probl
 em has been fixed\nin version 1:1.2.37-1+deb7u1.\n\nFor the stable 
distribution (jessie), this problem has been fixed in\nversion 
1:1.2.37-4+deb8u1.\n\nFor the testing distribution (stretch), this problem has 
been fixed\nin version 1:1.2.40+svn150520-1.\n\nFor the unstable distribution 
(sid), this problem has been fixed in\nversion 1:1.2.40+svn150520-1.\n\nWe 
recommend that you upgrade your libapache-mod-jk packages.\n\nFurther 
information about Debian Security Advisories, how to apply\nthese updates to 
your system and frequently asked questions can be\nfound at: 
https://www.debian.org/security/\n\nMailing list: 
[email protected]\n-----BEGIN PGP 
SIGNATURE-----\nVersion: GnuPG 
v1\n\niQIcBAEBCgAGBQJVb0AhAAoJEAVMuPMTQ89Ef+gP/1e6ZRHna5rrHYiaclwnWg8Y\nYHIjWwqfsnldjqfTirrBtf9TlLZrqIUHhaeaA0PEbzvzqVfh5QToOvvMeFHqXLS2\n4eSmUtc3hb5BQlSvPsuP5RzeDYPy0S2zRaJlQ6dKSXmxb3Zh1drjxUg9kzpEGU9v\nykwDIRO7w+YpfcNqoxldgL0JOngMa9Qhl/wSwLV559wrESiSp2QifN/JZz2YRvsp\nXeZvCHV5dHYJLfCOn3
 
bQ6QRf0votEFObrW2T14noo/Srxv1n+4sstql7bCDbKW8c\nO3SrlEk7HX5N4qPlG8Jo288NH1gqxXbuJ9SqF1MlIJsYE2UWT2nydfHVM1vMH23+\nSpfd51SfmrK2GSOg2tna29BDGInDZ0Tud+GqsTKMMICgtg7SCK4FIrZYhhFFompG\nli9h7DE96Cbv6J5a8JSIYg/kyzFOO8VcYakOUOJ2Oyo8Tv2a6GJLF9azjsThE7bv\nLBUWbk2cOsd98BYtsUwFKJhqQLBvRCYnw85/WbC8EDmkbyrxIKf0uaF1e6vc9qV9\n4OKmIgbNageXDzrfnc9PrwZ05xPiPhFJUk3Bu3XzosMzqU7XBPhtjkvPGJGcMv9g\ncCepn+vtFQFBR612a4Gm16XN068zbnBR8VHx3PRNIVkPyhoxR55RdFtwPL7FCHX0\nXVZyRUFDwW4cMiJnJ49U\n=M39D\n-----END
 PGP SIGNATURE-----\n\n\n--\nTo UNSUBSCRIBE, email to 
[email protected]\nwith a subject of 
\"unsubscribe\". Trouble? Contact [email protected]\nArchive: 
https://lists.debian.org/[email protected]";,
+  "isDeleted": true,
+  "isDraft": false,
+  "isAnswered": false,
+  "isFlagged": false,
+  "isRecent": false,
+  "hasAttachment": false,
+  "isUnread": false
+}
\ No newline at end of file

Added: 
james/mailbox/trunk/elasticsearch/src/test/resources/documents/recursiveMail.eml
URL: 
http://svn.apache.org/viewvc/james/mailbox/trunk/elasticsearch/src/test/resources/documents/recursiveMail.eml?rev=1688117&view=auto
==============================================================================
--- 
james/mailbox/trunk/elasticsearch/src/test/resources/documents/recursiveMail.eml
 (added)
+++ 
james/mailbox/trunk/elasticsearch/src/test/resources/documents/recursiveMail.eml
 Mon Jun 29 08:26:08 2015
@@ -0,0 +1,77 @@
+Return-Path: <[email protected]>
+Received: from alderaan.linagora.com (smtp.linagora.dc1 [172.16.18.53])
+        by imap (Cyrus v2.2.13-Debian-2.2.13-19+squeeze3) with LMTPA;
+        Wed, 10 Jun 2015 10:45:29 +0200
+X-Sieve: CMU Sieve 2.2
+Received: from [10.69.2.28] (mne69-10-88-173-78-196.fbx.proxad.net 
[88.173.78.196])
+       (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
+       (No client certificate requested)
+       by alderaan.linagora.com (Postfix) with ESMTPSA id 7F33E728
+       for <[email protected]>; Wed, 10 Jun 2015 10:45:28 +0200 (CEST)
+Message-ID: <[email protected]>
+Date: Wed, 10 Jun 2015 10:45:27 +0200
+From: Matthieu Baechler <[email protected]>
+User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 
Icedove/31.7.0
+MIME-Version: 1.0
+To: [email protected]
+Subject: Fwd: Courbe Sprint
+References: <[email protected]>
+In-Reply-To: <[email protected]>
+X-Forwarded-Message-Id: <[email protected]>
+Content-Type: multipart/mixed;
+ boundary="------------080603090509090707040003"
+
+This is a multi-part message in MIME format.
+--------------080603090509090707040003
+Content-Type: text/plain; charset=utf-8; format=flowed
+Content-Transfer-Encoding: 7bit
+
+Forward as attachment !
+
+
+
+--------------080603090509090707040003
+Content-Type: message/rfc822;
+ name="Courbe Sprint.eml"
+Content-Transfer-Encoding: 8bit
+Content-Disposition: attachment;
+ filename="Courbe Sprint.eml"
+
+Return-Path: <[email protected]>
+Received: from alderaan.linagora.com (smtp.linagora.dc1 [172.16.18.53])
+        by imap (Cyrus v2.2.13-Debian-2.2.13-19+squeeze3) with LMTPA;
+        Wed, 03 Jun 2015 08:59:45 +0200
+X-Sieve: CMU Sieve 2.2
+Received: from [10.69.43.36] (mne69-10-88-173-78-196.fbx.proxad.net 
[88.173.78.196])
+       (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
+       (No client certificate requested)
+       by alderaan.linagora.com (Postfix) with ESMTPSA id 4FBAF720
+       for <[email protected]>; Wed,  3 Jun 2015 08:59:45 +0200 (CEST)
+Message-ID: <[email protected]>
+Date: Wed, 03 Jun 2015 08:59:44 +0200
+From: Antoine DUPRAT <[email protected]>
+User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 
Thunderbird/31.6.0
+MIME-Version: 1.0
+To: "[email protected]" <[email protected]>
+Subject: Courbe Sprint
+Content-Type: multipart/mixed;
+ boundary="------------000406070706000403020805"
+
+This is a multi-part message in MIME format.
+--------------000406070706000403020805
+Content-Type: text/plain; charset=utf-8; format=flowed
+Content-Transfer-Encoding: 8bit
+
+Textual content of one attachment ( mail signature )
+
+--------------000406070706000403020805
+Content-Type: application/vnd.oasis.opendocument.spreadsheet;
+ name="Sprint-2015-05-18.ods"
+Content-Transfer-Encoding: base64
+Content-Disposition: attachment;
+ filename="Sprint-2015-05-18.ods"
+
+Spread shit datas !
+--------------000406070706000403020805--
+
+--------------080603090509090707040003--

Added: 
james/mailbox/trunk/elasticsearch/src/test/resources/documents/recursiveMail.json
URL: 
http://svn.apache.org/viewvc/james/mailbox/trunk/elasticsearch/src/test/resources/documents/recursiveMail.json?rev=1688117&view=auto
==============================================================================
--- 
james/mailbox/trunk/elasticsearch/src/test/resources/documents/recursiveMail.json
 (added)
+++ 
james/mailbox/trunk/elasticsearch/src/test/resources/documents/recursiveMail.json
 Mon Jun 29 08:26:08 2015
@@ -0,0 +1,217 @@
+{
+  "id": 25,
+  "mailboxId": "18",
+  "modSeq": 42,
+  "size": 25,
+  "date": "2015-06-07T00:00:00+02:00",
+  "mediaType": "plain",
+  "subtype": "text",
+  "userFlags": [
+    "security",
+    "debian"
+  ],
+  "headers": {
+    "date": [
+      "Wed, 10 Jun 2015 10:45:27 +0200"
+    ],
+    "mime-version": [
+      "1.0"
+    ],
+    "in-reply-to": [
+      "<[email protected]>"
+    ],
+    "references": [
+      "<[email protected]>"
+    ],
+    "return-path": [
+      "<[email protected]>"
+    ],
+    "x-forwarded-message-id": [
+      "<[email protected]>"
+    ],
+    "subject": [
+      "Fwd: Courbe Sprint"
+    ],
+    "received": [
+      "from alderaan.linagora.com (smtp.linagora.dc1 [172.16.18.53])\t by imap 
(Cyrus v2.2.13-Debian-2.2.13-19+squeeze3) with LMTPA;\t Wed, 10 Jun 2015 
10:45:29 +0200",
+      "from [10.69.2.28] (mne69-10-88-173-78-196.fbx.proxad.net 
[88.173.78.196])\t(using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 
bits))\t(No client certificate requested)\tby alderaan.linagora.com (Postfix) 
with ESMTPSA id 7F33E728\tfor <[email protected]>; Wed, 10 Jun 2015 
10:45:28 +0200 (CEST)"
+    ],
+    "x-sieve": [
+      "CMU Sieve 2.2"
+    ],
+    "message-id": [
+      "<[email protected]>"
+    ],
+    "from": [
+      "Matthieu Baechler <[email protected]>"
+    ],
+    "content-type": [
+      "multipart/mixed; boundary=\"------------080603090509090707040003\""
+    ],
+    "to": [
+      "[email protected]"
+    ],
+    "user-agent": [
+      "Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0"
+    ]
+  },
+  "from": [
+    {
+      "name": "Matthieu Baechler",
+      "address": "[email protected]"
+    }
+  ],
+  "to": [
+    {
+      "name": "[email protected]",
+      "address": "[email protected]"
+    }
+  ],
+  "cc": [],
+  "bcc": [],
+  "subject": [
+    "Fwd: Courbe Sprint"
+  ],
+  "sentDate": "2015-06-10T10:45:27+02:00",
+  "properties": [
+    {
+      "namespace": "http://james.apache.org/rfc2045/Content-Type";,
+      "localName": "type",
+      "value": "plain"
+    },
+    {
+      "namespace": "http://james.apache.org/rfc2045/Content-Type";,
+      "localName": "subtype",
+      "value": "text"
+    },
+    {
+      "namespace": "http://james.apache.org/rfc2045";,
+      "localName": "Content-Description",
+      "value": "An e-mail"
+    }
+  ],
+  "attachments": [
+    {
+      "textContent": "Forward as attachment !\n\n\n",
+      "mediaType": "text",
+      "subtype": "plain",
+      "fileName": null,
+      "fileExtension": null,
+      "contentDisposition": null,
+      "headers": {
+        "content-transfer-encoding": [
+          "7bit"
+        ],
+        "content-type": [
+          "text/plain; charset=utf-8; format=flowed"
+        ]
+      }
+    },
+    {
+      "textContent": null,
+      "mediaType": null,
+      "subtype": null,
+      "fileName": null,
+      "fileExtension": null,
+      "contentDisposition": null,
+      "headers": {
+        "content-transfer-encoding": [
+          "8bit"
+        ],
+        "content-disposition": [
+          "attachment; filename=\"Courbe Sprint.eml\""
+        ],
+        "content-type": [
+          "message/rfc822; name=\"Courbe Sprint.eml\""
+        ]
+      }
+    },
+    {
+      "textContent": null,
+      "mediaType": null,
+      "subtype": null,
+      "fileName": null,
+      "fileExtension": null,
+      "contentDisposition": null,
+      "headers": {
+        "date": [
+          "Wed, 03 Jun 2015 08:59:44 +0200"
+        ],
+        "mime-version": [
+          "1.0"
+        ],
+        "x-sieve": [
+          "CMU Sieve 2.2"
+        ],
+        "return-path": [
+          "<[email protected]>"
+        ],
+        "subject": [
+          "Courbe Sprint"
+        ],
+        "message-id": [
+          "<[email protected]>"
+        ],
+        "received": [
+          "from alderaan.linagora.com (smtp.linagora.dc1 [172.16.18.53])\t by 
imap (Cyrus v2.2.13-Debian-2.2.13-19+squeeze3) with LMTPA;\t Wed, 03 Jun 2015 
08:59:45 +0200",
+          "from [10.69.43.36] (mne69-10-88-173-78-196.fbx.proxad.net 
[88.173.78.196])\t(using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 
bits))\t(No client certificate requested)\tby alderaan.linagora.com (Postfix) 
with ESMTPSA id 4FBAF720\tfor <[email protected]>; Wed,  3 Jun 2015 
08:59:45 +0200 (CEST)"
+        ],
+        "from": [
+          "Antoine DUPRAT <[email protected]>"
+        ],
+        "content-type": [
+          "multipart/mixed; boundary=\"------------000406070706000403020805\""
+        ],
+        "to": [
+          "\"[email protected]\" <[email protected]>"
+        ],
+        "user-agent": [
+          "Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 
Thunderbird/31.6.0"
+        ]
+      }
+    },
+    {
+      "textContent": "Textual content of one attachment ( mail signature )\n",
+      "mediaType": "text",
+      "subtype": "plain",
+      "fileName": null,
+      "fileExtension": null,
+      "contentDisposition": null,
+      "headers": {
+        "content-transfer-encoding": [
+          "8bit"
+        ],
+        "content-type": [
+          "text/plain; charset=utf-8; format=flowed"
+        ]
+      }
+    },
+    {
+      "textContent": null,
+      "mediaType": "application",
+      "subtype": "vnd.oasis.opendocument.spreadsheet",
+      "fileName": "Sprint-2015-05-18.ods",
+      "fileExtension": "ods",
+      "contentDisposition": "attachment",
+      "headers": {
+        "content-transfer-encoding": [
+          "base64"
+        ],
+        "content-disposition": [
+          "attachment; filename=\"Sprint-2015-05-18.ods\""
+        ],
+        "content-type": [
+          "application/vnd.oasis.opendocument.spreadsheet; 
name=\"Sprint-2015-05-18.ods\""
+        ]
+      }
+    }
+  ],
+  "textBody": "Forward as attachment !\n\n\n",
+  "isDraft": false,
+  "isFlagged": true,
+  "isRecent": false,
+  "isAnswered": false,
+  "isDeleted": true,
+  "hasAttachment": true,
+  "isUnread": false
+}
\ No newline at end of file

Added: 
james/mailbox/trunk/elasticsearch/src/test/resources/documents/spamMail.eml
URL: 
http://svn.apache.org/viewvc/james/mailbox/trunk/elasticsearch/src/test/resources/documents/spamMail.eml?rev=1688117&view=auto
==============================================================================
--- james/mailbox/trunk/elasticsearch/src/test/resources/documents/spamMail.eml 
(added)
+++ james/mailbox/trunk/elasticsearch/src/test/resources/documents/spamMail.eml 
Mon Jun 29 08:26:08 2015
@@ -0,0 +1,143 @@
+Return-Path: <[email protected]>
+Received: from mx1.minet.net (mx1.minet.net [192.168.102.25])
+        by imap (Cyrus v2.4.16-Debian-2.4.16-4+deb7u1) with LMTPA;
+        Wed, 03 Jun 2015 11:05:45 +0200
+X-Sieve: CMU Sieve 2.4
+Received: from smtp.minet.net (smtp.minet.net [192.168.102.18])
+       by mx1.minet.net (Postfix) with ESMTP id F06FE610F72;
+       Wed,  3 Jun 2015 11:05:48 +0200 (CEST)
+Received: from listes.minet.net (listes.minet.net [192.168.102.29])
+       by smtp.minet.net (Postfix) with ESMTP id AAB15610F70;
+       Wed,  3 Jun 2015 09:05:48 +0000 (UTC)
+DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=minet.net; s=mail;
+       t=1433322348; bh=8OtmVRMX7IWWyQo8WQIi5rKeDEQFghSX2r1WN9/pqUk=;
+       h=From:Date:To:Subject:List-Id:List-Unsubscribe:List-Post:List-Help:
+        List-Subscribe:From;
+       b=UkthSFXn5mtPnn7sYvDJIxgCk1O36L0p+hTOnI/xTF2WRMGJyXtLyCdFdE5jQ5gE4
+        EGNdhwmfjaKsoE7IDtc/4GrPvbnM8i9ojpSOBW1hXJPOeYnRgah/4gsXsMJWvmmq/A
+        4oTnw8ZswFXiShDmBMyaSEZuVrWTdaPBgUhVhGw8=
+Received: from listes.minet.net (listes.minet.net [127.0.0.1])
+       by listes.minet.net (Postfix) with ESMTP id 9CD5BA27FF9;
+       Wed,  3 Jun 2015 09:05:48 +0000 (UTC)
+X-Original-To: [email protected]
+Delivered-To: [email protected]
+Received: from mx1.minet.net (mx1.minet.net [192.168.102.25])
+ by listes.minet.net (Postfix) with ESMTP id B8C1FA27FEF
+ for <[email protected]>; Wed,  3 Jun 2015 09:05:46 +0000 (UTC)
+Received: from localhost (spam.minet.net [192.168.102.97])
+ by mx1.minet.net (Postfix) with ESMTP id AD28B610F6D
+ for <[email protected]>; Wed,  3 Jun 2015 11:05:46 +0200 (CEST)
+Content-Type: multipart/mixed; boundary="----------=_1433322346-12583-0"
+Content-Transfer-Encoding: 7bit
+MIME-Version: 1.0
+From: "Content-filter at spam.minet.net" <[email protected]>
+Date: Wed,  3 Jun 2015 09:05:46 +0000 (UTC)
+To: <[email protected]>
+Message-ID: <[email protected]>
+Subject: [root] UNCHECKED contents in mail FROM <[email protected]>
+X-BeenThere: [email protected]
+X-Mailman-Version: 2.1.15
+Precedence: list
+List-Id: <root.listes.minet.net>
+List-Unsubscribe: <https://listes.minet.net/cgi-bin/mailman/options/root>,
+ <mailto:[email protected]?subject=unsubscribe>
+List-Post: <mailto:[email protected]>
+List-Help: <mailto:[email protected]?subject=help>
+List-Subscribe: <https://listes.minet.net/cgi-bin/mailman/listinfo/root>,
+ <mailto:[email protected]?subject=subscribe>
+Errors-To: [email protected]
+Sender: "root" <[email protected]>
+
+This is a multi-part message in MIME format...
+
+------------=_1433322346-12583-0
+Content-Type: text/plain; charset="UTF-8"
+Content-Disposition: inline
+Content-Transfer-Encoding: 7bit
+
+No viruses were found.
+
+Content type: Unchecked
+Internal reference code for the message is 12583-16/Ss-IZaXqmZao
+
+According to a 'Received:' trace, the message apparently originated at:
+  [198.252.153.129], [127.0.0.1] localhost [127.0.0.1] Authenticated sender:
+  quentin.h
+
+Return-Path: <[email protected]>
+From: Quentin <[email protected]>
+Message-ID: <[email protected]>
+Subject: =?UTF-8?B?UmU6IEZ3ZDogW1RtcGxhYl0gW0FQUEVMIEEgUEFSVElDSVBBVElPTl0=?=
+  =?UTF-8?B?IFdvb3QgZGV2aWNlcyAjMiAgOiB2ZW5leiBmYWlyZSBsZXVyIGhhY2tmw6p0ZSA=?=
+  =?UTF-8?B?YXV4IHBldGl0ZXMgbWFjaGluZXMgcHJvZ3JhbW1hYmxlcyBsZXMgNi03IGp1aW4=?=
+  =?UTF-8?B?IGF1IEphcmRpbiBkJ2FsaWNlL0JsYWNrbG9vcA==?=
+Not quarantined.
+
+The message WILL BE relayed to:
+<[email protected]>
+
+
+------------=_1433322346-12583-0
+Content-Type: text/rfc822-headers; name="header"
+Content-Disposition: inline; filename="header"
+Content-Transfer-Encoding: 7bit
+Content-Description: Message header section
+
+Return-Path: <[email protected]>
+Received-SPF: Pass (sender SPF authorized) identity=mailfrom; 
client-ip=198.252.153.129; helo=mx1.riseup.net; 
[email protected]; [email protected]
+Authentication-Results: mx2.minet.net; dkim=pass
+       reason="1024-bit key; insecure key"
+       header.d=riseup.net [email protected] header.b=RVs2xP3R;
+       dkim-adsp=pass; dkim-atps=neutral
+Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129])
+       (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
+       (No client certificate requested)
+       by mx2.minet.net (Postfix) with ESMTPS id 6D9E0A27FCA
+       for <[email protected]>; Wed,  3 Jun 2015 11:05:44 +0200 (CEST)
+Received: from plantcutter.riseup.net (plantcutter-pn.riseup.net [10.0.1.121])
+       (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
+       (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure 
Server CA" (verified OK))
+       by mx1.riseup.net (Postfix) with ESMTPS id 5CC6541A75;
+       Wed,  3 Jun 2015 09:05:42 +0000 (UTC)
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak;
+       t=1433322342; bh=Lz3x5ntYzOhQOpyviKamr5VE0TinfpBCnsivvJzojYk=;
+       h=Date:From:To:Subject:References:In-Reply-To:From;
+       b=RVs2xP3RV4zWi3Jbs6p85cO8s44yLq1LXxwe6NQvgZjsHQdWaMY16jQzSbCRRdCRY
+        IesTpg1mncqIinhXxL9grw2+0MgO+E0HM0ZPZzXM/xNTGZpALI1X6tDM0rxB+GEnHa
+        NfGRbWnesWFLyba7am02KbTKeKq7svIBBmSbaFsE=
+Received: from [127.0.0.1] (localhost [127.0.0.1])
+       (Authenticated sender: quentin.h)
+       with ESMTPSA id 6DBAC20827
+Message-ID: <[email protected]>
+Date: Wed, 03 Jun 2015 11:05:37 +0200
+From: Quentin <[email protected]>
+User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 
Thunderbird/31.7.0
+MIME-Version: 1.0
+To: Yann Sionneau <[email protected]>, =?UTF-8?B?U3TDqXBoYW5pZSBPdWlsbG9u?=
+ <[email protected]>, =?UTF-8?B?TmF0YWxpYSBDYWxkZXJvbiBCZWx0csOhbg==?=
+ <[email protected]>
+Subject: =?UTF-8?B?UmU6IEZ3ZDogW1RtcGxhYl0gW0FQUEVMIEEgUEFSVElDSVBBVElPTl0=?=
+ =?UTF-8?B?IFdvb3QgZGV2aWNlcyAjMiAgOiB2ZW5leiBmYWlyZSBsZXVyIGhhY2tmw6p0ZSA=?=
+ =?UTF-8?B?YXV4IHBldGl0ZXMgbWFjaGluZXMgcHJvZ3JhbW1hYmxlcyBsZXMgNi03IGp1aW4=?=
+ =?UTF-8?B?IGF1IEphcmRpbiBkJ2FsaWNlL0JsYWNrbG9vcA==?=
+References: <[email protected]> <[email protected]>
+In-Reply-To: <[email protected]>
+OpenPGP: id=AA5EE4B4EA20E2BEAA70B98E49CBF006922B990A;
+       url=pgp.mit.edu
+Content-Type: multipart/encrypted;
+ protocol="application/pgp-encrypted";
+ boundary="M0xVhKIvXqi85dG57o5RfCUAoFwhAw1Nh"
+X-Virus-Scanned: clamav-milter 0.98.7 at mx1
+X-Virus-Status: Clean
+
+------------=_1433322346-12583-0
+Content-Type: text/plain; charset="iso-8859-1"
+MIME-Version: 1.0
+Content-Transfer-Encoding: quoted-printable
+Content-Disposition: inline
+
+_______________________________________________
+root mailing list
[email protected]
+https://listes.minet.net/cgi-bin/mailman/listinfo/root
+------------=_1433322346-12583-0--

Added: 
james/mailbox/trunk/elasticsearch/src/test/resources/documents/spamMail.json
URL: 
http://svn.apache.org/viewvc/james/mailbox/trunk/elasticsearch/src/test/resources/documents/spamMail.json?rev=1688117&view=auto
==============================================================================
--- 
james/mailbox/trunk/elasticsearch/src/test/resources/documents/spamMail.json 
(added)
+++ 
james/mailbox/trunk/elasticsearch/src/test/resources/documents/spamMail.json 
Mon Jun 29 08:26:08 2015
@@ -0,0 +1,197 @@
+{
+  "id": 0,
+  "mailboxId": "18",
+  "modSeq": 42,
+  "size": 25,
+  "date": "2015-06-07T00:00:00+02:00",
+  "mediaType": "plain",
+  "subtype": "text",
+  "userFlags": [],
+  "headers": {
+       "mime-version": [
+         "1.0"
+       ],
+       "date": [
+         "Wed,  3 Jun 2015 09:05:46 +0000 (UTC)"
+       ],
+       "x-beenthere": [
+         "[email protected]"
+       ],
+       "list-unsubscribe": [
+         "<https://listes.minet.net/cgi-bin/mailman/options/root>, 
<mailto:[email protected]?subject=unsubscribe>"
+       ],
+       "return-path": [
+         "<[email protected]>"
+       ],
+       "subject": [
+         "[root] UNCHECKED contents in mail FROM <[email protected]>"
+       ],
+       "list-post": [
+         "<mailto:[email protected]>"
+       ],
+       "received": [
+         "from mx1.minet.net (mx1.minet.net [192.168.102.25])\t by imap (Cyrus 
v2.4.16-Debian-2.4.16-4+deb7u1) with LMTPA;\t Wed, 03 Jun 2015 11:05:45 +0200",
+         "from smtp.minet.net (smtp.minet.net [192.168.102.18])\tby 
mx1.minet.net (Postfix) with ESMTP id F06FE610F72;\tWed,  3 Jun 2015 11:05:48 
+0200 (CEST)",
+         "from listes.minet.net (listes.minet.net [192.168.102.29])\tby 
smtp.minet.net (Postfix) with ESMTP id AAB15610F70;\tWed,  3 Jun 2015 09:05:48 
+0000 (UTC)",
+         "from listes.minet.net (listes.minet.net [127.0.0.1])\tby 
listes.minet.net (Postfix) with ESMTP id 9CD5BA27FF9;\tWed,  3 Jun 2015 
09:05:48 +0000 (UTC)",
+         "from mx1.minet.net (mx1.minet.net [192.168.102.25]) by 
listes.minet.net (Postfix) with ESMTP id B8C1FA27FEF for 
<[email protected]>; Wed,  3 Jun 2015 09:05:46 +0000 (UTC)",
+         "from localhost (spam.minet.net [192.168.102.97]) by mx1.minet.net 
(Postfix) with ESMTP id AD28B610F6D for <[email protected]>; Wed,  3 Jun 
2015 11:05:46 +0200 (CEST)"
+       ],
+       "errors-to": [
+         "[email protected]"
+       ],
+       "precedence": [
+         "list"
+       ],
+       "list-subscribe": [
+         "<https://listes.minet.net/cgi-bin/mailman/listinfo/root>, 
<mailto:[email protected]?subject=subscribe>"
+       ],
+       "x-sieve": [
+         "CMU Sieve 2.4"
+       ],
+       "list-help": [
+         "<mailto:[email protected]?subject=help>"
+       ],
+       "content-transfer-encoding": [
+         "7bit"
+       ],
+       "sender": [
+         "\"root\" <[email protected]>"
+       ],
+       "delivered-to": [
+         "[email protected]"
+       ],
+       "x-mailman-version": [
+         "2.1.15"
+       ],
+       "message-id": [
+         "<[email protected]>"
+       ],
+       "content-type": [
+         "multipart/mixed; boundary=\"----------=_1433322346-12583-0\""
+       ],
+       "from": [
+         "\"Content-filter at spam.minet.net\" <[email protected]>"
+       ],
+       "x-original-to": [
+         "[email protected]"
+       ],
+       "to": [
+         "<[email protected]>"
+       ],
+       "list-id": [
+         "<root.listes.minet.net>"
+       ],
+       "dkim-signature": [
+         "v=1; a=rsa-sha256; c=simple/simple; d=minet.net; 
s=mail;\tt=1433322348; 
bh=8OtmVRMX7IWWyQo8WQIi5rKeDEQFghSX2r1WN9/pqUk=;\th=From:Date:To:Subject:List-Id:List-Unsubscribe:List-Post:List-Help:\t
 
List-Subscribe:From;\tb=UkthSFXn5mtPnn7sYvDJIxgCk1O36L0p+hTOnI/xTF2WRMGJyXtLyCdFdE5jQ5gE4\t
 EGNdhwmfjaKsoE7IDtc/4GrPvbnM8i9ojpSOBW1hXJPOeYnRgah/4gsXsMJWvmmq/A\t 
4oTnw8ZswFXiShDmBMyaSEZuVrWTdaPBgUhVhGw8="
+       ]
+  },
+  "from": [
+       {
+         "name": "Content-filter at spam.minet.net",
+         "address": "[email protected]"
+       }
+  ],
+  "to": [
+       {
+         "name": "[email protected]",
+         "address": "[email protected]"
+       }
+  ],
+  "cc": [],
+  "bcc": [],
+  "subject": [
+       "[root] UNCHECKED contents in mail FROM <[email protected]>"
+  ],
+  "sentDate": "2015-06-07T00:00:00+02:00",
+  "properties": [
+       {
+         "namespace": "http://james.apache.org/rfc2045/Content-Type";,
+         "localName": "type",
+         "value": "plain"
+       },
+       {
+         "namespace": "http://james.apache.org/rfc2045/Content-Type";,
+         "localName": "subtype",
+         "value": "text"
+       },
+       {
+         "namespace": "http://james.apache.org/rfc2045";,
+         "localName": "Content-Description",
+         "value": "An e-mail"
+       }
+  ],
+  "attachments": [
+       {
+         "textContent": "No viruses were found.\n\nContent type: 
Unchecked\nInternal reference code for the message is 
12583-16/Ss-IZaXqmZao\n\nAccording to a 'Received:' trace, the message 
apparently originated at:\n  [198.252.153.129], [127.0.0.1] localhost 
[127.0.0.1] Authenticated sender:\n  quentin.h\n\nReturn-Path: 
<[email protected]>\nFrom: Quentin <[email protected]>\nMessage-ID: 
<[email protected]>\nSubject: 
=?UTF-8?B?UmU6IEZ3ZDogW1RtcGxhYl0gW0FQUEVMIEEgUEFSVElDSVBBVElPTl0=?=\n  
=?UTF-8?B?IFdvb3QgZGV2aWNlcyAjMiAgOiB2ZW5leiBmYWlyZSBsZXVyIGhhY2tmw6p0ZSA=?=\n  
=?UTF-8?B?YXV4IHBldGl0ZXMgbWFjaGluZXMgcHJvZ3JhbW1hYmxlcyBsZXMgNi03IGp1aW4=?=\n  
=?UTF-8?B?IGF1IEphcmRpbiBkJ2FsaWNlL0JsYWNrbG9vcA==?=\nNot quarantined.\n\nThe 
message WILL BE relayed to:\n<[email protected]>\n\n",
+         "mediaType": "text",
+         "subtype": "plain",
+         "fileName": null,
+         "fileExtension": null,
+         "contentDisposition": "inline",
+         "headers": {
+               "content-disposition": [
+                 "inline"
+               ],
+               "content-transfer-encoding": [
+                 "7bit"
+               ],
+               "content-type": [
+                 "text/plain; charset=\"UTF-8\""
+               ]
+         }
+       },
+       {
+         "textContent": "Return-Path: <[email protected]>\nReceived-SPF: 
Pass (sender SPF authorized) identity=mailfrom; client-ip=198.252.153.129; 
helo=mx1.riseup.net; [email protected]; 
[email protected]\nAuthentication-Results: mx2.minet.net; 
dkim=pass\n\treason=\"1024-bit key; insecure key\"\n\theader.d=riseup.net 
[email protected] header.b=RVs2xP3R;\n\tdkim-adsp=pass; 
dkim-atps=neutral\nReceived: from mx1.riseup.net (mx1.riseup.net 
[198.252.153.129])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 
(256/256 bits))\n\t(No client certificate requested)\n\tby mx2.minet.net 
(Postfix) with ESMTPS id 6D9E0A27FCA\n\tfor <[email protected]>; Wed,  3 Jun 2015 
11:05:44 +0200 (CEST)\nReceived: from plantcutter.riseup.net 
(plantcutter-pn.riseup.net [10.0.1.121])\n\t(using TLSv1 with cipher 
ECDHE-RSA-AES256-SHA (256/256 bits))\n\t(Client CN \"*.riseup.net\", Issuer 
\"COMODO RSA Domain Validation Secure Server CA\" (verified OK))\n\tby 
mx1.riseup.net (Postfix) wi
 th ESMTPS id 5CC6541A75;\n\tWed,  3 Jun 2015 09:05:42 +0000 
(UTC)\nDKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; 
s=squak;\n\tt=1433322342; 
bh=Lz3x5ntYzOhQOpyviKamr5VE0TinfpBCnsivvJzojYk=;\n\th=Date:From:To:Subject:References:In-Reply-To:From;\n\tb=RVs2xP3RV4zWi3Jbs6p85cO8s44yLq1LXxwe6NQvgZjsHQdWaMY16jQzSbCRRdCRY\n\t
 IesTpg1mncqIinhXxL9grw2+0MgO+E0HM0ZPZzXM/xNTGZpALI1X6tDM0rxB+GEnHa\n\t 
NfGRbWnesWFLyba7am02KbTKeKq7svIBBmSbaFsE=\nReceived: from [127.0.0.1] 
(localhost [127.0.0.1])\n\t(Authenticated sender: quentin.h)\n\twith ESMTPSA id 
6DBAC20827\nMessage-ID: <[email protected]>\nDate: Wed, 03 Jun 2015 
11:05:37 +0200\nFrom: Quentin <[email protected]>\nUser-Agent: Mozilla/5.0 
(X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0\nMIME-Version: 
1.0\nTo: Yann Sionneau <[email protected]>, =?UTF-8?B?U3TDqXBoYW5pZSBPdWlsbG9u?=\n 
<[email protected]>, =?UTF-8?B?TmF0YWxpYSBDYWxkZXJvbiBCZWx0csOhbg==?=\n 
<[email protected]>\nSubject: =?UTF-8?B?UmU6IE
 Z3ZDogW1RtcGxhYl0gW0FQUEVMIEEgUEFSVElDSVBBVElPTl0=?=\n 
=?UTF-8?B?IFdvb3QgZGV2aWNlcyAjMiAgOiB2ZW5leiBmYWlyZSBsZXVyIGhhY2tmw6p0ZSA=?=\n 
=?UTF-8?B?YXV4IHBldGl0ZXMgbWFjaGluZXMgcHJvZ3JhbW1hYmxlcyBsZXMgNi03IGp1aW4=?=\n 
=?UTF-8?B?IGF1IEphcmRpbiBkJ2FsaWNlL0JsYWNrbG9vcA==?=\nReferences: 
<[email protected]> <[email protected]>\nIn-Reply-To: 
<[email protected]>\nOpenPGP: 
id=AA5EE4B4EA20E2BEAA70B98E49CBF006922B990A;\n\turl=pgp.mit.edu\nContent-Type: 
multipart/encrypted;\n protocol=\"application/pgp-encrypted\";\n 
boundary=\"M0xVhKIvXqi85dG57o5RfCUAoFwhAw1Nh\"\nX-Virus-Scanned: clamav-milter 
0.98.7 at mx1\nX-Virus-Status: Clean\n",
+         "mediaType": "text",
+         "subtype": "rfc822-headers",
+         "fileName": "header",
+         "fileExtension": "",
+         "contentDisposition": "inline",
+         "headers": {
+               "content-disposition": [
+                 "inline; filename=\"header\""
+               ],
+               "content-transfer-encoding": [
+                 "7bit"
+               ],
+               "content-type": [
+                 "text/rfc822-headers; name=\"header\""
+               ],
+               "content-description": [
+                 "Message header section"
+               ]
+         }
+       },
+       {
+         "textContent": 
"_______________________________________________\r\nroot mailing 
list\r\[email protected]\r\nhttps://listes.minet.net/cgi-bin/mailman/listinfo/root";,
+         "mediaType": "text",
+         "subtype": "plain",
+         "fileName": null,
+         "fileExtension": null,
+         "contentDisposition": "inline",
+         "headers": {
+               "mime-version": [
+                 "1.0"
+               ],
+               "content-transfer-encoding": [
+                 "quoted-printable"
+               ],
+               "content-disposition": [
+                 "inline"
+               ],
+               "content-type": [
+                 "text/plain; charset=\"iso-8859-1\""
+               ]
+         }
+       }
+  ],
+  "textBody": "No viruses were found.\n\nContent type: Unchecked\nInternal 
reference code for the message is 12583-16/Ss-IZaXqmZao\n\nAccording to a 
'Received:' trace, the message apparently originated at:\n  [198.252.153.129], 
[127.0.0.1] localhost [127.0.0.1] Authenticated sender:\n  
quentin.h\n\nReturn-Path: <[email protected]>\nFrom: Quentin 
<[email protected]>\nMessage-ID: <[email protected]>\nSubject: 
=?UTF-8?B?UmU6IEZ3ZDogW1RtcGxhYl0gW0FQUEVMIEEgUEFSVElDSVBBVElPTl0=?=\n  
=?UTF-8?B?IFdvb3QgZGV2aWNlcyAjMiAgOiB2ZW5leiBmYWlyZSBsZXVyIGhhY2tmw6p0ZSA=?=\n  
=?UTF-8?B?YXV4IHBldGl0ZXMgbWFjaGluZXMgcHJvZ3JhbW1hYmxlcyBsZXMgNi03IGp1aW4=?=\n  
=?UTF-8?B?IGF1IEphcmRpbiBkJ2FsaWNlL0JsYWNrbG9vcA==?=\nNot quarantined.\n\nThe 
message WILL BE relayed to:\n<[email protected]>\n\n",
+  "isAnswered": false,
+  "isDeleted": false,
+  "isDraft": false,
+  "isFlagged": false,
+  "isRecent": false,
+  "hasAttachment": true,
+  "isUnread": true
+}
\ No newline at end of file



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to