From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 27476 invoked from network); 26 Oct 2022 19:08:55 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 26 Oct 2022 19:08:55 -0000 Received: from lists1.math.uh.edu ([129.7.128.208]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1onllk-00AqLr-QC for ml@inbox.vuxu.org; Wed, 26 Oct 2022 14:08:52 -0500 Received: from lists1.math.uh.edu ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.96) (envelope-from ) id 1onllk-002cx2-1o for ml@inbox.vuxu.org; Wed, 26 Oct 2022 14:08:52 -0500 Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtp (Exim 4.96) (envelope-from ) id 1onllg-002cwt-2S for ding@lists.math.uh.edu; Wed, 26 Oct 2022 14:08:48 -0500 Received: from quimby.gnus.org ([95.216.78.240]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1onlld-00AqLG-TW for ding@lists.math.uh.edu; Wed, 26 Oct 2022 14:08:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:Message-ID:Subject:To: From:Date:MIME-Version:Sender:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=ZlbVNZSOfOc96eatA6odNt/tzwCr088IzM45IxxDZH4=; b=At3IXKAD0rIAsdGetZ0dnMU+60 zF5yQLKaS738N6SDDJpphvnqs9oqinfYxXPkQ3QvqCflxIM+Q9G/z/Qh/vnCarjXrsgCH2/ecgkij e17TwKsRlb0TG2H3I6YE8Hg590MjgpjvpMeUBjcxpEEPkIGu2SgI2dzz1gDgX6oWsOHA=; Received: from relay7-d.mail.gandi.net ([2001:4b98:dc4:8::227]) by quimby.gnus.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1onllU-0001Da-OM for ding@gnus.org; Wed, 26 Oct 2022 21:08:39 +0200 Received: (Authenticated sender: bk@asterio.cloud) by mail.gandi.net (Postfix) with ESMTPA id 5F8C220005 for ; Wed, 26 Oct 2022 19:08:33 +0000 (UTC) MIME-Version: 1.0 Date: Wed, 26 Oct 2022 21:08:33 +0200 From: bk@asterio.cloud To: ding@gnus.org Subject: Unable to authenticate to local dovecot server in Gnus using password-store as auth-source backend Message-ID: X-Sender: bk@asterio.cloud Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-ID: Precedence: bulk Hi, As is written in subject I can't authenticate to my local dovecot server when I have enabled pass backend in auth-source. I don't have this problem in default ~/.authinfo file. If it's not exist it's generated by Emacs and contain line as follows: machine localhost login bk@asterio.cloud password pass My minimal ~/.emacs file (setq auth-source-debug 'trivia) (setq auth-sources '(password-store)) (setq gnus-select-method '(nnnil "")) (setq gnus-secondary-select-methods '((nnimap "localhost" (nnimap-address "127.0.0.1") (nnimap-stream network) (nnimap-authenticator login) (nnimap-server-port 1143) (nnimap-user "bk@asterio.cloud")))) According to documentation [1] I tried numerous of entries of my user password entry in pass: pass ls Password Store ├── 127.0.0.1 │   └── bk@asterio.cloud ├── bk@asterio.cloud@127.0.0.1 ├── bk@asterio.cloud@localhost └── localhost └── bk@asterio.cloud But none of this works and in *Messages* buffer I have always following logs: auth-source-backend-parse: invalid backend spec: password-store auth-source-search: found 1 backends matching (:max 1 :host ("localhost" "127.0.0.1") :port (1143 "imap" "143") :user "bk@asterio.cloud" :require (:user :secret) :create t) auth-source-search: found 0 results (max 1) matching (:max 1 :host ("localhost" "127.0.0.1") :port (1143 "imap" "143") :user "bk@asterio.cloud" :require (:user :secret) :create t) auth-source-search: CREATED 0 results (max 1) matching (:max 1 :host ("localhost" "127.0.0.1") :port (1143 "imap" "143") :user "bk@asterio.cloud" :require (:user :secret) :create t) Opening nnimap server on localhost...failed: Does anyone has similar setup and it works? [1] https://www.gnu.org/software/emacs/manual/html_node/auth/The-Unix-password-store.html