Re: [Exim] Delaying mail delivery by hours

Góra strony
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
Dla: Marc Haber
CC: exim-users
Temat: Re: [Exim] Delaying mail delivery by hours
On Wed, 24 Nov 1999, Marc Haber wrote:

> Is there any way to have messages sent to a specific local address
> delayed by - say - 24 hours?


Using Exim 3.10, the answer is "yes". Set up a smartuser director like
this:

delay:
driver = smartuser
domains = the.domain
local_parts = thelocalpart
condition = ${if < ${$message_age}{86400}{yes}{no}}
new_address = :defer: message not old enough

Of course, this will also have the effect of setting a retry time for
the address.

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