At 2004-06-02 16:25:07 +0200, [EMAIL PROTECTED] wrote:
>
> So If I'm connected with user a, I will always have the current
> directory /users/a and the incoming client Reference Name will
> always be ""

The client can send whatever reference name it wants.

OK, let me try to explain this differently. When you login as user a,
suppose your "current working directory" is /users/a. Think of LIST as
the equivalent of ls(1).

Saying "LIST /foo bar" is like doing "cd /foo; ls bar".
That's the same as "LIST / foo/bar": "cd /; ls foo/bar".
That's the same as «LIST "" /foo/bar»: "cd ~; ls /foo/bar".
That's the same as "LIST /users/b/x /foo/bar": "cd ~b/x; ls /foo/bar".
And so on.

You can think of the reference name argument to LIST as allowing you to
change directory before doing the ls, thus providing a context for the
interpretation of the mailbox name. Obviously, if the mailbox name is
already fully-qualified (as in examples 3 and 4 above), the reference
name does not affect its interpretation.

-- ams

Reply via email to