From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/68466 Path: news.gmane.org!not-for-mail From: Dan Davison Newsgroups: gmane.emacs.gnus.general Subject: dovecot: imap: Connecting to localhost...failed Date: Sun, 19 Apr 2009 18:32:22 -0400 Message-ID: <8763h0cm15.fsf@stats.ox.ac.uk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1240180430 10930 80.91.229.12 (19 Apr 2009 22:33:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 19 Apr 2009 22:33:50 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M16901@lists.math.uh.edu Mon Apr 20 00:35:09 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 1LvfbR-0000pb-3l for ding-account@gmane.org; Mon, 20 Apr 2009 00:35:09 +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 1LvfYx-0000PI-Fz; Sun, 19 Apr 2009 17:32:35 -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 1LvfYv-0000Ov-MC for ding@lists.math.uh.edu; Sun, 19 Apr 2009 17:32:33 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1LvfYp-0004TW-8s for ding@lists.math.uh.edu; Sun, 19 Apr 2009 17:32:33 -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 1LvfZF-00080Y-00 for ; Mon, 20 Apr 2009 00:32:53 +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 n3JMWO1t016494 for ; Sun, 19 Apr 2009 23:32:25 +0100 (BST) Original-Received: by blackcap.stats.ox.ac.uk (Postfix, from userid 5158) id 0313F3201B; Sun, 19 Apr 2009 23:32:23 +0100 (BST) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) X-Spam-Score: -1.8 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:68466 Archived-At: Would someone mind helping me get going with dovecot serving locally-stored maildir please? I think it's going to be something simple/stupid, as I haven't got past the first hurdle. The short version is: I'm using --8<---------------cut here---------------start------------->8--- (setq gnus-select-method '(nnimap "dc" (nnimap-address "localhost"))) --8<---------------cut here---------------end--------------->8--- and I'm getting --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--- The long version is below. Thanks a lot, Dan My mail is stored locally in maildir format folders under ~/Maildir, i.e. --8<---------------cut here---------------start------------->8--- ~/Maildir/folder1/{cur,new,tmp} ~/Maildir/folder2/{cur,new,tmp} ... --8<---------------cut here---------------end--------------->8--- I have email reading under gnus working with --8<---------------cut here---------------start------------->8--- (setq gnus-select-method '(nnmaildir "email" (directory "~/Maildir/"))) --8<---------------cut here---------------end--------------->8--- but I want to use nnimap. I am trying --8<---------------cut here---------------start------------->8--- (setq gnus-select-method '(nnimap "dc" (nnimap-address "localhost"))) --8<---------------cut here---------------end--------------->8--- but in the *Messages* buffer I'm getting --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--- I'm on ubuntu 9.04 (same problem under 8.10), and have installed dovecot-common and dovecot-imapd. I have dovecot running: --8<---------------cut here---------------start------------->8--- ~> ps -u root | grep dovecot 3302 ? 00:00:00 dovecot 21401 ? 00:00:00 dovecot-auth --8<---------------cut here---------------end--------------->8--- The only thing I'm changing in the dovecot config file is mail_location. I've tried two values for that: --8<---------------cut here---------------start------------->8--- mail_location = maildir:~/Maildir mail_location = maildir:~/Maildir:LAYOUT=fs --8<---------------cut here---------------end--------------->8--- And I've tried two folder layout arrangements: 1. ~/Maildir is a single maildir, with ~/Maildir/{cur,new,tmp} and 2. ~/Maildir holds multiple maildirs, i.e. --8<---------------cut here---------------start------------->8--- ~/Maildir/folder1/{cur,new,tmp} ~/Maildir/folder2/{cur,new,tmp} ... --8<---------------cut here---------------end--------------->8--- I've tried the 4 different possible combinations of those two settings but get the same error message. I'm using dovecot -n to check that my dovecot config settings take effect.