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?

- Fred

I'm getting two headers. The idea is to not add a second one if it's already there.


--
Marc Perkel - [EMAIL PROTECTED]

Spam Filter: http://www.junkemailfilter.com
   My Blog: http://marc.perkel.com


--
## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to