I think this may have happened to us also.
We are running Debian/Postfix/Cyrus on 14 servers and just updated to
3.6.0~beta2-1+b1.
During the update process, 3 of the 14 servers reported a segfault
during the update. After the apt process was finished I was able to
restart cyrus without any problem.
This morning we are beginning to see postfix LMTP bounces from the 3
servers that had the segfault to addresses that we have confirmed with
do exist.
Postfix LMTP error
--------------------
550-Mailbox unknown. Either there is no mailbox associated with this
550-name or you do not have authorization to see it. 550 5.1.1 User
unknown (in reply to RCPT TO command))
Confirmation mailbox exists
------------------------------
cyradm -user cyrus localhost
Password:
localhost.ironicdesign.com> lm
user/grandkids@xxxxxxxxxxxx (\HasNoChildren)
...
Not sure how to confirm that the grandkids mailbox is in uuid except I
would assume that cyradm is searching the uuid storage space.
Any thoughts on how to try recovering the mail for these addresses?
Thanks
Andy Dorman
On 3/20/22 02:53, fr.hamelin+cyrus@xxxxxxxxx wrote:
Hello,
Using debian bookworm, the cyrus-imapd was updated from 3.4.3 to
3.6.0~beta2-1 this Friday. There was no warning about any migration or
post check to perform before applying the updated packages.
The update procedure didn't went well but I didn't realized it.
|process type:START name:recover path:/usr/sbin/cyrus age:0.000s
pid:678146 signaled to death by signal 11 (Segmentation fault)|
I restarted cyrus via systemctl and saw that I couldn't access to mail,
despite the fact that all the mails are still in the usual (legacy?)
/var/spool/cyrus/mail/f/fuser.
I also saw that a new user was created under uuid folder and this user
is receiving my new mails.
I tried to downgrade to previous version but cyrus couldn't find my
legacy user's mailbox.
I reinstalled the beta2 and checked on your website. I tried to perfrom
the relocate_by_id command but I could not find it in any debian packages.
I copied all mails from my /var/spool/cyrus/mail/f/fuser to the uuid
folder and performed several reconstruct commands.
I managed to get my mails back under the user with uuid but all the
sublfolders failed to reconstruct (segmentation fault)
|cyrus/reconstruct[54080]: IOERROR: lock failed:
mailbox=<user.fuser.myfolder> error=<Invalid mailbox name> syserror=<No
such file or directory> func=<mailbox_open_advanced>|
and, yes, fuser.myfolder exists under /var/spool/cyrus/mail/uuid/
Could you help me recover my subfolders and I suppose my sieve,
addresbooks and calendars?
I still have the backup of /var/spool/cyrus and /var/spool/sieve I have
made after the restart due to initial segmentation fault (which means
update process was started)
Thank you so much in advance for your help.
*Cyrus <https://cyrus.topicbox.com/latest>* / Info / see discussions
<https://cyrus.topicbox.com/groups/info> + participants
<https://cyrus.topicbox.com/groups/info/members> + delivery options
<https://cyrus.topicbox.com/groups/info/subscription> Permalink
<https://cyrus.topicbox.com/groups/info/T3e85440ddbb44ec6-Maf769decd0dd45d4572145b8>
------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/T3e85440ddbb44ec6-Mb53ddec6f0f2c706e6a3ea71
Delivery options: https://cyrus.topicbox.com/groups/info/subscription