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)?
- Some distros have different default settings
- Some distros have different default settings
- What is 'delete_mode' set to? (I'm guessing "delayed" but
still worth asking)
- Allowed values: immediate, delayed*
- What is 'expunge_mode' set to?
- Allowed values: default, immediate, delayed*
- Have you got any 'cyr_expire' jobs in cyrus.conf?
- 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
- # Expire data older than 28 days.
- On Debian/Ubuntu systems look like this (using "cyrus
expire") whereas others may use "cyr_expire":
- The precise commands may vary by distro
On my Ubuntu system a command to remove all deleted mailboxes older than 1 minute might be:
Cheers,$ sudo cyrus expire -a -D 1m
-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 Bernstein nic@xxxxxxxxxxxxxxxx https://www.nicbernstein.com