Re: [Exim] router that only adds a header ?

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Martin Tettke
CC: exim-users
Subject: Re: [Exim] router that only adds a header ?
On Mon, 22 Sep 2003, Martin Tettke wrote:

> Is there any way to add a router that does nothing but adds another
> header to the mail message (no transport, no delivery)?


add_header:
driver = redirect
<whatever conditions you like>
headers_add = <your header to add>
data = $local_part@$domain

In other words, redirect the address to itself, adding the header line
as you do so.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book