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

Top Page
Delete this message
Reply to this message
Author: Fred Viles
Date:  
To: exim-users
Subject: Re: [exim] This should be simple but ...
On 15 Sep 2005 at 21:57, Marc Perkel wrote about
    "Re: [exim] This should be simple bu":


| Fred Viles wrote:
| 
| >On 15 Sep 2005 at 21:07, Marc Perkel wrote about
| >    "[exim] This should be simple but ..":
| >
| >| I want to add this header only if it's not already there. This code 
| >| should work - but it doesn't. :(
| >
| >Define "doesn't work".  You get two headers?  No headers?
| >
| >| warn    message    = X-Mail-from: $sender_address
| >|         condition = ${if eq{$h_X-Mail-from:}{}}
| >
| >Looks OK, out of context.  Which ACL is it in (must be MIME or 
| >later)?  Is the test message already acted on by an earlier 
| >accept/deny/drop?

|...
| I'm getting two headers.

|...

OK. That means the stanza is being acted on at least once (assuming
the original message didn't have multiple headers). So that leaves
the other question: what ACL is this stanza in? It should be in the
DATA ACL.

- Fred