Re: [exim] Debugging router "condition"

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Phil Pennock
Date:  
À: Marcin Krol
CC: exim-users
Sujet: Re: [exim] Debugging router "condition"
On 2007-12-20 at 13:20 +0100, Marcin Krol wrote:
> Is there any way to increase verbosity of debugging router condition? It's not
> enough in one complicated case I have - I need (incoming mail) router to skip
> one (outgoing) address and can't get it to work:


> Ye, this expression doesn't seem to work and I don't know any way of debugging
> this in expression debugging mode (exim -be):
>
> {${readfile{/home/${lookup{$domain}lsearch*{/etc/virtual/domainowners}
> {$value}}/.out}}}
>
> Anybody knows how to debug such conditions?


exim -d+expand

Exim's debugging is classified into named components. -d just gets you
the default set. This is documented in the command-line options section
of The Spec (so is in the Unix man-page too), if you would like to see
all the tunables.

You appear to want to debug what's happening inside string expansion,
thus +expand.

"exim -d+all" turns on almost all debugging; -d+all+memory turns on all
debugging but only developers should ever need to use that; -d+all is
suitable for "diving deep" into looking at what's going on, in intricate
detail.