received date and reconstruct
Earl R Shannon
ershanno at unity.ncsu.edu
Thu Nov 20 09:53:23 EST 2003
Hello,
I'd suggest you investigate the ipurge command that comes with
cyrus. It can be run from a cron job and delete messages
based on specified criteria, including age. Hm. Not sure though
how it determines age.
Regards,
Earl Shannon
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.
More information about the Info-cyrus
mailing list