Hi,

I'm added a header in a redirect router:


ldap_lists:
 driver = redirect
 allow_fail
 allow_defer
 condition = ${lookup ldap ...}
 data = ${lookup ldap ...}
 headers_add = X-DynList: Yes
 file_transport = address_file
 pipe_transport = address_pipe
 one_time = false

and I want to test this header in a subsequent router:

send_dynlist:
  driver = dnslookup
  condition = ${if match{$h_X-DynList:}{Yes}{1}{0}}
  transport = remote_smtp

Although I can see the header in the mail I'm receiving, it is not the
send_dynlist router by the one after it in the config file that
handled the mail.
A test with exim -d+all  show that the expansion of the header is
empty (but in the mail I receive, it is present!).

Any suggestion as to what I'm doing wrong?

Thanks

Raph

-- 
Web database: http://www.myowndb.com
Free Software Developers Meeting: http://www.fosdem.org

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

Reply via email to