procmail
[Top] [All Lists]

Re: Need assistance with mail forwding mail

1997-05-07 11:56:00
era eriksson har May  7, ytret følgende ord om ,,Re: Need assistance with mail 
forwding mail'':
: The From_ line contains a time stamp, match on that. 

You may use GNU date(1) to get the hour of the day, e.g.:
  hour=`date %k`
and then use some test(1) like:
  * ? test $hour -le 23 -a $hour -ge 9

-- 
:-- Hans Georg           --- student of 'Life, the Universe and Everything'
stud.scient. <georg(_at_)ii(_dot_)uib(_dot_)no>,       stud.oecon.  
<georg(_at_)hamilton(_dot_)nhh(_dot_)no>  

,Studenter, ta fri, det er vår !'

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