Re: segfault in ctl_cyrusdb/cyr_expire/lmtpd

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

 



On 11/28/12 21:41 +0100, Dmitry Katsubo wrote:
>In there anybody in the maillist, who can further assist me with this
>issue? Please help to recover.

The format of the mailboxes file is documented here:

http://cyrusimap.org/docs/cyrus-imapd/2.4.16/internal/database-formats.php

>On 13.11.2012 19:00, Dmitry Katsubo wrote:
>>> 00000000  a1 02 8b 0d 73 6b 69 70  6c 69 73 74 20 66 69 6c  |....skiplist fil|
>>> 00000010  65 00 00 00 00 00 00 01  00 00 00 02 00 00 00 14  |e...............|
>>> 00000020  00 00 00 07 00 00 00 46  00 00 15 f0 50 a1 8d b0  |.......F....P...|
>>> 00000030  00 00 01 01 00 00 00 00  00 00 00 00 00 00 00 90  |................|
>>> 00000040  00 00 00 90 00 00 01 14  00 00 01 14 00 00 01 14  |................|
>>> 00000050  00 00 06 6c 00 00 06 6c  00 00 00 00 00 00 00 00  |...l...l........|
>>> 00000060  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
>>> *
>>> 00000080  00 00 00 00 00 00 00 00  00 00 00 00 ff ff ff ff  |................|
>>> 00000090  00 00 00 01 00 00 00 0b  75 73 65 72 2e 64 6d 69  |........user.dmi|
>>> 000000a0  74 72 79 00 00 00 00 1b  30 20 64 65 66 61 75 6c  |try.....0 defaul|
>>> 000000b0  74 09 64 6d 69 74 72 79  09 6c 72 73 77 69 70 63  |t.dmitry.lrswipc|
>>> 000000c0  64 61 09 00 00 00 00 d0  00 00 01 14 ff ff ff ff  |da..............|
>>> 000000d0  00 00 00 01 00 00 00 14  75 73 65 72 2e 64 6d 69  |........user.dmi|
>>> 000000e0  74 72 79 2e 41 72 63 68  69 76 65 73 00 00 00 1b  |try.Archives....|
>>> 000000f0  30 20 64 65 66 61 75 6c  74 09 64 6d 69 74 72 79  |0 default.dmitry|
>>> 00000100  09 6c 72 73 77 69 70 63  64 61 09 00 00 00 01 14  |.lrswipcda......|
>>> 00000110  ff ff ff ff 00 00 00 01  00 00 00 19 75 73 65 72  |............user|
>>> 00000120  2e 64 6d 69 74 72 79 2e  41 72 63 68 69 76 65 73  |.dmitry.Archives|
>>> 00000130  2e 32 30 31 30 00 00 00  00 00 00 1b 30 20 64 65  |.2010.......0 de|
>>> 00000140  66 61 75 6c 74 20 64 6d  69 74 72 79 09 6c 72 73  |fault dmitry.lrs|
>>> 00000150  77 69 70 63 64 61 09 00  00 00 01 70 00 00 01 70  |wipcda.....p...p|
>>> 00000160  00 00 02 98 00 00 06 6c  00 00 06 6c ff ff ff ff  |.......l...l....|
>> ...

Your fields, within each record, should be separated by a space.

Your '09' value at 000000b1 is wrong. Same thing for 000000f09. 00000145
looks correct.

You could try changing the file, offline, with hexedit or sed:

cp mailboxes.db <path>/mailboxes.bak
cat mailboxes.db | sed 's/default\t/default /g' > mailboxes.new

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