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 F0C7D431FB6 for ; Tue, 3 Apr 2012 08:41:25 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.602 X-Spam-Level: X-Spam-Status: No, score=0.602 tagged_above=-999 required=5 tests=[DKIM_ADSP_CUSTOM_MED=0.001, DKIM_SIGNED=0.1, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_LOW=-0.7] 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 cQ06ItD1Di5H for ; Tue, 3 Apr 2012 08:41:25 -0700 (PDT) Received: from mail-wg0-f45.google.com (mail-wg0-f45.google.com [74.125.82.45]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 3AAAA431FAE for ; Tue, 3 Apr 2012 08:41:25 -0700 (PDT) Received: by wgbds10 with SMTP id ds10so3134236wgb.2 for ; Tue, 03 Apr 2012 08:41:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:content-transfer-encoding:from:user-agent :to:references:in-reply-to:message-id:subject:date; bh=j/r9NdkJ5i2Au3aN/Rw2+pYwuhMzNcvYEQ3+0kmZ95o=; b=XUfrpOCLb3Rkrx+PxRah5cLq5mZ6S1hrmgVguDvfGW81mDw9rkjllLVQhcv+PcipDq nVAGC5xiIf1sz5f9I6Vc8LJIdCznfmmYsGBAhr3HYCg5jCDKhlsLvPVXU5M+NOc2WC6K iEmjA1l8zBKbavT29jy+SfYgTAAeXq6fyzsVPLbSAP4QF8w+wEN+ELEEw5ULd2HeKNeS NlSHOeSv2jOoxB3AuI8YBB5Idi2MUKxQJq5eHYzr9q4XZ+X5FXLyo9pg/ZPNYCvZeU88 o8y4bTU5hqF1wwHy1ODHoAkpVme5gObZY7mzuY1vhQjoARC5waJZbIWFcvg+XX9nZBYV TYEw== Received: by 10.180.104.137 with SMTP id ge9mr37471748wib.20.1333467682499; Tue, 03 Apr 2012 08:41:22 -0700 (PDT) Received: from localhost ([149.254.186.237]) by mx.google.com with ESMTPS id u9sm43704684wix.0.2012.04.03.08.41.20 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 03 Apr 2012 08:41:21 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Patrick Totzke User-Agent: alot/0.3+ To: Jacek Generowicz , References: <6e25c6ab-13bb-41cd-b4f1-cde0b561d4b7@CERNFE22.cern.ch> In-Reply-To: <6e25c6ab-13bb-41cd-b4f1-cde0b561d4b7@CERNFE22.cern.ch> Message-ID: <20120403154113.11700.87709@brick.lan> Subject: Re: Passwordless multi-account SMTP Date: Tue, 03 Apr 2012 16:41:13 +0100 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:41:26 -0000 Hi Jacek, I am using msmtp for this: I keep my passwords in an encrypted file and use a shellscript to decrypt and grep for passwords in combination with msmtp's `passwordeval` option. Have a look at https://github.com/pazz/configs/blob/master/.msmtprc https://github.com/pazz/scripts/blob/master/getpwd I have a similar setup for offlineimap (configs also on github). All this works quite nicely together with my ssh-agent (gnome-keyring-daemo= n) which unlocks my gnupg keys upon login. HTH, /p Quoting Jacek Generowicz (2012-04-03 16:29:07) >Hello, > >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: > >+ Gnus posting styles. (I'd rather stay clear of gnus, at present.) > >+ Writing plaintext passwords in the MSMTP config files. (I'm rather > relutctant to leave plaintext passwords lying around.) > >+ 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.) > >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.) > >Hints gratefully received. > >Thank you. >_______________________________________________ >notmuch mailing list >notmuch@notmuchmail.org >http://notmuchmail.org/mailman/listinfo/notmuch