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

Top Page
Delete this message
Reply to this message
Author: Gary Stainburn
Date:  
To: exim-users
Subject: Re: [exim] user filter if $tod_log < "some time"
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.

Can anyone suggest how I can get round this, or suggest an alternative method.