--- /dev/null
+Return-Path: <james@jamesvasile.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 2B1C8431FB6\r
+ for <notmuch@notmuchmail.org>; Tue, 3 Apr 2012 08:46:26 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 1.373\r
+X-Spam-Level: *\r
+X-Spam-Status: No, score=1.373 tagged_above=-999 required=5\r
+ tests=[RDNS_DYNAMIC=0.363, TO_NO_BRKTS_DYNIP=1, T_MIME_NO_TEXT=0.01]\r
+ autolearn=disabled\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 s1JRrM0efx6G for <notmuch@notmuchmail.org>;\r
+ Tue, 3 Apr 2012 08:46:25 -0700 (PDT)\r
+Received: from hackervisions.org (67-207-143-141.slicehost.net\r
+ [67.207.143.141]) (using TLSv1 with cipher AES256-SHA (256/256 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id 9E7F5431FAE\r
+ for <notmuch@notmuchmail.org>; Tue, 3 Apr 2012 08:46:25 -0700 (PDT)\r
+Received: from ool-457af02d.dyn.optonline.net ([69.122.240.45] helo=localhost)\r
+ by hackervisions.org with esmtpsa\r
+ (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72)\r
+ (envelope-from <james@jamesvasile.com>)\r
+ id 1SF5w7-0006c2-Vm; Tue, 03 Apr 2012 11:46:24 -0400\r
+From: James Vasile <james@hackervisions.org>\r
+To: Jacek Generowicz <jacek.generowicz@cern.ch>, notmuch@notmuchmail.org\r
+Subject: Re: Passwordless multi-account SMTP\r
+In-Reply-To: <6e25c6ab-13bb-41cd-b4f1-cde0b561d4b7@CERNFE22.cern.ch>\r
+References: <6e25c6ab-13bb-41cd-b4f1-cde0b561d4b7@CERNFE22.cern.ch>\r
+User-Agent: Notmuch/0.11.1+206~gf3628de (http://notmuchmail.org) Emacs/23.3.1\r
+ (i486-pc-linux-gnu)\r
+Date: Tue, 03 Apr 2012 11:46:13 -0400\r
+Message-ID: <87wr5wg6nu.fsf@wyzanski.jamesvasile.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, 03 Apr 2012 15:46:26 -0000\r
+\r
+--=-=-=\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Tue, 3 Apr 2012 17:29:07 +0200, Jacek Generowicz <jacek.generowicz@cern.=\r
+ch> wrote:\r
+> Hello,\r
+>=20\r
+> I'm trying to use notmuch from Emacs. I have a number of SMTP accounts\r
+> through which I would need to send mail. Suggested solutions I have\r
+> found fall into 3 categories:\r
+>=20\r
+> + Gnus posting styles. (I'd rather stay clear of gnus, at present.)\r
+>=20\r
+> + Writing plaintext passwords in the MSMTP config files. (I'm rather\r
+> relutctant to leave plaintext passwords lying around.)\r
+>=20\r
+> + Emacs' own SMTP library. (I don't understand how to get it to deal\r
+> with many accounts in a non-gnus based way. It also seems to be\r
+> undergoing an interface change in the transition from Emacs 23 to\r
+> 24, and it was already confusing enough without that complication.)\r
+>=20\r
+> To further complicate matters, I'm looking for a solution which queues\r
+> any messages which are sent while the machine is offline. (It seems\r
+> that MSMTP and Emacs SMTP library do offer some help in those\r
+> respects.)\r
+>=20\r
+> Hints gratefully received.\r
+\r
+\r
+I use a slightly modified msmtpq for queuing and I have some hooks that\r
+run profiles to choose SMTP server and other options based on\r
+sender/receiver/last search. Passwords are plain text but my fs is\r
+encrypted. If you want, you could encrypt the password file with gpg\r
+and use gpg-agent to grab the password as needed from the file.\r
+\r
+Good luck.\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.12 (GNU/Linux)\r
+\r
+iQEcBAEBAgAGBQJPextFAAoJECaDklOuuidYURsH/2eKTSOPPPFxPj8j7rm/UEQI\r
+yHuEv9dnAu4riZm8kqoeKx405dR5mfBSFv1/fksNdRxU2pxP4OL+PQGlNrFgP8J8\r
+66vAtpPvKoALgVw0eSVhN477HVyLiEkFtTwui4jwgBQwxXVx5Lbd3GDXxwjlMx6D\r
+AzQ8q5yflYgYMt/x5WaY41xiydPKAtu1cedgNaYK4o1GFn7O47WLrYXbNYvbjY6D\r
+D+vQs0cQaHiqMUEdGOVll6x95yZ0sfyyRf+JXlLW5DH+4PUY1x9EBa+t3MKMbMas\r
+ygorkteu3ftwbcugfeh9/c3PcERPIPkMTd2bguJYfrP5qORhkAiNJZDHGIOYNzI=\r
+=1dM9\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r