Re: [Exim] Delete old non-frozen message in queue

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Philip Hazel
Datum:  
To: Raphael Berghmans
CC: exim list
Betreff: Re: [Exim] Delete old non-frozen message in queue
On Wed, 27 Mar 2002, Raphael Berghmans wrote:
>
> Is it possible with exim 4 to delete automatically a message in queue after a
> certain time even the message is not frozen like 'timeout_frozen_after = x"


Sure. Write a router that matches the message and either bounces it or
routes it to /dev/null (whichever you want). Make sure that the router
has an option like this:

condition = ${if > {$message_age}{21600}{yes}{no}}

Replace 21600 by whatever time period you want.


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