From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/8771 Path: news.gmane.org!not-for-mail From: Jim Crossley Newsgroups: gmane.emacs.gnus.user Subject: Re: Dovecot not liking .authinfo? Date: Sat, 03 Mar 2007 15:15:04 -0500 Message-ID: <87vehiw0c7.fsf@asus.crossleys.home> References: <87lkifp213.fsf@asus.crossleys.home> <874pp2s3c9.fsf@darkstar.azurservers.com> <86fy8ms1ro.fsf@blue.stonehenge.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1172954497 15279 80.91.229.12 (3 Mar 2007 20:41:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 3 Mar 2007 20:41:37 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Sat Mar 03 21:41:30 2007 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HNb2l-0006eR-LR for gegu-info-gnus-english@m.gmane.org; Sat, 03 Mar 2007 21:41:27 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HNb2l-0004bl-6a for gegu-info-gnus-english@m.gmane.org; Sat, 03 Mar 2007 15:41:27 -0500 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!nx01.iad01.newshosting.com!newshosting.com!130.81.64.211.MISMATCH!cycny01.gnilink.net!hwmnpeer01.lga!news.highwinds-media.com!hw-filter.lga!newsfe05.lga.POSTED!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.gnus User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:RLhD+T4jnVfDDajyyivD7CpLvQM= Original-Lines: 45 Original-X-Trace: hikehalegljkcnnflhbgfpgcdpepfmkgpollgnamdgcmkogpkojjfjhnaolifojidplngmaofbbcnodafmfeaflgjiklgkfimfkgalbbliglelkhcoidakjaonplcaadgolpanaadbokpicd Original-NNTP-Posting-Date: Sat, 03 Mar 2007 13:14:52 MST Original-Xref: shelby.stanford.edu gnu.emacs.gnus:78955 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:8771 Archived-At: Ok, I figured it out... merlyn@stonehenge.com (Randal L. Schwartz) writes: >>> I'm trying out a dovecot imap server, and gnus simply will not >>> authenticate to it with what's in ~/.authinfo. It prompts me every >>> time! The perms are correct, and it works with other imap servers. [...] > It's working just fine for me. The problem with dovecot is that > it's hyper-configurable. :) This is what I have in my .authinfo: It wasn't a dovecot problem at all. It seems that if you specify 'port' in .authinfo, you must also set nnimap-server-port in .gnus.el, regardless of whether you're using the standard imap port. So given this in .gnus.el: (setq gnus-secondary-select-methods '( (nnimap "dovecot" (nnimap-address "dovecot") ) (nnimap "courier" (nnimap-address "courier") (nnimap-server-port 143) ) ) ) My .authinfo: machine courier port 143 login jim password ...... machine dovecot port 143 login jim password ...... The courier box never prompted me for un/pw, but the dovecot box always did. I fixed the problem by simply removing "port 143" from the dovecot line in .authinfo. I could've also fixed it by adding (nnimap-server-port 143) in .gnus.el. They just have to agree, I think. Thanks for the quick replies, Jim