Re: Corrupt mailbox

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

 



On 3/3/2022 11:38 AM, Eric Luyten wrote:

On 03/03/2022 16:14, Pascal Gienger via Info wrote:
ctl_mboxlist -d > mailboxes.txt

removing mailboxes from mailboxes.txt

ctl_mboxlist -u < mailboxes.txt




Trying the second command on a standby/testing system first, sure.



and execute a  'cp  /dev/null  mailboxes.db'  before the 'undump' or you will end up with (close to) double the number of entries in de database

Maybe better do a

ctl_mboxlist -f mailboxes_new.db -u < mailboxes.txt

Then after making a backup of the old mailboxes.db a

mv mailboxes_new.db mailboxes.db

to have an atomic change.

------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/T6bc96cdf11ab83bf-Mb0665392c5ff0bf914707865
Delivery options: https://cyrus.topicbox.com/groups/info/subscription




[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