Troubles with CardBook
Savvas Karagiannidis
karagian at gmail.com
Tue May 7 08:07:17 EDT 2019
hi Andrea,
I believe you hit the bug I reported here:
https://github.com/cyrusimap/cyrus-imapd/issues/2001
version 2.5.11 introduced this bug.
If you can recompile cyrus, you could try reverting these changes to
imap/mboxname.c:
https://github.com/cyrusimap/cyrus-imapd/pull/67/files#diff-3f7e9582b7051be83c0edd299be8f5a5
Otherwise you should either downgrade to 2.5.10 or upgrade to 3.0.x
Regards,
Savvas Karagiannidis
On Tue, May 7, 2019 at 2:36 PM Andrea Venturoli <ml at netfence.it> wrote:
> Hello.
>
> I'm maintaining several setups of Cyrus IMAPD 2.5.12 on FreeBSD 11.2/amd64.
> I'm also using Thunderbird+CardBook on some of them without too many
> troubles.
>
>
>
> Today, however I tried this on one server where I hadn't used CardDAV
> before (but had used CalDav succesfully) and run into some troubles.
>
> First, "Default" addressbook for user myuser at mydomain.it was not
> automatically created when I configured CardBook; after creating it
> manually through cyradmin, CardBook would connect fine.
>
> Later, I moved some hundred contacts into CardBook and let it
> synchronize: I watched it progress and noticed any contact who was
> transferred to the server disappeared from CardBook.
> No use synchronizing again, those contacts would not reappear.
> So I tried configuring the same addressbook on another machine: it would
> connect fine, but show no contact.
> If I add further contacts, they are just "eaten" when I synchronize.
> The contacts are however present on the server if I go and look at the
> filesystem level!
>
>
>
> Now, this servers differs from the others where I succesfully used
> carddav for two reasons: it uses "virtdomains: userid" and
> "unixhierarchysep: yes".
> (I also have "altnamespace: yes", but that's not unique).
>
>
> I believe "unixhierarchysep: yes" is the culprit here, because this is
> what happened:
> _ I pointed CardBook at
> https://mail.mydomain.it/dav/addressbooks/user/myuser@mydomain.it/Default/
> _ at the file system level I saw the following appear:
> /var/spool/imap/domain/mydomain.it/user/myuser/#addressbooks
> /var/spool/imap/domain/mydomain.it/user/myuser/#addressbooks^Default
> _ still CardBook would say no such addressbook was available;
> _ I lunched cyradm and issued "cm user
> user/myuser/#addressbooks/Default at mydomain.it";
> _ /var/spool/imap/domain/mydomain.it/user/myuser/#addressbooks/Default
> appeared and CardBook was happy and created the addressbook.
>
> After I added those hundred contacts, I correctly see them in
> /var/spool/imap/domain/mydomain.it/user/myuser/#addressbooks/Default,
> but still CardBook does not find them.
>
>
>
>
> Is this a known bug?
> Any hint on how to solve or at least get some more debugging info?
>
> bye & Thanks
> av.
> ----
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20190507/f7f38080/attachment.html>
More information about the Info-cyrus
mailing list