/- On Tuesday (11/30/2004 14:17) Mark Crispin <[EMAIL PROTECTED]> wrote:
> In my opinion, it's better to leave things alone and allow people to use
> Mail/ or whatever other subdirectory name they want. For all you know,
> some power user may want to reference his home directory.
I agree with you. However, I'd rather the power-user go through the
effort of configuring their "IMAP Server Directory" to something like
"~/" or some private namespace to get full access. I'm getting tired
of restoring some less-experienced person's research files that they
accidentally deleted via IMAP.
Plus, we're looking to go to a black-box mode, so we need to phase out
the client-side directory setting anyways. I'd prefer not to have to
break both the clients and the server at the same time.
Thanks for the recommendation. I'll try that out.
Dallas
> If you really want to go ahead with your intended strategy, then do
> something like the following early in routine mailboxfile():
>
> size_t i = mailsubdir ? strlen (mailsubdir) : 0;
> if (i && !strncmp (name,mailsubdir,i) && (name[i] == '/')) name += i + 1;
>
> -- Mark --
>
> http://staff.washington.edu/mrc
> Science does not emerge from voting, party politics, or public debate.
> Si vis pacem, para bellum.