Re: [exim] user filter if $tod_log < "some time"

Top Page
Delete this message
Reply to this message
Author: Jasen Betts
Date:  
To: exim-users
Subject: Re: [exim] user filter if $tod_log < "some time"
On 2016-10-20, Gary Stainburn <gary.stainburn@???> wrote:
> On Thursday 20 October 2016 06:29:07 Jasen Betts wrote:
>> On 2016-10-19, Gary Stainburn <gary.stainburn@???> wrote:
>> > if $tod_log begins "2016-10-19" then
>> >
>> > I can't use things such as lt{} or gt{}, and I can't see how to do less
>> > than or greater than string comparisons
>>
>> as a retraction of my previous post,
>>
>> $tod_zulu is probably a better option that $tod_epoch.
>>
>
> This looked perfect for my needs as it was simple enough to allow my end user
> to use in his .forward file.
>
> Unfortunately, it doesn't work. $tod_zulu has a trailing 'Z' which means it's
> not an integer.


does ${sg{$tod_zulu}{Z}{}} work ?

or can you do a lexicographical comparison?
--
This email has not been checked by half-arsed antivirus software