From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.help Subject: Re: [OFF-TOPIC] Re: Alternative mail providers Date: Wed, 20 Feb 2019 14:41:27 -0800 Message-ID: <87ftsiaxrc.fsf@ericabrahamsen.net> References: <20190218122758037230128@bob.proulx.com> <5b2967d4-2428-c475-c37c-021c52cdca40@gmail.com> <834l90jvri.fsf@gnu.org> <1ac0dbd6-5d0e-52f4-d34c-d89391e89f43@gmail.com> <87k1hv65gh.fsf_-_@fencepost.gnu.org> <87bm36o5iz.fsf@fencepost.gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="111863"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 20 23:48:34 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gwafK-000T0i-Bx for geh-help-gnu-emacs@m.gmane.org; Wed, 20 Feb 2019 23:48:34 +0100 Original-Received: from localhost ([127.0.0.1]:50035 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gwafJ-0001bV-5H for geh-help-gnu-emacs@m.gmane.org; Wed, 20 Feb 2019 17:48:33 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35512) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gwaYf-0004rK-14 for help-gnu-emacs@gnu.org; Wed, 20 Feb 2019 17:41:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gwaYe-0002O6-4V for help-gnu-emacs@gnu.org; Wed, 20 Feb 2019 17:41:40 -0500 Original-Received: from [195.159.176.226] (port=59466 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gwaYd-0001r3-SP for help-gnu-emacs@gnu.org; Wed, 20 Feb 2019 17:41:40 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1gwaYX-000L9n-6A for help-gnu-emacs@gnu.org; Wed, 20 Feb 2019 23:41:33 +0100 X-Injected-Via-Gmane: http://gmane.org/ Cancel-Lock: sha1:m84+WNQZ59IQ3Bg+C3iMfSJ0VVk= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.226 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:119500 Archived-At: Van L writes: > Amin Bandali writes: > >>> >>> Has anyone had success in using a >>> .authinfo.gpg for Gnus? >>> >> >> I didn’t have any trouble setting it up to use with the nnimap backend. >> Does a line like this not work in your ~/.authinfo.gpg? >> >> machine accnamehere login email@here password passwordhere >> >> Though there does seem to be a bug such that long username+password >> combinations cause the password to be truncated when calling the IMAP > > That could be the problem for me. > > Gnus prompts for the gpg > passphrase but then does not use > the line within .authinfo.gpg . It > asks for the name and password > again and writes to .authinfo file > despite the nnimap configuration [1] > having .authinfo.gpg as the file > to use. I think forced this by setting `auth-sources' unconditionally to '("~/.authinfo.gpg"). That way it had no choice but to use the encrypted version.