xDAV and shared namespaces

2018-03-13 Thread Anatoli

Hi All,

I'm experimenting with xDav (CalDAV, CardDAV and WebDAV) in Cyrus 3.0.5. 
All xDAV services in user namespaces work as expected, but I can't 
figure out how to setup them for shared namespaces.


The most important service for me to setup for shared namespaces is 
WebDAV. I'd like to have a shared folder accessible to multiple users 
based on their ACLs. I know how to setup a shared folder for IMAP:


cyradm> cm shar...@domain.com
cyradm> sam shar...@domain.com us...@domain.com write

In the mail client I see the shared1 folder under "shared folders". But 
I can't see it in a WebDAV client. At the server the shared1 folder 
doesn't have the autocreated xDAV structure as it normally autocreates 
for individual users, and I don't know how to create it manually.


Does anybody know how to configure WebDAV shared folders? I'm also 
interested in creating shared calendars (CalDAV) and addressbooks 
(CardDAV), but I suppose they are managed the same way as WebDAV.


Thanks in advance,
Anatoli

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

Re: xDAV and shared namespaces

2018-03-13 Thread Ken Murchison
xDAV hasn't had much development or testing in the shared namespace and 
there isn't any tooling to create such mailboxes.


If you wanted to do some testing, you'd have to create the mailboxes by 
hand and set the mailbox type accordingly.  To do so, you can connect to 
the server as an admin using imtest and enter the following command:


x CREATE shared (TYPE COLLECTION)

to create a WebDAV collection.  Or set the TYPE to CALENDAR or ADDRESSBOOK


On 03/13/2018 11:08 AM, Anatoli wrote:

Hi All,

I'm experimenting with xDav (CalDAV, CardDAV and WebDAV) in Cyrus 
3.0.5. All xDAV services in user namespaces work as expected, but I 
can't figure out how to setup them for shared namespaces.


The most important service for me to setup for shared namespaces is 
WebDAV. I'd like to have a shared folder accessible to multiple users 
based on their ACLs. I know how to setup a shared folder for IMAP:


cyradm> cm shar...@domain.com
cyradm> sam shar...@domain.com us...@domain.com write

In the mail client I see the shared1 folder under "shared folders". 
But I can't see it in a WebDAV client. At the server the shared1 
folder doesn't have the autocreated xDAV structure as it normally 
autocreates for individual users, and I don't know how to create it 
manually.


Does anybody know how to configure WebDAV shared folders? I'm also 
interested in creating shared calendars (CalDAV) and addressbooks 
(CardDAV), but I suppose they are managed the same way as WebDAV.


Thanks in advance,
Anatoli



Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


--
Ken Murchison
Cyrus Development Team
FastMail US LLC

<>
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

Re: xDAV and shared namespaces

2018-03-13 Thread Anatoli

Hi Ken,

Thanks for your quick reply. Yes, I'm willing to test it and if needed I 
can also apply patches (I build Cyrus from sources).


> x CREATE shared (TYPE COLLECTION)

What does this command is supposed to do and under what user should I 
execute it (I mean imtest -a )? I tried to run it under admin user 
(it creates a "shared" folder at the root hierarchy) and under a normal 
user that already has a shared folder (in this case the folder is 
created under the user hierarchy), but in both cases the folder stays 
empty (with only cyrus.header and cyrus.index inside) and is not visible 
under a WebDAV client. Am I missing something?


Regards,
Anatoli

*From:* Ken Murchison
*Sent:* Tuesday, March 13, 2018 12:18
*To:* Info-cyrus
*Subject:* Re: xDAV and shared namespaces

xDAV hasn't had much development or testing in the shared namespace and 
there isn't any tooling to create such mailboxes.


If you wanted to do some testing, you'd have to create the mailboxes by 
hand and set the mailbox type accordingly.  To do so, you can connect to 
the server as an admin using imtest and enter the following command:


x CREATE shared (TYPE COLLECTION)

to create a WebDAV collection.  Or set the TYPE to CALENDAR or ADDRESSBOOK


On 03/13/2018 11:08 AM, Anatoli wrote:

Hi All,

I'm experimenting with xDav (CalDAV, CardDAV and WebDAV) in Cyrus 
3.0.5. All xDAV services in user namespaces work as expected, but I 
can't figure out how to setup them for shared namespaces.


The most important service for me to setup for shared namespaces is 
WebDAV. I'd like to have a shared folder accessible to multiple users 
based on their ACLs. I know how to setup a shared folder for IMAP:


cyradm> cm shar...@domain.com
cyradm> sam shar...@domain.com us...@domain.com write

In the mail client I see the shared1 folder under "shared folders". 
But I can't see it in a WebDAV client. At the server the shared1 
folder doesn't have the autocreated xDAV structure as it normally 
autocreates for individual users, and I don't know how to create it 
manually.


