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

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

 



Wow, thank you. That was an impressive answer which helped ;)

Thanks.

On Tue, Apr 16, 2024 at 9:30 AM Nic Bernstein <nic@xxxxxxxxxxxxxxxx> 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                               nic@xxxxxxxxxxxxxxxx
> 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




[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