namespace and folders

Gaudenz Steinlin gaudenz.steinlin@id.unibe.ch
Mon, 8 Jan 2001 22:49:04 +0100


I do not understand the difference between the folders and the namespace
setting in servers.php.
I have an wu-imapd and want to have all the folders in ~/mail/ but the users
shouldn't see the mail/
prefix. What settings are required?

I'm asking because of the following problems (folders=mail/,
namespace=mail/):
1. I am setting sent_mail_folder to sent-mail, but all the sent mails go
into ~/mail/mail/sent-mail
2. When I rename a folder (eg. ~/mail/test to ~/mail/test2) it goes to
~/mail/mail/mail/test2 (if I do not change the
proposed name mail/test2) or to ~/mail/mail/test2 (if I enter only test2
into the input box).
3. The same for creating a new folder
4. random wu-imapd server crashes when updating the folder list or
manipulating with folders.

Can you help or are these bugs?

- Gaudenz





>From chuck@horde.org Date: Mon,  8 Jan 2001 16:50:03 -0500
Return-Path: <chuck@horde.org>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 8801 invoked from network); 8 Jan 2001 21:50:55 -0000
Received: from r93aag000369.sbo-smr.ma.cable.rcn.com (HELO marina.horde.org) (209.6.192.126)
  by horde.org with SMTP; 8 Jan 2001 21:50:55 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id 7ED0E39F4; Mon,  8 Jan 2001 16:50:03 -0500 (EST)
Received: from 206.243.191.252 ( [206.243.191.252])
	as user chuck@marina by marina.horde.org with HTTP;
	Mon,  8 Jan 2001 16:50:03 -0500
Message-ID: <978990603.3a5a360b0bc75@marina.horde.org>
Date: Mon,  8 Jan 2001 16:50:03 -0500
From: Chuck Hagenbuch <chuck@horde.org>
To: dev@lists.horde.org
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.6-cvs
Subject: Re: [dev] namespace and folders

Quoting Gaudenz Steinlin <gaudenz.steinlin@id.unibe.ch>:

> I do not understand the difference between the folders and the namespace
> setting in servers.php.
> I have an wu-imapd and want to have all the folders in ~/mail/ but the
> users
> shouldn't see the mail/
> prefix. What settings are required?

folders should be 'mail/'; namespace should be '' (empty string).

folders is a prefix that _must_ be tacked on to folders. namespace is a prefix 
that is tacked on to all personal folders, but not displayed (typically INBOX. 
for cyrus).

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"If you can't stand the heat, get out of the chicken!" - Baby Blues


>From chuck@horde.org Date: Mon,  8 Jan 2001 16:52:21 -0500
Return-Path: <chuck@horde.org>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 9476 invoked from network); 8 Jan 2001 21:53:10 -0000
Received: from r93aag000369.sbo-smr.ma.cable.rcn.com (HELO marina.horde.org) (209.6.192.126)
  by horde.org with SMTP; 8 Jan 2001 21:53:10 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id AEEE839F4; Mon,  8 Jan 2001 16:52:21 -0500 (EST)
Received: from 206.243.191.252 ( [206.243.191.252])
	as user chuck@marina by marina.horde.org with HTTP;
	Mon,  8 Jan 2001 16:52:21 -0500
Message-ID: <978990741.3a5a369596404@marina.horde.org>
Date: Mon,  8 Jan 2001 16:52:21 -0500
From: Chuck Hagenbuch <chuck@horde.org>
To: dev@lists.horde.org
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.6-cvs
Subject: Re: [dev] fix for MIME troubles

Quoting Gaudenz Steinlin <gaudenz.steinlin@id.unibe.ch>:

> I first updated my cvs and then read the log for MIME.php, so I fixed
> things myself.
> I replaced every reference to Mime.php by MIME.php and every call to
> mime_decode by MIME::decode.
> Below is a patch, in case you have the same problems or you [chuk] don't
> want to type it again.

This will not fix everything, and there are a lot of other changes that will be 
made when I finish up the commit.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"If you can't stand the heat, get out of the chicken!" - Baby Blues


>From chuck@horde.org Date: Mon,  8 Jan 2001 17:53:51 -0500
Return-Path: <chuck@horde.org>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 13466 invoked from network); 8 Jan 2001 22:54:46 -0000
Received: from r93aag000369.sbo-smr.ma.cable.rcn.com (HELO marina.horde.org) (209.6.192.126)
  by horde.org with SMTP; 8 Jan 2001 22:54:46 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id EFC5539F5; Mon,  8 Jan 2001 17:53:51 -0500 (EST)
Received: from 206.243.191.252 ( [206.243.191.252])
	as user chuck@marina by marina.horde.org with HTTP;
	Mon,  8 Jan 2001 17:53:51 -0500
Message-ID: <978994431.3a5a44ffb777b@marina.horde.org>
Date: Mon,  8 Jan 2001 17:53:51 -0500
From: Chuck Hagenbuch <chuck@horde.org>
To: dev@lists.horde.org
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.6-cvs
Subject: Re: [cvs] commit: MIME stuff

I just wanted to make sure people looked over the following:

Quoting chuck@horde.org:

>   Log:
[snip]
> If we wanted to, we could look into having MIME_Structure return an array of
> MIME_Part:: objects instead of our custom hashes. This would be more robust
> and organized, but would probably entail breaking out MIME_Part and making
> it it's own file (which would be included by both MIME_Message and
> MIME_Structure). Actually, the more I think about it, the more this sounds
> like a decent idea... what do people think?

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"If you can't stand the heat, get out of the chicken!" - Baby Blues