From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/68468 Path: news.gmane.org!not-for-mail From: Dan Davison Newsgroups: gmane.emacs.gnus.general Subject: Re: dovecot: imap: Connecting to localhost...failed Date: Mon, 20 Apr 2009 11:01:57 -0400 Message-ID: <87tz4jqsgq.fsf@stats.ox.ac.uk> References: <8763h0cm15.fsf@stats.ox.ac.uk> <87ocuriyk4.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1240239894 28652 80.91.229.12 (20 Apr 2009 15:04:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Apr 2009 15:04:54 +0000 (UTC) Cc: tassilo@member.fsf.org To: ding@gnus.org Original-X-From: ding-owner+M16903@lists.math.uh.edu Mon Apr 20 17:06:13 2009 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.50) id 1Lvv3e-0001yo-V1 for ding-account@gmane.org; Mon, 20 Apr 2009 17:05:43 +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 1Lvv1S-00054r-6P; Mon, 20 Apr 2009 10:03:02 -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 1Lvv1Q-00054U-9G for ding@lists.math.uh.edu; Mon, 20 Apr 2009 10:03:00 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1Lvv0z-0007NT-Ez for ding@lists.math.uh.edu; Mon, 20 Apr 2009 10:03:00 -0500 Original-Received: from markov.stats.ox.ac.uk ([163.1.210.1]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1Lvv1P-0000bQ-00 for ; Mon, 20 Apr 2009 17:02:59 +0200 Original-Received: from blackcap.stats.ox.ac.uk (blackcap.stats [163.1.210.5]) by markov.stats.ox.ac.uk (8.13.6/8.13.6) with ESMTP id n3KF2H2S024913; Mon, 20 Apr 2009 16:02:32 +0100 (BST) Original-Received: by blackcap.stats.ox.ac.uk (Postfix, from userid 5158) id 088EC3201B; Mon, 20 Apr 2009 16:02:17 +0100 (BST) In-Reply-To: <87ocuriyk4.fsf@thinkpad.tsdh.de> (Tassilo Horn's message of "Mon, 20 Apr 2009 09:17:31 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) X-Spam-Score: -2.1 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:68468 Archived-At: Hi Tassilo, Tassilo Horn writes: > Dan Davison writes: > > Hi Dan, > >> (setq gnus-select-method >> '(nnimap "dc" (nnimap-address "localhost"))) > > That looks correct. Does it work, if you login using telnet? I assume > no. Could you explain exactly what you have in mind here? Does any of the following answer your question? I can ssh to localhost with no problem. However if I try telnet I get: --8<---------------cut here---------------start------------->8--- ~> telnet localhost Trying 127.0.0.1... telnet: Unable to connect to remote host: Connection refused --8<---------------cut here---------------end--------------->8--- I just tried a couple of remote machines and can't telnet to them either (I can ssh in both cases). But that's to do with telnet not having approproate security features isn't it? [I haven't used telnet for years -- I thought it was obsolete technology?] > >> The only thing I'm changing in the dovecot config file is >> mail_location. I've tried two values for that: >> mail_location = maildir:~/Maildir >> mail_location = maildir:~/Maildir:LAYOUT=fs > > I think you cannot say ~, because that will look into the "mail" (or > "imap"?) users $HOME only. To use the users home put a %u into the > path. (I didn't test that. If it doesn't work, have a look at the > docs. The example dovecot.conf tells you how to do it in the comments > above mail_location.) OK, good point, but I've now tried writing the path explicitly, and I get the same error: --8<---------------cut here---------------start------------->8--- mail_location = maildir:/home/dan/Maildir --8<---------------cut here---------------end--------------->8--- --8<---------------cut here---------------start------------->8--- imap: Connecting to localhost...failed nnimap (dc) open error: 'nil'. Continue? (y or n) Couldn't open server on dc --8<---------------cut here---------------end--------------->8--- Maybe this is obviously true but I've just checked and dovecot's not logging any messages when gnus tries to connect (I used dovecot --log-error to check I can see error messages and turned on auth_verbose and auth_debug and auth_debug_passwords). Thanks, Dan > > HTH, > Tassilo