received date and reconstruct

Ken Murchison ken at
Thu Nov 20 10:19:07 EST 2003

Earl R Shannon wrote:

> Hello,
> I'd suggest you investigate the ipurge command that comes with
> cyrus. It can be run from a cron job and delete messages

Why would you put it in crontab instead of an EVENT in cyrus.conf? 
Wouldn't it make more sense to keep all Cyrus-related processes in one spot?

> based on specified criteria, including age. Hm. Not sure though
> how it determines age.

It uses the sent date (Date: header).

> Andrew J Caird wrote:
>> Strangely, I need to do something very similar.  So if someone has the
>> answer and was going to hold out because of lack of interest, that's no
>> longer an excuse. :)
>> Thanks a lot.
>> -- 
>> Andrew
>> On Thu, 20 Nov 2003, Phil Chambers wrote:
>>> I was planning to have a script go through doing this every night.  It
>>> would use the creation dates of the message files, deleting ones that
>>> are too old and then use reconstruct to tidy up.
>>> I have two questions:
>>> 1) Can I rely on the creation date?  I ask this because I have just seen
>>> an inbox where every message file had the same date/time.  The date/time
>>> was 4.05 this morning and the user was not active at that time and the
>>> files had not been recovered from backup. Without any external activity,
>>> I cannot see what would have changed the creation dates.
>>> 2) Is it safe to use reconstruct on a live system in this way?  I am
>>> concerned in case a new message gets delivered into the folder while
>>> reconstruct is doing its thing.
>>> Phil.

Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--

More information about the Info-cyrus mailing list