Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python3
# This utility helps reconstructing mailboxes that we recreated after a botched upgrade
# to cyrus 3.6
# This code automates the suggestion from ellie timoney here: https://cyrus.topicbox.com/groups/info/T9d294f89a3d1d260-M2f194782b7c5b5b01e200409
# and reconstructs mailboxes that were recreated (and the old content lost) during an update from cyrus 3.4 to cyrus 3.6
#
# See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1007965 for the related Debian bugreport
#