From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/39299 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: nnimap subfolder problem Date: Tue, 16 Oct 2001 15:32:05 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035175028 27133 80.91.224.250 (21 Oct 2002 04:37:08 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:37:08 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: (qmail 12752 invoked from network); 16 Oct 2001 13:33:22 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 16 Oct 2001 13:33:22 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 15tUL0-0007jQ-00; Tue, 16 Oct 2001 08:32:54 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 16 Oct 2001 08:32:31 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id IAA26367 for ; Tue, 16 Oct 2001 08:32:20 -0500 (CDT) Original-Received: (qmail 12743 invoked by alias); 16 Oct 2001 13:32:37 -0000 Original-Received: (qmail 12738 invoked from network); 16 Oct 2001 13:32:37 -0000 Original-Received: from dolk.extundo.com (195.42.214.242) by gnus.org with SMTP; 16 Oct 2001 13:32:37 -0000 Original-Received: from barbar.josefsson.org (slipsten.extundo.com [195.42.214.241]) (authenticated bits=0) by dolk.extundo.com (8.12.0/8.12.0) with ESMTP id f9GDWe0r015456; Tue, 16 Oct 2001 15:32:41 +0200 Original-To: Nicolas KOWALSKI In-Reply-To: (Nicolas KOWALSKI's message of "Tue, 16 Oct 2001 15:04:28 +0200") Mail-Copies-To: nobody Original-Lines: 41 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.106 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:39299 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:39299 Nicolas KOWALSKI writes: >> But with nnimap, the directories and files exists on the server, so >> Gnus has no control of how they are named other than by replacing `.' >> with `/' in the group name but that would be confusing, I think. > > Confusing ? This is the standard behaviour for nnml and > nnfolder. The first time is used those (as well as Gnus actually), I > was confused. But then, I thought this storage using subdirectories > was the best method. Right, but there is no generic connection between directories and the delimiter character used in group names with IMAP. With the UoW server `/' is used as the directory delimiter, with Cyrus IMAPD `.' is used, and other servers may have other delimiters as well. Also, compare with NNTP, Gnus doesn't do anything about hierarchies there, it is up to the server to decide what to export. Nnimap is more similar to nntp than nnml/nnfolder. >> I think everything would work fine if you create a group with a dot in >> its name using another client (I do this all the time). What problems >> do you see? > > I agree there are no problems. > > That just a question of habits and to make nnimap behave more like > nnml/nnfolder backends. In addition to this, I have never seen some of > our users use dot-named folders with their IMAP clients ; they always > prefer to create subfolders hierarchies, as I do (until now, > perhaps). But if you used the Cyrus IMAPD server, all your users would be creating mailboxes containing `.' for hierarchies instead. :-) My point is, the hierarchy delimiter is not agreed on, and with IMAP it may even change between each hierarchy (you could e.g. have a mailbox called foo.bar/baz#boo&apa and each of the characters could be "real" hierarchy delimiters). I'm not sure how this could be implemented, suggestions welcome.