Hi, Bron. Thanks for your reply.

On 5/2/19 17:21, Bron Gondwana wrote:

> You need to run cyr_expire occasionally to clean up deleted messages!

Checking the syslog, apparently it ran automatically this morning:

----------
# grep cyr_expire /var/log/syslog /var/log/syslog.1
/var/log/syslog.1:Feb  5 04:01:03 mail cyrus/cyr_expire[6111]: Expired 0
and expunged 0 out of 53555 messages from 80 mailboxes
/var/log/syslog.1:Feb  5 04:01:03 mail cyrus/cyr_expire[6111]:
duplicate_prune: pruning back 3.00 days
/var/log/syslog.1:Feb  5 04:03:16 mail cyrus/cyr_expire[6111]:
duplicate_prune: purged 562 out of 1756 entries
/var/log/syslog.1:Feb  5 04:30:00 mail cyrus/cyr_expire[6585]: Expired 0
and expunged 0 out of 53558 messages from 80 mailboxes
/var/log/syslog.1:Feb  5 04:30:00 mail cyrus/cyr_expire[6585]: Removed 0
deleted mailboxes
/var/log/syslog.1:Feb  5 04:30:00 mail cyrus/cyr_expire[6585]:
duplicate_prune: pruning back 4.00 days
/var/log/syslog.1:Feb  5 04:30:00 mail cyrus/cyr_expire[6585]:
duplicate_prune: purged 0 out of 1200 entries
/var/log/syslog.1:Feb  5 04:45:00 mail cyrus/cyr_expire[6849]: Expired 0
and expunged 0 out of 53558 messages from 80 mailboxes
/var/log/syslog.1:Feb  5 04:45:00 mail cyrus/cyr_expire[6849]:
duplicate_prune: pruning back 4.00 days
/var/log/syslog.1:Feb  5 04:45:00 mail cyrus/cyr_expire[6849]:
duplicate_prune: purged 0 out of 1200 entries
----------

But still I see those files from 2016 to the present.

Checking /etc/cyrus.conf I found this configuration as default in Stretch:

----------
EVENTS {
(...)

        # this is only necessary if using duplicate delivery suppression
        delprune        cmd="/usr/sbin/cyrus expire -E 3" at=0401

(...)

        # 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
(...)
----------

Am I missing something?


Thanks for your time.

Kind regards,
Daniel

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

Reply via email to