Re: [exim] This should be simple but ...

Top Page
Delete this message
Reply to this message
Author: Dean Brooks
Date:  
To: exim-users
Subject: Re: [exim] This should be simple but ...
On Fri, Sep 16, 2005 at 09:17:09AM -0700, Marc Perkel wrote:

> warn    message    = X-Mail-from: $sender_address
>        !condition = ${if def:h_X-Mail-from:}

>
> It still adds a second one if the header is already there.


Are you *ever* going to post the entire ACL that this statement is in
so that people can attempt to help you?

This is not difficult, but we can't even begin to help you troubleshoot
without seeing the context that it is in.

The following statement is directly from my DATA ACL and works
wonderfully:

  warn condition = ${if !def:header_x-foreign-sender:}
       message = X-Foreign-Sender: $sender_host_address


If the equivalent is not working for you, it has something to do
with which ACL you are putting it in and where in that ACL it has
been placed.

--
Dean Brooks
dean@???