Re: [Exim] Director that only issues "headers_add"

Top Page
Delete this message
Reply to this message
Author: John R. Shearer
Date:  
To: Tamas TEVESZ
CC: exim-users
Subject: Re: [Exim] Director that only issues "headers_add"
> From: Tamas TEVESZ <ice@???>
> Date: Thu, 19 Jun 2003 08:45:31 +0200 (CEST)
> To: "John R. Shearer" <exim-users@???>
> Cc: exim-users@???
> Subject: Re: [Exim] Director that only issues "headers_add"
>
> On Wed, 18 Jun 2003, John R. Shearer wrote:
>
>> I'm trying to write a director under Exim 3.35 (Debian) that does nothing
>> but adds a header. I've tried several things to accomplish this but they
>> all produced undesirable side-effects (new_address=, driver=pipe, etc.).
>>
>> Is there something like a "driver = noop" available? Perhaps a transport
>> that I can call to has no effect if provided the right options? Is there a
>> another/better way of accomplishing this?
>
> if all else fails, smartuser with new_address=$local_part@$domain
> surely doesn't do anything particularly meaningful.


The problem with redefining the address with
"new_address=$local_part@$domain" is that Exim seems to processes it as
though it were a different address. The result is directors get re-executed
a second time for the same address.

Normally this wouldn't be a problem, but it causes the header to be added
twice and auto-replies are issues twice.