Re: [exim] Defer mail for time

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Ian FREISLICH
Dátum:  
Címzett: Brent Clark
CC: exim users
Tárgy: Re: [exim] Defer mail for time
Brent Clark wrote:
> Hiya
>
> Would anyone know how to defer mail from an address, but based on time
> of the day.
>
> Basically Ive been asked by management to defer all from gmail, facebook
> etc, between 8 and 5pm.


acl_smtp_mail:
defer    sender_domains = gmail.com : facebook.com
    condition = ${if and {{<{${substr_12_2:$tod_log}}{17}} \
            {>{${substr_12_2:$tod_log}}{8}}} {yes}{no}}


YMMV

Ian

--
Ian Freislich