[exim] headers added by router seen by subsequent routers?

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Raphael Bauduin
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [exim] headers added by router seen by subsequent routers?
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