Re: Cyrus 3.0.8 and purging/removing emails

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

 



On 2020-01-14 16:51, Savvas Karagiannidis wrote:
> Hi,
> according to the documentation for cyr_expire
> (https://www.cyrusimap.org/imap/reference/manpages/systemcommands/cyr_expire.html)
> you also have to add -X parameter in order to completely delete messages
> from mailboxes and -D parameter in order to remove deleted mailboxes
> from the server. -E is only for expiring old entries in the duplicate
> messages databases. Note that the parameter "3" specified there is in
> days by default (3d).
> 
> So, if you only want to keep data that was deleted the last, let's say,
> 7 days, and delete anything older than that, you enter the following in
> the EVENTS section of cyrus.conf:
> 
> delprune        cmd="/usr/sbin/cyrus/cyr_expire -E 3d -X 7d -D 7d" at 0400
> 
> The path to cyr_expire is not clear in your email, so please adjust it
> accordingly.
> "at 0400" specifies that the command must be executed daily at 04:00,
> you can of course change it.

Thank you!
This solved the issue.

> Regards,
> Savvas Karagiannidis


MfG,
Lars Schimmer
-- 
-------------------------------------------------------------
TU Graz, Institut für ComputerGraphik & WissensVisualisierung
Tel: +43 316 873-5405       E-Mail: l.schimmer@xxxxxxxxxxxxx
Fax: +43 316 873-5402       PGP-Key-ID: 0x4A9B1723



Attachment: signature.asc
Description: OpenPGP digital signature

----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

[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