Re: Filter on time of day

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Philip Hazel
日付:  
To: Andy Mell
CC: exim-users
題目: Re: Filter on time of day
On Thu, 10 Jul 1997, Andy Mell wrote:

> I am trying to get the exim filter file to forward email to different
> addresses depending on the time of day. Any ideas? My experiments with
> above/below and tod_full have not proved fruitful.
>
> Am I expecting too much from filter files?


Well, they don't provide a full programming language, that's for sure. I
suppose you could split things by checking the hour in tod_full
explicitly. Did you try extracting the hour from tod_log using substr in
an expansion and then using above/below on that? The hour should always
be in the same place in tod_log.

-- 
Philip Hazel                   University Computing Service,
ph10@???             New Museums Site, Cambridge CB2 3QG,
P.Hazel@???          England.  Phone: +44 1223 334714