Re: repairing a calendar

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The mailbox types for the broken user's DAV mailboxes are wrong. Type 0 (zero) says its a regular email mailbox.  You'll have to change them to 32 for calendars and 64 for addressbooks.



On 12/20/2017 02:54 PM, Wolfgang Breyha wrote:
On 20/12/17 17:35, Ken Murchison wrote:
Try:

dav_reconstruct <userid>
Oh sorry, didn't find that one... but doing so removes the <userid>.dav
file without generating a new one. So I assume that something happend
XFERing that mailbox destroying important information about DAV mailboxes.

strace shows that dav_reconstruct unlinks the DB and scans mailboxes.db
afterwards. And then it ends without further steps.

Looking at a ctl_mboxlist dump...
$ ctl_mboxlist -d|grep user.<brokenuid>
user.<brokenuid>.#addressbooks  0 part18 <brokenuid>    lrswipkxtecdan
user.<brokenuid>.#addressbooks.Default  0 part18 <brokenuid>    lrswipkxtecdan
user.<brokenuid>.#calendars     0 part18 <brokenuid>    lrswipkxtecdan
user.<brokenuid>.#calendars.Default     0 part18 <brokenuid>    lrswipkxtecdan
user.<brokenuid>.#calendars.Inbox       0 part18 <brokenuid>    lrswipkxtecdan
user.<brokenuid>.#calendars.Outbox      0 part18 <brokenuid>    lrswipkxtecdan

compared to a working one...
user.<gooduid>.#addressbooks    64 part06 <gooduid>     lrswipkxtecdan
user.<gooduid>.#addressbooks.Default    64 part06 <gooduid>     lrswipkxtecdan
user.<gooduid>.#calendars       32 part06 <gooduid>     lrswipkxtecdan
user.<gooduid>.#calendars.Default       32 part06 <gooduid>     lrswipkxtecdan
user.<gooduid>.#calendars.Inbox 32 part06 <gooduid>     lrswipkxtecdan
user.<gooduid>.#calendars.Outbox        32 part06 <gooduid>     lrswipkxtecdan

I guess there are missing important flags on those DAV folders. Most likely
"lost in translation^WXFER". Should I file a bug?

BTW....(ab)using dav_reconstruct with user.<userid> instead of <userid>
causes a SIGSEGV.

Greetings, Wolfgang

--
Kenneth Murchison
Cyrus Development Team
FastMail Pty Ltd

----
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




[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux