Re: [exim] way to delay by time of day?

Etusivu
Poista viesti
Vastaa
Lähettäjä: OpenMacNews
Päiväys:  
Vastaanottaja: Christian Recktenwald
Kopio: exim-users
Aihe: Re: [exim] way to delay by time of day?
hi christian,

> /slightly/ more elegant:
>
> one cronjob to vary /etc/exim/DELAY
>     echo "DELAY = 55s" >  /etc/exim/DELAY

>
> including this in exim.conf:
>      .include /etc/exim/DELAY

>
> then using the DELAY macro in exim.conf
>     delay = DELAY

>
> so the cronjob just has to HUP exim.


i had not thought of the include option at all ... cute.

> use an acl variable (e.g. acl_m9) which is set from a "warn" acl
> which checks a condition for date.

...
>     warn
>         condition = if sat or sun
>         set acl_m9 = 55s

...
>     warn
>         delay = $acl_m9


i'd thought of this, but failed to find conditions for date/time checks in exim
...

did i miss them?

cheers,

richard