From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/71219 Path: news.gmane.org!not-for-mail From: Richard Riley Newsgroups: gmane.emacs.gnus.general Subject: Re: [gnus git] Add ~/.authinfo to the default, since that's probably most useful for users. Date: Mon, 20 Sep 2010 17:29:48 +0200 Organization: aich tea tea pea dicky riley dot net Message-ID: <6fmxrco2kz.fsf@news.eternal-september.org> References: <87iq238tgr.fsf@lifelogs.com> <87fwx56tau.fsf@lifelogs.com> <83ocbsij70.fsf@news.eternal-september.org> <87k4mgh32q.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1284996633 5169 80.91.229.12 (20 Sep 2010 15:30:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 20 Sep 2010 15:30:33 +0000 (UTC) Cc: ding@gnus.org To: Ted Zlatanov Original-X-From: ding-owner+M19592@lists.math.uh.edu Mon Sep 20 17:30:30 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OxiK5-00030a-J5 for ding-account@gmane.org; Mon, 20 Sep 2010 17:30:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1OxiK1-00020P-5Q; Mon, 20 Sep 2010 10:30:25 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1OxiJz-000206-H2 for ding@lists.math.uh.edu; Mon, 20 Sep 2010 10:30:23 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1OxiJy-0006kv-7R for ding@lists.math.uh.edu; Mon, 20 Sep 2010 10:30:23 -0500 Original-Received: from mail-fx0-f44.google.com ([209.85.161.44]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1OxiJx-0004de-00 for ; Mon, 20 Sep 2010 17:30:21 +0200 Original-Received: by fxm10 with SMTP id 10so108163fxm.17 for ; Mon, 20 Sep 2010 08:29:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject :organization:references:date:in-reply-to:message-id:user-agent :mime-version:content-type; bh=iXGFwiYK90Gm7YcvJkTu1bNJ5wkNp03SIaZoIByasLQ=; b=KMKznPD/cI6JhTOKTzD7+u63S3NXd6SR4hbYpeZUgJDhDT5x0faVFOJ//+5bQ401HP JOIu/H3UNKykbNnwcOm0W+IlWbK5F1nP5pTFoZSKe04geHcJlXN8LaeWPAJMljVR4FGj XwYJhpnkSQQVZ7hvNDkMFEu0WPlW1gTYR9g7Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:cc:subject:organization:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; b=l8BlC/QBAHZWTny9uYx6nyi0vijBGeotdX8X5C6NLhywsi1uE8WwL68mGZTl/dnBv1 eHz8Ib/qiqTkBlmLA2OO4gz8lM+BTbBrqTIT4DCh9SxGKVwwTrqKrv1VgQR7xX6kM8DY iYiQiCBdHwFqtTlXMW4QDhhpWGqp/IEcsHC6I= Original-Received: by 10.223.126.78 with SMTP id b14mr4688926fas.72.1284996591049; Mon, 20 Sep 2010 08:29:51 -0700 (PDT) Original-Received: from localhost ([85.183.18.158]) by mx.google.com with ESMTPS id e17sm2996337faa.15.2010.09.20.08.29.49 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 20 Sep 2010 08:29:49 -0700 (PDT) In-Reply-To: <87k4mgh32q.fsf@lifelogs.com> (Ted Zlatanov's message of "Mon, 20 Sep 2010 10:01:01 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Spam-Score: -2.0 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:71219 Archived-At: Ted Zlatanov writes: > On Mon, 20 Sep 2010 16:27:31 +0200 Richard Riley wrote: > > RR> As a side note : my setting for auth-sources works in 23.2 with the > RR> shipped gnus but doesnt seem to properly authenticate my local dovecot > RR> nnimap accounts with nognus. > > I could test it if you showed your `auth-sources', the relevant line of > your authinfo file, and the messages in *Messages* produced by > auth-source when it looks up the server by name. > The select method connects to a dovecot virtual user via the name part (here "riley") :- ,---- | (add-to-list 'gnus-secondary-select-methods | `(nnimap "riley" | (nnimap-address "offlineimap") | (nnir-search-engine imap) | (nnimap-stream network) | )) `---- The auth-sources value is :- ,---- | auth-sources is a variable defined in `auth-source.el'. | Its value is | ((:source "/home/shamrock/.emacs.d/.authinfo.gpg" :host t :protocol t)) `---- The relevant line in .authinfo.gpg is :- ,---- | machine riley login riley password pass1 `---- The relevant /etc/dovecot.pass entry is ,---- | riley:{plain}pass1 `---- The relevant auth default pass set up in dovecot.conf for virtual users ,---- | passdb passwd-file { | args = /etc/dovecot.pass | } | userdb static { | args = uid=1000 gid=1000 home=/home/shamrock/.Maildir/%u | } `---- All works with gnus in emacs 23.2 With nognus I dont see anything other than INBOX.