Michelle Konzack wrote:
I have some filters created but I do not know how I solve this:
I generate filters on the fly which works now pefectly, but I do not
know how to make the condition, if the current time is bigger a
default, then the message will not more filtered
* [ `date +%s` -lt 1113484356 ]
and I replied,
| * $ -`date +%s`^0
| * 1113484356^0
But I notice that Michelle said "-gt" in the subject line but "-lt" in
the example, and in the description she said that the time has to be
bigger than the preset number. So to simulate -gt, move the minus sign:
* $ `date +%s`^0
* -1113484356^0
With either, there's a Y2038 problem, but there is with most versions of
date(1) as well.
____________________________________________________________
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