Okay, so I built 3.6.0 (which is in "updates" for Fedora 37 but not released it seems) with this patch I wrote included in the rebuild:
And I'm seeing:
Jun 10 17:18:33 mail cyrus/imaps[18938]: mboxlist_upgrade_subs(): joeblow@mail
which is generated here:
/* if we find it this time, we lost the race and someone else already * upgraded the DB. Bonus. */ db_r = cyrusdb_fetch(*subs, key, keylen, &data, &datalen, NULL); if (db_r != CYRUSDB_OK) { syslog(LOG_NOTICE, "mboxlist_upgrade_subs(): %s", userid); r = mboxlist_upgrade_subs_work(userid, subsfname, subs); }
But it's not clear to me what I need to do to fix things.
Is there a
cyradm
command that will rebuild things?And should the userid be
joeblow@mail
or just joeblow
? Does it need to include the realm or not?