commit 26f68b05edd0633c5d6a416f1ae566c1ffab64a4
parent 6cbc357f8a2da645539a7d35c5ec2cacec7795ff
Author: parazyd <parazyd@dyne.org>
Date: Sat, 10 Mar 2018 13:46:26 +0100
Add forwarded email example.
Diffstat:
A | examples/forward.txt | | | 155 | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
1 file changed, 155 insertions(+), 0 deletions(-)
diff --git a/examples/forward.txt b/examples/forward.txt
@@ -0,0 +1,155 @@
+Date: Sat, 10 Mar 2018 13:04:59 +0100
+From: "Ivan J." <parazyd@dyne.org>
+To: parazyd@dyne.org
+Subject: [Fwd] Re: patch for amprolla
+Message-ID: <20180310120459.qwpmrjl5ippghiju@fq>
+MIME-Version: 1.0
+Content-Type: multipart/mixed; boundary="gi2tc45m5734a7za"
+Content-Disposition: inline
+User-Agent: rp
+
+
+--gi2tc45m5734a7za
+Content-Type: text/plain; charset=utf-8
+Content-Disposition: inline
+
+Have a look.
+
+--
+~ parazyd
+GnuPG: 03337671FDE75BB6A85EC91FB876CB44FA1B0274
+GnuPG: https://parazyd.org/fa1b0274.asc
+
+--gi2tc45m5734a7za
+Content-Type: message/rfc822
+Content-Disposition: inline
+
+Return-Path: <aitor_czr@gnuinos.org>
+Delivered-To: parazyd@dyne.org
+Received: from 2.mo173.mail-out.ovh.net (2.mo173.mail-out.ovh.net [178.33.251.49])
+ (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
+ (No client certificate requested)
+ by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 776AFF604DD
+ for <parazyd@dyne.org>; Sat, 10 Mar 2018 09:09:28 +0100 (CET)
+Received: from player758.ha.ovh.net (unknown [10.109.122.27])
+ by mo173.mail-out.ovh.net (Postfix) with ESMTP id 2F9EDB109E
+ for <parazyd@dyne.org>; Sat, 10 Mar 2018 09:08:37 +0100 (CET)
+Received: from [192.168.0.15] (109.82-130-160.dynamic.clientes.euskaltel.es [82.130.160.109])
+ (Authenticated sender: aitor_czr@gnuinos.org)
+ by player758.ha.ovh.net (Postfix) with ESMTPSA id A7F362C008C
+ for <parazyd@dyne.org>; Sat, 10 Mar 2018 09:08:36 +0100 (CET)
+Subject: Re: patch for amprolla
+To: "Ivan J." <parazyd@dyne.org>
+References: <e9e20fac-17f1-7a84-c274-2873c470c9ef@gnuinos.org>
+ <20180307203748.odf5vxivzl3dojpo@fq>
+ <ea4508c0-cd96-b27c-4013-882b98e231d9@gnuinos.org>
+ <20180309080039.bt76mtt5imfbx4rv@fq>
+From: aitor_czr <aitor_czr@gnuinos.org>
+Message-ID: <50c5c144-a4dc-a55d-fd62-a037935553e7@gnuinos.org>
+Date: Sat, 10 Mar 2018 09:08:39 +0000
+User-Agent: Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101
+ Thunderbird/52.6.0
+MIME-Version: 1.0
+In-Reply-To: <20180309080039.bt76mtt5imfbx4rv@fq>
+Content-Type: multipart/mixed;
+ boundary="------------C01DC9119ED6F5139D54AC47"
+Content-Language: en-US
+X-Ovh-Tracer-Id: 10557563429413119521
+X-VR-SPAMSTATE: OK
+X-VR-SPAMSCORE: 0
+X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtfedrkeejgdduvddtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecufedttdenuc
+X-Spam-Status: No, score=0.0 required=5.0 tests=HTML_MESSAGE,
+ RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=disabled version=3.4.1
+X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on tupac3.dyne.org
+
+This is a multi-part message in MIME format.
+--------------C01DC9119ED6F5139D54AC47
+Content-Type: multipart/alternative;
+ boundary="------------87A63A43BAEDE5CEF82BAE7A"
+
+
+--------------87A63A43BAEDE5CEF82BAE7A
+Content-Type: text/plain; charset=utf-8; format=flowed
+Content-Transfer-Encoding: 7bit
+
+Hi parazyd,
+
+On 09/03/18 08:00, Ivan J. wrote:
+> Please send me a proper patch made with git-format-patch then please. I
+> can not read or apply this one.
+>
+Here you are the patch in the git format.
+
+
+
+--------------87A63A43BAEDE5CEF82BAE7A
+Content-Type: text/html; charset=utf-8
+Content-Transfer-Encoding: 7bit
+
+<html>
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ </head>
+ <body text="#000000" bgcolor="#FFFFFF">
+ <p><font size="-1">Hi parazyd,<br>
+ </font></p>
+ <font size="-1">On 09/03/18 08:00, Ivan J. wrote:</font><br>
+ <blockquote type="cite"
+ cite="mid:20180309080039.bt76mtt5imfbx4rv@fq">
+ <pre wrap="">Please send me a proper patch made with git-format-patch then please. I
+can not read or apply this one.
+
+</pre>
+ </blockquote>
+ <font size="-1">Here you are the patch in the git format.</font><br>
+ <br>
+ <br>
+ </body>
+</html>
+
+--------------87A63A43BAEDE5CEF82BAE7A--
+
+--------------C01DC9119ED6F5139D54AC47
+Content-Type: text/x-patch;
+ name="release.patch"
+Content-Transfer-Encoding: 7bit
+Content-Disposition: attachment;
+ filename="release.patch"
+
+From 8a6c213f3c33de68d2847dc409140a7d7fe60307 Mon Sep 17 00:00:00 2001
+From: Aitor Cuadrado Zubizarreta <aitor_czr@gnuinos.org>
+Date: Sat, 10 Mar 2018 08:59:42 +0000
+Subject: [PATCH] Modified lib/release.patch
+
+---
+ lib/release.py | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/lib/release.py b/lib/release.py
+index eae22fe..77a534b 100644
+--- a/lib/release.py
++++ b/lib/release.py
+@@ -49,13 +49,13 @@ def write_release(oldrel, newrel, filelist, rmstr, rewrite=True):
+ prettyt1 = time1.strftime('%a, %d %b %Y %H:%M:%S UTC')
+ # prettyt2 = time2.strftime('%a, %d %b %Y %H:%M:%S UTC')
+
++ old = open(oldrel).read()
++ new = open(newrel, 'w')
++
+ # this holds our local data in case we don't want to rehash files
+ local_rel = open(newrel).read()
+ local_rel = parse_release(local_rel)
+
+- old = open(oldrel).read()
+- new = open(newrel, 'w')
+-
+ rel_cont = parse_release_head(old)
+
+ rel_cont['Date'] = prettyt1
+--
+2.1.4
+
+
+--------------C01DC9119ED6F5139D54AC47--
+
+--gi2tc45m5734a7za--