Re: cyr_expire

"Simon Matter" <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <[email protected]>
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?

Regards,
Simon

> 
> And is it correct that I can use this in imapd.conf:
> expunge-duration 7d
> And then run this from cron for the same effect:
> cyr_expire
> 
> And is this a good idea, or do I miss something?
> 
> 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-Mf3ea36d8c64bd77a19cca933
Delivery options: https://cyrus.topicbox.com/groups/info/subscription
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.