From owner-freebsd-questions@FreeBSD.ORG Fri Apr 9 09:24:06 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5622916A4CE for ; Fri, 9 Apr 2004 09:24:06 -0700 (PDT) Received: from mygirlfriday.info (user204.net795.mo.sprint-hsd.net [65.41.216.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C49943D4C for ; Fri, 9 Apr 2004 09:24:05 -0700 (PDT) (envelope-from gv-mailed@mygirlfriday.info) Received: (qmail 8639 invoked by uid 500); 9 Apr 2004 16:24:04 -0000 Message-ID: <20040409162404.8638.qmail@letric.mygirlfriday.info> Mail-Followup-To: questions@freebsd.org Date: Fri, 9 Apr 2004 11:24:04 -0500 From: Gary To: questions@freebsd.org References: <20040409154822.GB21221@laptop.lori.mine.nu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040409154822.GB21221@laptop.lori.mine.nu> Organization: Hardly User-Agent: Mutt/1.5.4i Subject: Re: KMail seeing local maildirs differently than IMAP-server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Apr 2004 16:24:06 -0000 On Fri, Apr 09, 2004 at 05:48:23PM +0200 or thereabouts, Geert Hendrickx wrote: > i see some ambiguity in using maildirs through IMAP and directly through > the filesystem, especially when using KMail. although I do not use Kmail, I do know it works perfectly using IMAP, but you have to set up your Maildir as below. > The "canonical" directory for maildirs is ~/Maildir, where the inbox is > in the root of that directory, and any other mail-directory is a > subdirectory of it. The proper format for Maildir is ~/Maildir/ not ~/Maildir .. in other words it is a dir, not a file. This dir contains three dir, new, tmp, and cur. Courier will build this for you and subsequent folders inside the main /Maildir/ Courier only works with /Maildir/ format. It will not work with /Maildir format, that is to say a file format. > The IMAP-servers I tried (courier-imap, imap-uw and dovecot, all in > /usr/ports/mail) only use the subdirectories whose name starts with a > dot. this is typical of IMAP servers, and does not represent a problem. > KMail on the other hand, when using maildirs as "local folders", always > assumes they are in ~/Mail, where every folder -including "inbox"- is a > subdirectory of it. And only folders NOT starting with a dot are seen. Kmail will read both /Maildir/ POP folders, and read IMAP /Maildir/ folders, you just have to specify what type of protocol you are using either POP or IMAP. It does read IMAP /Maildir/ folders that begin with a dot, which are inside the main /Maildir/ without any problems. You must also specify a default INBOX with IMAP which will be read in the /Maildir/ folder. > So it can be pretty tough to handle your maildirs in both ways together, > that is to say, through the filesystem and through IMAP. I usually use > Mutt for the latter case, as it is very flexible and it can handle most > cases, but KMail seems to insist doing things its own way, which is not > compatible with most IMAP-servers. yes, it is, you just have to set it up properly as to the type of protocol you are using. > Creating some symlinks to "mirror" the situation might be a usable > solution, but that's not very elegant. Anyone knows a better solution? as above. -- Gary Your E-Mail has been returned due to insufficient voltage