Does anybody know how to configure WebDAV shared folders? I'm also 
interested in creating shared calendars (CalDAV) and addressbooks 
(CardDAV), but I suppose they are managed the same way as WebDAV.


Thanks in advance,
Anatoli



Cyrus Home Page:http://www.cyrusimap.org/
List Archives/Info:http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


--
Ken Murchison
Cyrus Development Team
FastMail US LLC




Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus



Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

Re: xDAV and shared namespaces

2018-03-13 Thread Ken Murchison



On 03/13/2018 11:48 AM, Anatoli wrote:

Hi Ken,

Thanks for your quick reply. Yes, I'm willing to test it and if needed 
I can also apply patches (I build Cyrus from sources).


> x CREATE shared (TYPE COLLECTION)

What does this command is supposed to do and under what user should I 
execute it (I mean imtest -a )? I tried to run it under admin 
user (it creates a "shared" folder at the root hierarchy) and under a 
normal user that already has a shared folder (in this case the folder 
is created under the user hierarchy), but in both cases the folder 
stays empty (with only cyrus.header and cyrus.index inside) and is not 
visible under a WebDAV client. Am I missing something?


Definitely do this as an admin (e.g. 'cyrus') that DOES NOT have their 
own user hierarchy.


Its been so long since I wrote and played with the WebDAV module that I 
forgot how it works.  Try:


x CREATE #drive/shared (TYPE COLLECTION)

Use whatever you have set for the davdriveprefix option and the proper 
hierarchy ('.' if you have disabled unixhierarchysep)





Regards,
Anatoli

*From:* Ken Murchison
*Sent:* Tuesday, March 13, 2018 12:18
*To:* Info-cyrus
*Subject:* Re: xDAV and shared namespaces

xDAV hasn't had much development or testing in the shared namespace 
and there isn't any tooling to create such mailboxes.


If you wanted to do some testing, you'd have to create the mailboxes 
by hand and set the mailbox type accordingly.  To do so, you can 
connect to the server as an admin using imtest and enter the following 
command:


x CREATE shared (TYPE COLLECTION)

to create a WebDAV collection.  Or set the TYPE to CALENDAR or ADDRESSBOOK


On 03/13/2018 11:08 AM, Anatoli wrote:

Hi All,

I'm experimenting with xDav (CalDAV, CardDAV and WebDAV) in Cyrus 
3.0.5. All xDAV services in user namespaces work as expected, but I 
can't figure out how to setup them for shared namespaces.


The most important service for me to setup for shared namespaces is 
WebDAV. I'd like to have a shared folder accessible to multiple users 
based on their ACLs. I know how to setup a shared folder for IMAP:


cyradm> cm shar...@domain.com
cyradm> sam shar...@domain.com us...@domain.com write

In the mail client I see the shared1 folder under "shared folders". 
But I can't see it in a WebDAV client. At the server the shared1 
folder doesn't have the autocreated xDAV structure as it normally 
autocreates for individual users, and I don't know how to create it 
manually.


Does anybody know how to configure WebDAV shared folders? I'm also 
interested in creating shared calendars (CalDAV) and addressbooks 
(CardDAV), but I suppose they are managed the same way as WebDAV.


Thanks in advance,
Anatoli



Cyrus Home Page:http://www.cyrusimap.org/
List Archives/Info:http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


--
Ken Murchison
Cyrus Development Team
FastMail US LLC



Cyrus Home Page:http://www.cyrusimap.org/
List Archives/Info:http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus




Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


--
Ken Murchison
Cyrus Development Team
FastMail US LLC

<>
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

Re: xDAV and shared namespaces

2018-03-13 Thread Anatoli

Ken,

Thanks a lot! After creating the shared folder under the root hierarchy 
(with imtest -a admin and the command you provided), setting the 
corresponding ACLs for the users that have to have access to the folder 
(with cyradm sam) and creating a new connection in each WebDAV client 
for https://domain.com/dav/drive/shared/, everything worked fine!


I'll try to test the same with CalDAV / CardDAV and report it here.

Regards,
Anatoli

*From:* Ken Murchison
*Sent:* Tuesday, March 13, 2018 12:55
*To:* Info-cyrus
*Subject:* Re: xDAV and shared namespaces



On 03/13/2018 11:48 AM, Anatoli wrote:

Hi Ken,

Thanks for your quick reply. Yes, I'm willing to test it and if needed 
I can also apply patches (I build Cyrus from sources).


> x CREATE shared (TYPE COLLECTION)

