cyr_expire on 2.3.16
Ken Smith
kens at kensnet.org
Sat Dec 10 09:15:58 EST 2016
Hi All,
I'm running 2.3.16 cyrus-imap on Centos 6.
Following a mother board failure on our primary Cyrus server we have
been using a standby server that normally gets a daily backup from the
primary. I now have the primary server running again and I'm
transferring the mailbox data back from the standby.
Through a backup anomaly there a quite a few more mail files in the
mailbox store than cyrus has in its database.
The primary server is now fine, and preparing to be live again. If I
check the content of the imap store with mutt all is well on the primary
after updating it from the standby, there's just a whole load of surplus
files in /var/spool/imap/.. that I'd like to delete.
I believe I need the -D option in cyr_expire but when I run it I get
this help text
./cyr_expire
cyr_expire [-C <altconfig>] -E <days> [-X <expunge-days>] [-p prefix]
[-a] [-v]
Is the -D option not valid in this version?
What's the simplest way to tidy the filesystem up?
Many thanks
Ken
More information about the Info-cyrus
mailing list