Re: How to purge /var/spool/cyrus/mail/u/DELETED/user manually

"Ml Ml via Info" <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <CANFxOjC50SnkfyS0GRdya6Y6s3ddiuNqepb_roTY4rQqDqaOHA@mail.gmail.com>
Wow, thank you. That was an impressive answer which helped ;)

Thanks.

On Tue, Apr 16, 2024 at 9:30 AM Nic Bernstein <[email protected]> wrote:
>
> 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)?
>
> 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
>
> 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 Bernstein                               [email protected]
> https://www.nicbernstein.com
>
> Cyrus / Info / see discussions + participants + delivery options Permalink

------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/T902167a25c81fa9a-Ma8a28c0bb100460137b60a19
Delivery options: https://cyrus.topicbox.com/groups/info/subscription
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.