Re: cyr_expire
Paul van der Vlis <[email protected]>
| Newsgroups | gmane.mail.imap.cyrus |
|---|---|
| Message-ID | <[email protected]> |
Op 08-11-2022 om 07:52 schreef Simon Matter:
> Hi Paul
>
>> Hello,
>>
>> I don't understand cyr_expire complete.
>> Is it correct that I have to run it from a cronjob?
>>
>> And is it correct that I can use this command to expunge all messages
>> and folders what are deleted longer then 7 days?
>> cyr_expire -X 7d
>
> I have this in cyrus.conf in the EVENT {} section to do the expunge:
>
> # this is only necessary if using duplicate delivery suppression,
> # Sieve or NNTP
> delprune cmd="cyr_expire -D 7 -E 3 -X 7" at=0400
>
> Did you already take a closer look at your cyrus.conf file?
Hmm. What I find there is:
------
# 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
------
Is this the same what cyr_expire does? Or is this old?
With regards,
Paul van der Vlis
--
Paul van der Vlis Linux systeembeheer Groningen
https://vandervlis.nl/
------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/T320efe9c3aa52a54-M2eb36fc3eff30c9fb7bd3539
Delivery options: https://cyrus.topicbox.com/groups/info/subscription