What does this command is supposed to do and under what user should I 
execute it (I mean imtest -a )? I tried to run it under admin 
user (it creates a "shared" folder at the root hierarchy) and under a 
normal user that already has a shared folder (in this case the folder 
is created under the user hierarchy), but in both cases the folder 
stays empty (with only cyrus.header and cyrus.index inside) and is not 
visible under a WebDAV client. Am I missing something?


Definitely do this as an admin (e.g. 'cyrus') that DOES NOT have their 
own user hierarchy.


Its been so long since I wrote and played with the WebDAV module that I 
forgot how it works.  Try:


x CREATE #drive/shared (TYPE COLLECTION)

Use whatever you have set for the davdriveprefix option and the proper 
hierarchy ('.' if you have disabled unixhierarchysep)





Regards,
Anatoli

*From:* Ken Murchison
*Sent:* Tuesday, March 13, 2018 12:18
*To:* Info-cyrus
*Subject:* Re: xDAV and shared namespaces

xDAV hasn't had much development or testing in the shared namespace 
and there isn't any tooling to create such mailboxes.


If you wanted to do some testing, you'd have to create the mailboxes 
by hand and set the mailbox type accordingly.  To do so, you can 
connect to the server as an admin using imtest and enter the following 
command:


x CREATE shared (TYPE COLLECTION)

to create a WebDAV collection.  Or set the TYPE to CALENDAR or ADDRESSBOOK


On 03/13/2018 11:08 AM, Anatoli wrote:

Hi All,

I'm experimenting with xDav (CalDAV, CardDAV and WebDAV) in Cyrus 
3.0.5. All xDAV services in user namespaces work as expected, but I 
can't figure out how to setup them for shared namespaces.


The most important service for me to setup for shared namespaces is 
WebDAV. I'd like to have a shared folder accessible to multiple users 
based on their ACLs. I know how to setup a shared folder for IMAP:


cyradm> cm shar...@domain.com
cyradm> sam shar...@domain.com us...@domain.com write

In the mail client I see the shared1 folder under "shared folders". 
But I can't see it in a WebDAV client. At the server the shared1 
folder doesn't have the autocreated xDAV structure as it normally 
autocreates for individual users, and I don't know how to create it 
manually.


Does anybody know how to configure WebDAV shared folders? I'm also 
interested in creating shared calendars (CalDAV) and addressbooks 
(CardDAV), but I suppose they are managed the same way as WebDAV.


Thanks in advance,
Anatoli



Cyrus Home Page:http://www.cyrusimap.org/
List Archives/Info:http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


--
Ken Murchison
Cyrus Development Team
FastMail US LLC



Cyrus Home Page:http://www.cyrusimap.org/
List Archives/Info:http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus




Cyrus Home Page:http://www.cyrusimap.org/
List Archives/Info:http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


--
Ken Murchison
Cyrus Development Team
FastMail US LLC




Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus



Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

Re: xDAV and shared namespaces

2018-03-13 Thread Ken Murchison



On 03/13/2018 12:50 PM, Anatoli wrote:

Ken,

Thanks a lot! After creating the shared folder under the root 
hierarchy (with imtest -a admin and the command you provided), setting 
the corresponding ACLs for the users that have to have access to the 
folder (with cyradm sam) and creating a new connection in each WebDAV 
client for https://domain.com/dav/drive/shared/, everything worked fine!


I'll try to test the same with CalDAV / CardDAV and report it here.


Its entirely possible that the URL parsing code for CalDAV and CardDAV 
will not resolve to a shared folder.  Let me know.






Regards,
Anatoli

*From:* Ken Murchison
*Sent:* Tuesday, March 13, 2018 12:55
*To:* Info-cyrus
*Subject:* Re: xDAV and shared namespaces



On 03/13/2018 11:48 AM, Anatoli wrote:

Hi Ken,

Thanks for your quick reply. Yes, I'm willing to test it and if 
needed I can also apply patches (I build Cyrus from sources).


> x CREATE shared (TYPE COLLECTION)

What does this command is supposed to do and under what user should I 
execute it (I mean imtest -a )? I tried to run it under admin 
user (it creates a "shared" folder at the root hierarchy) and under a 
normal user that already has a shared folder (in this case the folder 
is created under the user hierarchy), but in both cases the folder 
stays empty (with only cyrus.header and cyrus.index inside) and is 
not visible under a WebDAV client. Am I missing something?


Definitely do this as an admin (e.g. 'cyrus') that DOES NOT have their 
own user hierarchy.


Its been so long since I wrote and played with the WebDAV module that 
I forgot how it works.  Try:


x CREATE #drive/shared (TYPE COLLECTION)

Use whatever you have set for the davdriveprefix option and the proper 
hierarchy ('.' if you have disabled unixhierarchysep)





Regards,
Anatoli

