Printing mail
authorKeith Packard <keithp@keithp.com>
Tue, 9 Nov 2010 14:51:12 +0000 (06:51 +1600)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:37:25 +0000 (09:37 -0800)
02/dc11f17fe6d89e8f280dfa5455790affe600ef [new file with mode: 0644]

diff --git a/02/dc11f17fe6d89e8f280dfa5455790affe600ef b/02/dc11f17fe6d89e8f280dfa5455790affe600ef
new file mode 100644 (file)
index 0000000..9ab1a1c
--- /dev/null
@@ -0,0 +1,90 @@
+Return-Path: <keithp@keithp.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id C1B0940DAEC\r
+       for <notmuch@notmuchmail.org>; Tue,  9 Nov 2010 06:51:29 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -1.89\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-1.89 tagged_above=-999 required=5\r
+       tests=[BAYES_00=-1.9, T_MIME_NO_TEXT=0.01] autolearn=ham\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id SWDBtAaj8svt for <notmuch@notmuchmail.org>;\r
+       Tue,  9 Nov 2010 06:51:17 -0800 (PST)\r
+Received: from keithp.com (home.keithp.com [63.227.221.253])\r
+       by olra.theworths.org (Postfix) with ESMTP id 3F68B40DAD3\r
+       for <notmuch@notmuchmail.org>; Tue,  9 Nov 2010 06:51:17 -0800 (PST)\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by keithp.com (Postfix) with ESMTP id 74A097600A1\r
+       for <notmuch@notmuchmail.org>; Tue,  9 Nov 2010 06:51:15 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at keithp.com\r
+Received: from keithp.com ([127.0.0.1])\r
+       by localhost (keithp.com [127.0.0.1]) (amavisd-new, port 10024)\r
+       with LMTP id gJBiLa5cQJhc for <notmuch@notmuchmail.org>;\r
+       Tue,  9 Nov 2010 06:51:12 -0800 (PST)\r
+Received: by keithp.com (Postfix, from userid 1033)\r
+       id A3CB67600E1; Tue,  9 Nov 2010 06:51:12 -0800 (PST)\r
+Received: from koto.keithp.com (localhost [127.0.0.1])\r
+       by keithp.com (Postfix) with ESMTP id 9DF377600A1\r
+       for <notmuch@notmuchmail.org>; Tue,  9 Nov 2010 06:51:12 -0800 (PST)\r
+Received: by koto.keithp.com (Postfix, from userid 1488)\r
+       id 4A2CD11C030; Tue,  9 Nov 2010 06:51:12 -0800 (PST)\r
+From: "Keith Packard" <keithp@keithp.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: Printing mail\r
+User-Agent: Notmuch/0.4 (http://notmuchmail.org) Emacs/23.2.1\r
+       (i486-pc-linux-gnu)\r
+Date: Tue, 09 Nov 2010 06:51:12 -0800\r
+Message-ID: <yunbp5ysg7z.fsf@aiko.keithp.com>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha1; protocol="application/pgp-signature"\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Tue, 09 Nov 2010 14:51:30 -0000\r
+\r
+--=-=-=\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+\r
+Print is dead. Or so they say\r
+\r
+Here's a script I'm using with '|' to get mail printed. As you can see,\r
+it previews the mail on-screen with 'evince', from which you use the\r
+regular 'print' dialog.\r
+\r
+#!/bin/sh\r
+tmp=3D`mktemp`\r
+muttprint -p "TO_FILE:$tmp"\r
+evince $tmp\r
+rm $tmp\r
+\r
+Making this more secure would be nice.\r
+\r
+=2D-=20\r
+keith.packard@intel.com\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.10 (GNU/Linux)\r
+\r
+iD8DBQFM2V/gQp8BWwlsTdMRAsXPAKC+qydwMTh5YjKBXz1drlspk3TVBgCeIS/I\r
+iLhDUmi2IejFQbZRYF85/Ws=\r
+=imvY\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r