james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From btell...@apache.org
Subject svn commit: r1688117 [4/4] - in /james/mailbox/trunk/elasticsearch/src: main/java/org/apache/james/mailbox/elasticsearch/json/ test/java/org/apache/james/mailbox/elasticsearch/json/ test/resources/ test/resources/documents/
Date Mon, 29 Jun 2015 08:26:09 GMT
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: <bounce-debian-security-announce=benwa=minet.net@lists.debian.org>
+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 <benwa@minet.net>; 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 <benwa@minet.net>;
+	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.net@lists.debian.org; receiver=benwa@minet.net
+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 <benwa@minet.net>; 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: <carnil@master.debian.org>
+X-Original-To: lists-debian-security-announce@bendel.debian.org
+Delivered-To: lists-debian-security-announce@bendel.debian.org
+Received: from localhost (localhost [127.0.0.1])
+	by bendel.debian.org (Postfix) with ESMTP id 7EFBF228
+	for <lists-debian-security-announce@bendel.debian.org>; 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 <lists-debian-security-announce@bendel.debian.org>;
+	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 <debian-security-announce@lists.debian.org>; Wed,  3 Jun 2015 19:14:34 +0000 (UTC)
+Received: from carnil by master.debian.org with local (Exim 4.84)
+	(envelope-from <carnil@master.debian.org>)
+	id 1Z0E7U-0004Bc-Jv
+	for debian-security-announce@lists.debian.org; Wed, 03 Jun 2015 19:14:32 +0000
+From: Markus Koschany <apo@gambaru.de>
+To: debian-security-announce@lists.debian.org
+Message-Id: <E1Z0E7U-0004Bc-Jv@master.debian.org>
+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: debian-security@lists.debian.org
+X-Rc-Virus: 2007-09-13_01
+X-Rc-Spam: 2008-11-04_01
+Resent-Message-ID: <Aqb4x1ejWlF.A.ltC.qI1bVB@bendel>
+Resent-From: debian-security-announce@lists.debian.org
+X-Mailing-List: <debian-security-announce@lists.debian.org> archive/latest/2089
+X-Loop: debian-security-announce@lists.debian.org
+List-Id: <debian-security-announce.lists.debian.org>
+List-Post: <mailto:debian-security-announce@lists.debian.org>
+List-Help: <mailto:debian-security-announce-request@lists.debian.org?subject=help>
+List-Subscribe: <mailto:debian-security-announce-request@lists.debian.org?subject=subscribe>
+List-Unsubscribe: <mailto:debian-security-announce-request@lists.debian.org?subject=unsubscribe>
+Precedence: list
+Resent-Sender: debian-security-announce-request@lists.debian.org
+Resent-Date: Wed,  3 Jun 2015 19:14:50 +0000 (UTC)
+
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA512
+
+- -------------------------------------------------------------------------
+Debian Security Advisory DSA-3278-1                   security@debian.org
+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: debian-security-announce@lists.debian.org
+-----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 debian-security-announce-REQUEST@lists.debian.org
+with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
+Archive: https://lists.debian.org/E1Z0E7U-0004Bc-Jv@master.debian.org
\ 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": [
+	  "debian-security-announce@lists.debian.org"
+	],
+	"return-path": [
+	  "<bounce-debian-security-announce=benwa=minet.net@lists.debian.org>"
+	],
+	"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:debian-security-announce-request@lists.debian.org?subject=subscribe>"
+	],
+	"precedence": [
+	  "list"
+	],
+	"x-sieve": [
+	  "CMU Sieve 2.4"
+	],
+	"list-help": [
+	  "<mailto:debian-security-announce-request@lists.debian.org?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.net@lists.debian.org; receiver=benwa@minet.net"
+	],
+	"x-mailing-list": [
+	  "<debian-security-announce@lists.debian.org> archive/latest/2089"
+	],
+	"x-spam-level": [
+	  ""
+	],
+	"message-id": [
+	  "<E1Z0E7U-0004Bc-Jv@master.debian.org>"
+	],
+	"resent-message-id": [
+	  "<Aqb4x1ejWlF.A.ltC.qI1bVB@bendel>"
+	],
+	"from": [
+	  "Markus Koschany <apo@gambaru.de>"
+	],
+	"reply-to": [
+	  "debian-security@lists.debian.org"
+	],
+	"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:debian-security-announce-request@lists.debian.org?subject=unsubscribe>"
+	],
+	"list-post": [
+	  "<mailto:debian-security-announce@lists.debian.org>"
+	],
+	"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 <benwa@minet.net>; 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 <benwa@minet.net>;\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 <benwa@minet.net>; 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 <lists-debian-security-announce@bendel.debian.org>; 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 <lists-debian-security-announce@bendel.debian.org>;\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
<debian-security-announce@lists.debian.org>; Wed,  3 Jun 2015 19:14:34 +0000 (UTC)",
+	  "from carnil by master.debian.org with local (Exim 4.84)\t(envelope-from <carnil@master.debian.org>)\tid
1Z0E7U-0004Bc-Jv\tfor debian-security-announce@lists.debian.org; Wed, 03 Jun 2015 19:14:32
+0000"
+	],
+	"x-rc-virus": [
+	  "2007-09-13_01"
+	],
+	"x-loop": [
+	  "debian-security-announce@lists.debian.org"
+	],
+	"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": [
+	  "lists-debian-security-announce@bendel.debian.org"
+	],
+	"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": [
+	  "debian-security-announce-request@lists.debian.org"
+	],
+	"x-original-to": [
+	  "lists-debian-security-announce@bendel.debian.org"
+	],
+	"to": [
+	  "debian-security-announce@lists.debian.org"
+	],
+	"list-id": [
+	  "<debian-security-announce.lists.debian.org>"
+	],
+	"old-return-path": [
+	  "<carnil@master.debian.org>"
+	]
+  },
+  "from": [
+	{
+	  "name": "Markus Koschany",
+	  "address": "apo@gambaru.de"
+	}
+  ],
+  "to": [
+	{
+	  "name": "debian-security-announce@lists.debian.org",
+	  "address": "debian-security-announce@lists.debian.org"
+	}
+  ],
+  "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                   security@debian.org\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: debian-security-announce@lists.debian.org\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 debian-security-announce-REQUEST@lists.debian.org\nwith
a subject of \"unsubscribe\". Trouble? Contact listmaster@lists.debian.org\nArchive: https://lists.debian.org/E1Z0E7U-0004Bc-Jv@master.debian.org",
+  "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: <mbaechler@linagora.com>
+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 <btellier@linagora.com>; Wed, 10 Jun 2015 10:45:28 +0200 (CEST)
+Message-ID: <5577F927.2040409@linagora.com>
+Date: Wed, 10 Jun 2015 10:45:27 +0200
+From: Matthieu Baechler <mbaechler@linagora.com>
+User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0
+MIME-Version: 1.0
+To: btellier@linagora.com
+Subject: Fwd: Courbe Sprint
+References: <556EA5E0.8010008@linagora.com>
+In-Reply-To: <556EA5E0.8010008@linagora.com>
+X-Forwarded-Message-Id: <556EA5E0.8010008@linagora.com>
+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: <aduprat@linagora.com>
+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 <mbaechler@linagora.com>; Wed,  3 Jun 2015 08:59:45 +0200 (CEST)
+Message-ID: <556EA5E0.8010008@linagora.com>
+Date: Wed, 03 Jun 2015 08:59:44 +0200
+From: Antoine DUPRAT <aduprat@linagora.com>
+User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
+MIME-Version: 1.0
+To: "mbaechler@linagora.com" <mbaechler@linagora.com>
+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": [
+      "<556EA5E0.8010008@linagora.com>"
+    ],
+    "references": [
+      "<556EA5E0.8010008@linagora.com>"
+    ],
+    "return-path": [
+      "<mbaechler@linagora.com>"
+    ],
+    "x-forwarded-message-id": [
+      "<556EA5E0.8010008@linagora.com>"
+    ],
+    "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 <btellier@linagora.com>;
Wed, 10 Jun 2015 10:45:28 +0200 (CEST)"
+    ],
+    "x-sieve": [
+      "CMU Sieve 2.2"
+    ],
+    "message-id": [
+      "<5577F927.2040409@linagora.com>"
+    ],
+    "from": [
+      "Matthieu Baechler <mbaechler@linagora.com>"
+    ],
+    "content-type": [
+      "multipart/mixed; boundary=\"------------080603090509090707040003\""
+    ],
+    "to": [
+      "btellier@linagora.com"
+    ],
+    "user-agent": [
+      "Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0"
+    ]
+  },
+  "from": [
+    {
+      "name": "Matthieu Baechler",
+      "address": "mbaechler@linagora.com"
+    }
+  ],
+  "to": [
+    {
+      "name": "btellier@linagora.com",
+      "address": "btellier@linagora.com"
+    }
+  ],
+  "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": [
+          "<aduprat@linagora.com>"
+        ],
+        "subject": [
+          "Courbe Sprint"
+        ],
+        "message-id": [
+          "<556EA5E0.8010008@linagora.com>"
+        ],
+        "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 <mbaechler@linagora.com>;
Wed,  3 Jun 2015 08:59:45 +0200 (CEST)"
+        ],
+        "from": [
+          "Antoine DUPRAT <aduprat@linagora.com>"
+        ],
+        "content-type": [
+          "multipart/mixed; boundary=\"------------000406070706000403020805\""
+        ],
+        "to": [
+          "\"mbaechler@linagora.com\" <mbaechler@linagora.com>"
+        ],
+        "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: <root-bounces@listes.minet.net>
+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: root@listes.minet.net
+Delivered-To: root@listes.minet.net
+Received: from mx1.minet.net (mx1.minet.net [192.168.102.25])
+ by listes.minet.net (Postfix) with ESMTP id B8C1FA27FEF
+ for <root@listes.minet.net>; 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 <root@listes.minet.net>; 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" <postmaster@minet.net>
+Date: Wed,  3 Jun 2015 09:05:46 +0000 (UTC)
+To: <root@listes.minet.net>
+Message-ID: <VASs-IZaXqmZao@spam.minet.net>
+Subject: [root] UNCHECKED contents in mail FROM <quentin.h@riseup.net>
+X-BeenThere: root@listes.minet.net
+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:root-request@listes.minet.net?subject=unsubscribe>
+List-Post: <mailto:root@listes.minet.net>
+List-Help: <mailto:root-request@listes.minet.net?subject=help>
+List-Subscribe: <https://listes.minet.net/cgi-bin/mailman/listinfo/root>,
+ <mailto:root-request@listes.minet.net?subject=subscribe>
+Errors-To: root-bounces@listes.minet.net
+Sender: "root" <root-bounces@listes.minet.net>
+
+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: <quentin.h@riseup.net>
+From: Quentin <quentin.h@riseup.net>
+Message-ID: <556EC361.6000308@riseup.net>
+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:
+<yann@minet.net>
+
+
+------------=_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: <quentin.h@riseup.net>
+Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=198.252.153.129;
helo=mx1.riseup.net; envelope-from=quentin.h@riseup.net; receiver=yann@minet.net
+Authentication-Results: mx2.minet.net; dkim=pass
+	reason="1024-bit key; insecure key"
+	header.d=riseup.net header.i=@riseup.net 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 <yann@minet.net>; 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: <556EC361.6000308@riseup.net>
+Date: Wed, 03 Jun 2015 11:05:37 +0200
+From: Quentin <quentin.h@riseup.net>
+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 <yann@minet.net>, =?UTF-8?B?U3TDqXBoYW5pZSBPdWlsbG9u?=
+ <stephanie@ouillon.fr>, =?UTF-8?B?TmF0YWxpYSBDYWxkZXJvbiBCZWx0csOhbg==?=
+ <natalia@calderon.be>
+Subject: =?UTF-8?B?UmU6IEZ3ZDogW1RtcGxhYl0gW0FQUEVMIEEgUEFSVElDSVBBVElPTl0=?=
+ =?UTF-8?B?IFdvb3QgZGV2aWNlcyAjMiAgOiB2ZW5leiBmYWlyZSBsZXVyIGhhY2tmw6p0ZSA=?=
+ =?UTF-8?B?YXV4IHBldGl0ZXMgbWFjaGluZXMgcHJvZ3JhbW1hYmxlcyBsZXMgNi03IGp1aW4=?=
+ =?UTF-8?B?IGF1IEphcmRpbiBkJ2FsaWNlL0JsYWNrbG9vcA==?=
+References: <556E332B.8020808@wootdevices.io> <556E3512.3050404@minet.net>
+In-Reply-To: <556E3512.3050404@minet.net>
+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
+root@listes.minet.net
+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": [
+	  "root@listes.minet.net"
+	],
+	"list-unsubscribe": [
+	  "<https://listes.minet.net/cgi-bin/mailman/options/root>, <mailto:root-request@listes.minet.net?subject=unsubscribe>"
+	],
+	"return-path": [
+	  "<root-bounces@listes.minet.net>"
+	],
+	"subject": [
+	  "[root] UNCHECKED contents in mail FROM <quentin.h@riseup.net>"
+	],
+	"list-post": [
+	  "<mailto:root@listes.minet.net>"
+	],
+	"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 <root@listes.minet.net>; 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 <root@listes.minet.net>; Wed,  3 Jun 2015 11:05:46 +0200 (CEST)"
+	],
+	"errors-to": [
+	  "root-bounces@listes.minet.net"
+	],
+	"precedence": [
+	  "list"
+	],
+	"list-subscribe": [
+	  "<https://listes.minet.net/cgi-bin/mailman/listinfo/root>, <mailto:root-request@listes.minet.net?subject=subscribe>"
+	],
+	"x-sieve": [
+	  "CMU Sieve 2.4"
+	],
+	"list-help": [
+	  "<mailto:root-request@listes.minet.net?subject=help>"
+	],
+	"content-transfer-encoding": [
+	  "7bit"
+	],
+	"sender": [
+	  "\"root\" <root-bounces@listes.minet.net>"
+	],
+	"delivered-to": [
+	  "root@listes.minet.net"
+	],
+	"x-mailman-version": [
+	  "2.1.15"
+	],
+	"message-id": [
+	  "<VASs-IZaXqmZao@spam.minet.net>"
+	],
+	"content-type": [
+	  "multipart/mixed; boundary=\"----------=_1433322346-12583-0\""
+	],
+	"from": [
+	  "\"Content-filter at spam.minet.net\" <postmaster@minet.net>"
+	],
+	"x-original-to": [
+	  "root@listes.minet.net"
+	],
+	"to": [
+	  "<root@listes.minet.net>"
+	],
+	"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": "postmaster@minet.net"
+	}
+  ],
+  "to": [
+	{
+	  "name": "root@listes.minet.net",
+	  "address": "root@listes.minet.net"
+	}
+  ],
+  "cc": [],
+  "bcc": [],
+  "subject": [
+	"[root] UNCHECKED contents in mail FROM <quentin.h@riseup.net>"
+  ],
+  "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: <quentin.h@riseup.net>\nFrom: Quentin <quentin.h@riseup.net>\nMessage-ID:
<556EC361.6000308@riseup.net>\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<yann@minet.net>\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: <quentin.h@riseup.net>\nReceived-SPF: Pass (sender
SPF authorized) identity=mailfrom; client-ip=198.252.153.129; helo=mx1.riseup.net; envelope-from=quentin.h@riseup.net;
receiver=yann@minet.net\nAuthentication-Results: mx2.minet.net; dkim=pass\n\treason=\"1024-bit
key; insecure key\"\n\theader.d=riseup.net header.i=@riseup.net 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 <yann@minet.net>;
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: <556EC361.6000308@riseup.net>\nDate: Wed, 03 Jun 2015 11:05:37
+0200\nFrom: Quentin <quentin.h@riseup.net>\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 <yann@minet.net>,
=?UTF-8?B?U3TDqXBoYW5pZSBPdWlsbG9u?=\n <stephanie@ouillon.fr>, =?UTF-8?B?TmF0YWxpYSBDYWxkZXJvbiBCZWx0csOhbg==?=\n
<natalia@calderon.be>\nSubject: =?UTF-8?B?UmU6IE
 Z3ZDogW1RtcGxhYl0gW0FQUEVMIEEgUEFSVElDSVBBVElPTl0=?=\n =?UTF-8?B?IFdvb3QgZGV2aWNlcyAjMiAgOiB2ZW5leiBmYWlyZSBsZXVyIGhhY2tmw6p0ZSA=?=\n
=?UTF-8?B?YXV4IHBldGl0ZXMgbWFjaGluZXMgcHJvZ3JhbW1hYmxlcyBsZXMgNi03IGp1aW4=?=\n =?UTF-8?B?IGF1IEphcmRpbiBkJ2FsaWNlL0JsYWNrbG9vcA==?=\nReferences:
<556E332B.8020808@wootdevices.io> <556E3512.3050404@minet.net>\nIn-Reply-To: <556E3512.3050404@minet.net>\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\nroot@listes.minet.net\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: <quentin.h@riseup.net>\nFrom: Quentin <quentin.h@riseup.net>\nMessage-ID:
<556EC361.6000308@riseup.net>\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<yann@minet.net>\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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message