At 01:26 2005-11-12 +0100, Ruud H.G. van Tol wrote:
If you only need the date, you can let a cron-job create a DATE.INC once
per day, with code in it that sets some variables:
Hah, this assumes that the user has the ability to run crontab to create
the job in the first place. The same sort of "I don't have control over
the system I'm using" argument offered by those who don't want to see
further procmail development rather defeats that as a viable solution.
A new version of procmail could parse a .procmailrcp as a new syntax
procmail rc, and a .procmailrc as an old syntax (looking for the new syntax
one first). There's some issues with EXTERNAL manipulation of files to
consider there though (some ISPs manipulate a user's procmailrc to call
things based on webform settings and the like), but the point is, a revised
procmail can be made to operate like an older version without added work
for the existing users of it.
More the issue is discussing features available in newer procmail versions,
and having users with old versions not being able to use them. Gosh,
that's terrible. Perhaps they can ask their admins to upgrade, use a
user-compiled procmail, or find a host that runs the newer version. People
look for webhosts based on what they offer - Apache vs. somthing else, PHP,
cgi, etc. Why should mail be a non-factor?
and let procmail include that. I haven't benchmarked such an INCLUDERC
against the From_ parser (or against calling `date`), but I never need
values finer than the day-number, so it would work for me.
I'd be happy to call a library date without the overhead of opening and
parsing a file, even if that seems minour. It's an OPEN file, so there's
kernel limitations to consider on large scale systems.
---
Sean B. Straw / Professional Software Engineering
Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
Please DO NOT carbon me on list replies. I'll get my copy from the list.
____________________________________________________________
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