Re: [exim] local time based rule (tod_zulu, tod_zone)

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Heiko Schlittermann
Date:  
À: exim-users
Sujet: Re: [exim] local time based rule (tod_zulu, tod_zone)
Arkadiusz Miśkiewicz <arekm@???> (Mo 07 Apr 2014 08:24:38 CEST):
>
> Hi.
>
> How to create time based rules using local time zone?
>
> For example:
>
> condition = ${if or{{>{${substr_8_4:$tod_zulu}}{2300}}{<{${substr_8_4:$tod_zulu}}{0300}}} {1}{0}}
> but localtime instead of UTC?
>
> Somehow calculate tod_zulu + $tod_zone, but how?


In fact, a $tod_local would be useful, but for now you may use $tod_log,
this should be parsable too.

    Best regards from Dresden/Germany
    Viele Grüße aus Dresden
    Heiko Schlittermann
-- 
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
 gnupg encrypted messages are welcome --------------- key ID: 7CBF764A -
 gnupg fingerprint: 9288 F17D BBF9 9625 5ABC  285C 26A9 687E 7CBF 764A -
(gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2  7E92 EE4E AC98 48D0 359B)-