Re: [Exim] Delaying transport for a particular address

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Glenn Carver
Dátum:  
Címzett: exim-users
Tárgy: Re: [Exim] Delaying transport for a particular address
Phil,

Thanks for your email. There's a typo in the exim 4 FAQ for Q9807 (as
well as the lack of allow_defer).

The condition line reads:

      condition = ${if < ${$message_age}{86400}{yes}{no}}


and has an extra $ in front of message_age. It should be:

      condition = ${if < {$message_age}{86400}{yes}{no}}


Just out of curiousity, suppose I wanted to defer a message based on
the time-of-day and only attempt delivery after 2am. I've seen the
$tod variables but I'd need a bit of regex to strip out and test just
the hour of the day. And I'm not a regex wiz.. how would I do it?

Thanks,
          Glenn


On Wed, 17 Jul 2002, Glenn Carver wrote:

> So I need to intercept mail for (let's say),
>list1@???, delay tra

nsport until 12 midnight.

Exim 4 FAQ -> keyword in context index -> D -> delayed -> Q9807.

(Actually, I see there's a bug in it. It should have allow_defer=true
set on it.)