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