Re: [Exim] debug_print <- does it support multiple variables…

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Keith Goettert
CC: exim-users
Subject: Re: [Exim] debug_print <- does it support multiple variables?
On Wed, 16 Jul 2003, Keith Goettert wrote:

> My statement looks like this. I have also tried it with spaces and
> colons...
>
> debug_print =
> $domain,$local_part,$sender_address_domain,$sender_address_local_part


Assuming that is all on one line, it is fine. I've just tested it.

> all I get for output is      domain = wilson.alistmail.net (which is
> correct)     but all the other vars don't print.


domain = wilson.alistmail.net is NOT output from this statement. You
haven't got the text "domain = " in the debug_print argument.

>     --------> sender2user router <--------
>     local_part=keith domain=wilson.alistmail.net
>     wilson.alistmail.net:keith::
>     calling sender2user router
>     sender2user router called for keith@???
>       domain = wilson.alistmail.net  <---------  I assume that this is
>     the debug statement


No, it isn't.

>     set transport local_delivery
>     queued for local_delivery transport: local_part = keith
>     domain = wilson.alistmail.net
>       errors_to=NULL
>       domain_data=NULL localpart_data=NULL
>     routed by sender2user router
>       envelope to: keith@???
>       transport: local_delivery
>      >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>


Which release of Exim? I tried this on the current release, and had no
problem. Are you sure the test you ran was using the configuration file
that you thought it was?



--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book