<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>hi Andrea,</div><div>I believe you hit the bug I reported here: <br></div><div><a href="https://github.com/cyrusimap/cyrus-imapd/issues/2001">https://github.com/cyrusimap/cyrus-imapd/issues/2001</a></div><div>version 2.5.11 introduced this bug.</div><div>If you can recompile cyrus, you could try reverting these changes to imap/mboxname.c:</div><div><a href="https://github.com/cyrusimap/cyrus-imapd/pull/67/files#diff-3f7e9582b7051be83c0edd299be8f5a5">https://github.com/cyrusimap/cyrus-imapd/pull/67/files#diff-3f7e9582b7051be83c0edd299be8f5a5</a></div><div>Otherwise you should either downgrade to 2.5.10 or upgrade to 3.0.x</div><div><br></div><div><br></div><div>Regards,</div><div>Savvas Karagiannidis<br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 7, 2019 at 2:36 PM Andrea Venturoli <<a href="mailto:ml@netfence.it">ml@netfence.it</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello.<br>
<br>
I'm maintaining several setups of Cyrus IMAPD 2.5.12 on FreeBSD 11.2/amd64.<br>
I'm also using Thunderbird+CardBook on some of them without too many <br>
troubles.<br>
<br>
<br>
<br>
Today, however I tried this on one server where I hadn't used CardDAV <br>
before (but had used CalDav succesfully) and run into some troubles.<br>
<br>
First, "Default" addressbook for user <a href="mailto:myuser@mydomain.it" target="_blank">myuser@mydomain.it</a> was not <br>
automatically created when I configured CardBook; after creating it <br>
manually through cyradmin, CardBook would connect fine.<br>
<br>
Later, I moved some hundred contacts into CardBook and let it <br>
synchronize: I watched it progress and noticed any contact who was <br>
transferred to the server disappeared from CardBook.<br>
No use synchronizing again, those contacts would not reappear.<br>
So I tried configuring the same addressbook on another machine: it would <br>
connect fine, but show no contact.<br>
If I add further contacts, they are just "eaten" when I synchronize.<br>
The contacts are however present on the server if I go and look at the <br>
filesystem level!<br>
<br>
<br>
<br>
Now, this servers differs from the others where I succesfully used <br>
carddav for two reasons: it uses "virtdomains: userid" and <br>
"unixhierarchysep: yes".<br>
(I also have "altnamespace: yes", but that's not unique).<br>
<br>
<br>
I believe "unixhierarchysep: yes" is the culprit here, because this is <br>
what happened:<br>
_ I pointed CardBook at <br>
<a href="https://mail.mydomain.it/dav/addressbooks/user/myuser@mydomain.it/Default/" rel="noreferrer" target="_blank">https://mail.mydomain.it/dav/addressbooks/user/myuser@mydomain.it/Default/</a><br>
_ at the file system level I saw the following appear:<br>
  /var/spool/imap/domain/<a href="http://mydomain.it/user/myuser/#addressbooks" rel="noreferrer" target="_blank">mydomain.it/user/myuser/#addressbooks</a><br>
  /var/spool/imap/domain/<a href="http://mydomain.it/user/myuser/#addressbooks" rel="noreferrer" target="_blank">mydomain.it/user/myuser/#addressbooks</a>^Default<br>
_ still CardBook would say no such addressbook was available;<br>
_ I lunched cyradm and issued "cm user <br>
user/myuser/#addressbooks/<a href="mailto:Default@mydomain.it" target="_blank">Default@mydomain.it</a>";<br>
_ /var/spool/imap/domain/<a href="http://mydomain.it/user/myuser/#addressbooks/Default" rel="noreferrer" target="_blank">mydomain.it/user/myuser/#addressbooks/Default</a> <br>
appeared and CardBook was happy and created the addressbook.<br>
<br>
After I added those hundred contacts, I correctly see them in <br>
/var/spool/imap/domain/<a href="http://mydomain.it/user/myuser/#addressbooks/Default" rel="noreferrer" target="_blank">mydomain.it/user/myuser/#addressbooks/Default</a>, <br>
but still CardBook does not find them.<br>
<br>
<br>
<br>
<br>
Is this a known bug?<br>
Any hint on how to solve or at least get some more debugging info?<br>
<br>
  bye & Thanks<br>
        av.<br>
----<br>
Cyrus Home Page: <a href="http://www.cyrusimap.org/" rel="noreferrer" target="_blank">http://www.cyrusimap.org/</a><br>
List Archives/Info: <a href="http://lists.andrew.cmu.edu/pipermail/info-cyrus/" rel="noreferrer" target="_blank">http://lists.andrew.cmu.edu/pipermail/info-cyrus/</a><br>
To Unsubscribe:<br>
<a href="https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus" rel="noreferrer" target="_blank">https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus</a><br>
</blockquote></div>