migration to 3.0 and virtdomains
Ede Wolf
listac at nebelschwaden.de
Thu Sep 12 12:53:51 EDT 2019
Experimental wise, I've set the default domain to example.com, so that
new mailboxes are not created under the domain subtree. Doing this I've
stumbled into another problem, after copying the old files and having
run reconstruct -f -G -V max as user cyrus:
When connecting via cyradm as user cyrus (admin), and try to list the
mailboxes with a: "lm" command, I see following error in the logs, with
the output of "lm" not listing a single mailbox:
Sep 12 16:49:22 mail cyrus-imapd/imap[31820]: login: localhost
[127.0.0.1] cyrus SCRAM-SHA-1 User logged in
SESSIONID=<cyrus-imapd-31820-1568299761-1-760094788112086440>
Sep 12 16:49:22 mail cyrus-imapd/imap[31820]: command: 4 Rlist
Sep 12 16:49:24 mail cyrus-imapd/imap[31820]: command: 5 List
Sep 12 16:49:24 mail cyrus-imapd/imap[31820]: Fatal error: Internal
error: assertion failed: lib/cyrusdb_twoskip.c: 1525: cb
Sep 12 16:49:24 mail cyrus-imapd/imap[31820]: auditlog: traffic
sessionid=<cyrus-imapd-31820-1568299761-1-760094788112086440>
bytes_in=<333> bytes_out=<2721>
Sep 12 16:49:24 mail cyrus-imapd/master[31803]: process type:SERVICE
name:imap path:/usr/libexec/imapd age:2.829s pid:31820 exited, status 75
Sep 12 16:49:24 mail cyrus-imapd/master[31803]: service imap/ipv4 pid
31820 in BUSY state: terminated abnormally
However, when using a fresh imapd install and (auto)create a mailbox,
"lm" seems to work just fine.
Am 11.09.19 um 19:18 schrieb Ede Wolf:
> Hello,
>
> I am in the progress of upgrading from 2.5.10 to 3.0.11 and have a
> question regarding the virtdomains: setting, that for the sake of
> calendaring has to change from off (or rather unspecified) to userid and
> it's implications on the migration path wise.
>
> Until now, the mailboxes where located below
>
> ../mail/X/user/mary, with "X" of course being an arbitrary letter.
>
> Now, the mailboxes are located below
>
> ../mail/domain/X/example.com/Y/user/mary
>
> At least newly created ones. Technically, there is of course no problem
> of copying/syncing the old mailboxes below the example.com directory,
> but cyrus stores a lot of additional information in databases below
> $configdirectory and I am not sure, how the changed paths of the
> mailboxes will affect the data, that is stored within the likes of
> mailboxes.db, annotations.db, *.seen and what else lingers around there.
>
> Additionally, $configdirectory and $partition-default had to change
> their respective path, too. But since those are configurable in
> imapd.conf, until now I am not worried about this.
>
> So I am wondering, is there anything I should be aware of? Or will
> reconstruct magically take care of all this? Any dos or donts? Any
> special procedure or precautions required when moving mailboxes below a
> domain structure?
>
> Thanks for any clues
>
> Ede
> ----
> 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
More information about the Info-cyrus
mailing list