procmail
[Top] [All Lists]

Re: deleting old mails

2005-10-06 02:42:07
On Thu, October 6, 2005 9:08, Dallman Ross said:
On Thu, Oct 06, 2005 at 08:05:48AM +0200, Francesco Peeters wrote:

And you can save even more cycles by having a script in the
crontab to rewrite the rc every day, so the date is actually a
piece of text in the file itself. ;-)

That's what I thought I said.



What *I* read is that you suggested to put the date in an extra file and
include that every time the recipe is run.

What I suggested as an alternative is rewriting the recipe on a daily
basis by concatenating 2 template files and the date file: Header_template
+ datefile + footer_template = recipe.

A small difference, but when we're on the efficiency bandwagon, it's just
another step to increase effeciency...  ;-)

I have not yet tested the difference it would make, but as my mailserver
is a bit faster than Brad's, I think it will not make that much of a
difference, especially as I typically do not get 10.000 mails a day!  :-)

-- 
Francesco Peeters
----
GPG Key = AA69 E7C6 1D8A F148 160C  D5C4 9943 6E38 D5E3 7704
If your program doesn't recognize my signature, please visit
http://www.CAcert.org/index.php?id=3 to retrieve the Root CA certificate.

____________________________________________________________
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

<Prev in Thread] Current Thread [Next in Thread>