"Ruud H.G. van Tol" <rvtol(_at_)isolution(_dot_)nl> writes:
Harry Putnam wrote:
I have a rule that collects the headers from mail and writes them to a
file.
I want to trim this file periodically by way of a perl script and cron
job.
Or just make a YYYYMMDD-filename from the current date
I parse the From_ for that.
Not sure I follow how making a dated file name will trim (shorten) a
file.
Unless your suggestion involves writing 1 file for each header block.
Something I hadn't considered.
That would eliminate any collision problems when getting rid of older
files in some useful systematic way.
However, I initially wanted the information to set in a single log
file for perusal, but I guess I could compile such a log at any time
just by combing the existing single files.
Thanks, your suggestion would completely eliminate any concerns about
write collisions.
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)de
http://mailman.rwth-aachen.de/mailman/listinfo/procmail