Michael,
You haven't given us much information to go on.
* Which version of Cyrus?
* Did you install from distribution packages (i.e. debs on
Ubuntu/Debian or rpm on Redhat)?
o Some distros have different default settings
* What is 'delete_mode' set to? (I'm guessing "delayed" but still
worth asking)
o Allowed values: immediate, delayed*
* What is 'expunge_mode' set to?
o Allowed values: default, immediate, delayed*
* Have you got any 'cyr_expire' jobs in cyrus.conf?
o The precise commands may vary by distro
+ On Debian/Ubuntu systems look like this (using "cyrus
expire") whereas others may use "cyr_expire":
# # Expire data older than 28 days.
deleteprune cmd="/usr/sbin/cyrus expire -E 4 -D
28" at=0430
expungeprune cmd="/usr/sbin/cyrus expire -E 4 -X
28" at=0445
Assuming you have typical annotations, you should be able to use the
'cyr_expire' command directly. Here's the man page for it:
*
https://www.cyrusimap.org/imap/reference/manpages/systemcommands/cyr_expire.html
On my Ubuntu system a command to remove all deleted mailboxes older than
1 minute might be:
$ sudo cyrus expire -a -D 1m
Cheers,
-nic
On 4/16/24 08:00, Ml Ml via Info wrote:
Hello,
how can i purge /var/spool/cyrus/mail/u/DELETED/user.*
manually/immediately from the filesystem?
Thanks,
Michael
--
Nic [email protected]
https://www.nicbernstein.com
------------------------------------------
Cyrus: Info
Permalink:
https://cyrus.topicbox.com/groups/info/T902167a25c81fa9a-M970a343b89422ce871fff269
Delivery options: https://cyrus.topicbox.com/groups/info/subscription