Shared folders with unixhierarchysep and altnamespace
Sebastian Hagedorn
Hagedorn at uni-koeln.de
Wed Mar 12 10:49:43 EST 2003
--On Mittwoch, 12. März 2003 10:29 Uhr -0500 Ken Murchison <ken at oceana.com>
wrote:
>> Can this be achieved with altnamespace?
>
> Yes. What IMAP client are you trying to use? The client may be
> stupid/broken.
Thanks for your reply. I tried it the same way you did. It does not work
for me. Either I'm doing something stupid or this is a difference between
2.1 and 2.2?
> Here's some imtest output on my test config which proves that it works:
>
> [ken at eagle ken]$ imtest -p 9143 -t '' -m login localhost
> S: * OK eagle.oceana.com Cyrus IMAP4 v2.2.prealpha server ready
> C: C01 CAPABILITY
> S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS
> NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND SORT
> THREAD=ORDEREDSUBJECT THREAD=REFERENCES IDLE STARTTLS LOGINDISABLED
> AUTH=CRAM-MD5 AUTH=NTLM AUTH=OTP AUTH=DIGEST-MD5 AUTH=SRP LISTEXT
> LIST-SUBSCRIBED ANNOTATEMORE X-NETSCAPE
> S: C01 OK Completed
> C: S01 STARTTLS
> S: S01 OK Begin TLS negotiation now
> verify error:num=19:self signed certificate in certificate chain
> TLS connection established: TLSv1 with cipher DES-CBC3-SHA (168/168
> bits)
> C: C01 CAPABILITY
> S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS
> NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND SORT
> THREAD=ORDEREDSUBJECT THREAD=REFERENCES IDLE STARTTLS AUTH=CRAM-MD5
> AUTH=NTLM AUTH=OTP AUTH=DIGEST-MD5 AUTH=LOGIN AUTH=PLAIN AUTH=SRP
> LISTEXT LIST-SUBSCRIBED ANNOTATEMORE X-NETSCAPE
> S: C01 OK Completed
> Please enter your password:
> C: L01 LOGIN ken {7}
> S: + go ahead
> C: <omitted>
> S: L01 OK User logged in
> Authenticated.
> Security strength factor: 168
> . NAMESPACE
> * NAMESPACE (("" "/")) (("user/" "/")) (("shared/" "/"))
> . OK Completed
> . LIST "" user/%
> * LIST (\HasChildren) "/" "user/test"
> . OK Completed (0.000 secs 6 calls)
> . MYRIGHTS user/test
> * MYRIGHTS user/test lrs
> . OK Completed
> . EXAMINE user/annie
> * FLAGS (\Answered \Flagged \Draft \Deleted \Seen)
> * OK [PERMANENTFLAGS ()]
> * 1 EXISTS
> * 1 RECENT
> * OK [UNSEEN 1]
> * OK [UIDVALIDITY 874939759]
> * OK [UIDNEXT 2919]
> . OK [READ-ONLY] Completed
> C: Q01 LOGOUT
> Connection closed.
Here's mine:
[root at lvr1 root]# imtest -u hgd -a hgd cyrus
S: * OK cyrus.rrz.uni-koeln.de Cyrus IMAP4 v2.1.12-Invoca-RPM-2.1.12-3
server ready
C: C01 CAPABILITY
S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS
NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND SORT
THREAD=ORDEREDSUBJECT THREAD=REFERENCES IDLE STARTTLS LOGINDISABLED
AUTH=NTLM AUTH=DIGEST-MD5 AUTH=CRAM-MD5 LISTEXT LIST-SUBSCRIBED
ANNOTATEMORE X-NETSCAPE
S: C01 OK Completed
C: A01 AUTHENTICATE DIGEST-MD5
...
S: A01 OK Success (privacy protection)
Authenticated.
Security strength factor: 128
. list "" user/%
. OK Completed (0.070 secs 1 calls)
. examine user/a0620
. NO Mailbox does not exist
. examine a0620
. NO Mailbox does not exist
. namespace
* NAMESPACE (("" "/")) (("user/" "/")) (("Shared Folders/" "/"))
. OK Completed
. examine "Shared Folders/mailmigration"
* FLAGS (\Answered \Flagged \Draft \Deleted \Seen)
* OK [PERMANENTFLAGS ()]
* 0 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1047462499]
* OK [UIDNEXT 1]
. OK [READ-ONLY] Completed
. myrights "Shared Folders/mailmigration"
* MYRIGHTS "Shared Folders/mailmigration" lrs
. OK Completed
When I log in as a0620, it looks like this:
[root at lvr1 root]# imtest -u a0620 -a a0620 cyrus
S: * OK cyrus.rrz.uni-koeln.de Cyrus IMAP4 v2.1.12-Invoca-RPM-2.1.12-3
server ready
C: C01 CAPABILITY
S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS
NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND SORT
THREAD=ORDEREDSUBJECT THREAD=REFERENCES IDLE STARTTLS LOGINDISABLED
AUTH=NTLM AUTH=DIGEST-MD5 AUTH=CRAM-MD5 LISTEXT LIST-SUBSCRIBED
ANNOTATEMORE X-NETSCAPE
S: C01 OK Completed
C: A01 AUTHENTICATE DIGEST-MD5
...
S: A01 OK Success (privacy protection)
Authenticated.
Security strength factor: 128
. list "" "*"
* LIST (\Noinferiors) "/" "INBOX"
* LIST (\HasNoChildren) "/" "Entw&APw-rfe"
* LIST (\HasNoChildren) "/" "Gesendete Objekte"
* LIST (\HasNoChildren) "/" "Mailmigration"
* LIST (\HasNoChildren) "/" "Wido M&APY-rsheim"
* LIST (\HasNoChildren) "/" "test"
* LIST (\HasNoChildren) "/" "Shared Folders/mailmigration"
. OK Completed (0.090 secs 8 calls)
As the admin user *only* am I able to see all mailboxes:
[root at lvr1 root]# imtest -u cyrus -a cyrus cyrus
S: * OK cyrus.rrz.uni-koeln.de Cyrus IMAP4 v2.1.12-Invoca-RPM-2.1.12-3
server ready
C: C01 CAPABILITY
S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS
NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND SORT
THREAD=ORDEREDSUBJECT THREAD=REFERENCES IDLE STARTTLS LOGINDISABLED
AUTH=NTLM AUTH=DIGEST-MD5 AUTH=CRAM-MD5 LISTEXT LIST-SUBSCRIBED
ANNOTATEMORE X-NETSCAPE
S: C01 OK Completed
C: A01 AUTHENTICATE DIGEST-MD5
...
S: A01 OK Success (privacy protection)
Authenticated.
Security strength factor: 128
. list "" "user/a0620"
* LIST (\HasChildren) "/" "user/a0620"
. OK Completed (0.000 secs 7 calls)
Do I misunderstand something here??
Thanks, Sebastian Hagedorn
--
Sebastian Hagedorn M.A. - RZKR-R1 (Gebäude 52), Zimmer 18
Zentrum für angewandte Informatik - Universitätsweiter Service RRZK
Universität zu Köln / Cologne University - Tel. +49-221-478-5587
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
Url : https://lists.andrew.cmu.edu/mailman/private/info-cyrus/attachments/20030312/527c6fcd/attachment.bin
More information about the Info-cyrus
mailing list