*From:* Ken Murchison
*Sent:* Tuesday, March 13, 2018 12:18
*To:* Info-cyrus
*Subject:* Re: xDAV and shared namespaces

xDAV hasn't had much development or testing in the shared namespace 
and there isn't any tooling to create such mailboxes.


If you wanted to do some testing, you'd have to create the mailboxes 
by hand and set the mailbox type accordingly.  To do so, you can 
connect to the server as an admin using imtest and enter the 
following command:


x CREATE shared (TYPE COLLECTION)

to create a WebDAV collection.  Or set the TYPE to CALENDAR or 
ADDRESSBOOK



On 03/13/2018 11:08 AM, Anatoli wrote:

Hi All,

I'm experimenting with xDav (CalDAV, CardDAV and WebDAV) in Cyrus 
3.0.5. All xDAV services in user namespaces work as expected, but I 
can't figure out how to setup them for shared namespaces.


The most important service for me to setup for shared namespaces is 
WebDAV. I'd like to have a shared folder accessible to multiple 
users based on their ACLs. I know how to setup a shared folder for IMAP:


cyradm> cm shar...@domain.com
cyradm> sam shar...@domain.com us...@domain.com write

In the mail client I see the shared1 folder under "shared folders". 
But I can't see it in a WebDAV client. At the server the shared1 
folder doesn't have the autocreated xDAV structure as it normally 
autocreates for individual users, and I don't know how to create it 
manually.


Does anybody know how to configure WebDAV shared folders? I'm also 
interested in creating shared calendars (CalDAV) and addressbooks 
(CardDAV), but I suppose they are managed the same way as WebDAV.


Thanks in advance,
Anatoli



Cyrus Home Page:http://www.cyrusimap.org/
List Archives/Info:http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


--
Ken Murchison
Cyrus Development Team
FastMail US LLC



Cyrus Home Page:http://www.cyrusimap.org/
List Archives/Info:http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus




Cyrus Home Page:http://www.cyrusimap.org/
List Archives/Info:http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


--
Ken Murchison
Cyrus Development Team
FastMail US LLC



Cyrus Home Page:http://www.cyrusimap.org/
List Archives/Info:http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus




Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


--
Ken Murchison
Cyrus Development Team
FastMail US LLC

<>
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

Re: 2.5.11 shared seen

2018-03-13 Thread ellie timoney
Hi info-cyrus,

If anyone with experience using shared seen could jump in and help
out, that'd be great.  I'm out of my depth here and don't know what
else to ask!
Cheers,

ellie


On Fri, Mar 9, 2018, at 7:11 PM, Gabriele Bulfon wrote:
> Hello, upgraded from 2.4.12, and yes, everyone has ACLs with "all"
> flags, including 's'.> 
> 
> *Sonicle S.r.l. *: http://www.sonicle.com[1]
> *Music: *http://www.gabrielebulfon.com[2]
> *Quantum Mechanics : *http://www.cdbaby.com/cd/gabrielebulfon
> 
> 
> 
> *Da:* ellie timoney  *A:* info-
> cy...@lists.andrew.cmu.edu *Data:* 9 marzo 2018 2.53.06 CET *Oggetto:*
> Re: 2.5.11 shared seen> 
> 
>> Hi Gabriele,
>>  
>> Which version have you upgraded from?  (I'm not sure if this makes a
>> difference, but it might)>>  
>> The annotation you're using looks correct to me.  Do the users have
>> the 's' ACL permission on the mailboxes?>>  
>> Cheers,
>>  
>> ellie
>>  
>> On Wed, Mar 7, 2018, at 2:14 AM, Gabriele Bulfon wrote:
>>> Hi,
>>>  
>>> I've noticed that on upgraded systems to 2.5.11 shared seen is no
>>> more working.>>> Our software used to set shared seen state via set 
>>> annotation /vendor/cmu/cyrus-
>>> imapd/sharedseen true>>>  
>>> Is this still ok or is there a different way to do it?
>>>  
>>> Thanks,
>>> Gabriele
>>>  
>>>  
>>> *Sonicle S.r.l. *: http://www.sonicle.com[3]
>>> *Music: *http://www.gabrielebulfon.com[4]
>>> *Quantum Mechanics : *http://www.cdbaby.com/cd/gabrielebulfon
>>> 
>>> Cyrus Home Page: http://www.cyrusimap.org/
>>> List Archives/Info:
>>> http://lists.andrew.cmu.edu/pipermail/info-cyrus/>>> To Unsubscribe:
>>> https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
>>
>>  Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info:
>> http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe:
>> https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
>>

Links:

  1. http://www.sonicle.com/
  2. http://www.gabrielebulfon.com/
  3. http://www.sonicle.com/
  4. http://www.gabrielebulfon.com/

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus