procmail
[Top] [All Lists]

procmail and if statements

2002-08-22 07:03:55
Hi there,
I am trying to make procmail do a vacation type program.  All I want it
to do is:

If the time is between 5pm and 7am or if it is a Saturday or a Sunday,
then send an auto-response.
I have tried formating the date command to give me a  2 digit hour and a
day of the week and putting those values into 1 or two environment
variables.  Then I want to match that variable to the hours or days I
want the vaction message sent.  But I can't get this to work.  Can you
help?



_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail