Cyrus 3.0.8 and purging/removing emails

Lars Schimmer l.schimmer at
Wed Jan 15 10:21:03 EST 2020

On 2020-01-14 16:51, Savvas Karagiannidis wrote:
> Hi,
> according to the documentation for cyr_expire
> (
> 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

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the Info-cyrus mailing list