procmail
[Top] [All Lists]

How to set date/time in .procmailrc

2002-04-24 07:29:48
Hi!
Can anyone tell me how to set date in .procmailrc to only send autoreply
at specific times??
When someone sends email to office(_at_)domainname(_dot_)com he or she gets an
automatic reply, but now I only want this autoreply to be sent after
16.00 and before 09.00, Is there a way to do this without having to use
telnet/ftp and removing the file ????

This is my .procmailrc file:

PATH=/bin:/usr/bin:/usr/local/bin
DEFAULT=/var/mail/kulpol
SHELL=/bin/sh
SENDMAIL=/usr/lib/sendmail
NULL=/dev/null
LOGFILE=$HOME/procmail.logging
VERBOSE=off
COMSAT=no

:0 h c
* !^FROM_DAEMON
* !^X-Loop: user.loop
* ^TOoffice@
| (formail -t -r -i "From:office(_at_)domainname(_dot_)com" -A"Precedence: 
junk" \
-A"X-Loop: kulpol.loop" -I"Subject:" -A"Subject:Autoreply from "; \
cat $HOME/autosvar/autosvar.txt) | $SENDMAIL -t


\\Reidar


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