Re: [Exim] delaying some messages (exim 4)

Página Inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
Para: Arkadiusz Miskiewicz
CC: exim-users
Assunto: Re: [Exim] delaying some messages (exim 4)
On 19 Jul 2002, Arkadiusz Miskiewicz wrote:

> I'm thinking about adding some header to message at php level
> and then check that header in router or somewhere else but
> where?
>
> I see :defer: only in redirection lists. There is nothing
> in exim_filter info file about defering. Seems to me that what
> I want is impossible to do right now in exim 4 :-(


In Exim 4 there is no problem. Just use a router like this:

defer:
  driver = redirect
  allow_defer
  condition = ${if and                        \
                   {                          \
                   {def:h_some-header:}       \
                   {< {$message_age}{1200}}   \
                   }                          \
              {yes}{no}}
  data = :defer:


That will defer messages that contain the header for 20 minutes.


--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.