Re: [Exim] debugging with -d

Top Page
Delete this message
Reply to this message
Author: Adam D. Barratt
Date:  
To: exim-users
Subject: Re: [Exim] debugging with -d
On Thursday, July 08, 2004 2:08 PM, Norman H. Azadian <naz@???> wrote:

> The -d option, used with any value except 0, hangs for me. When I
> start it
> with:
>
> /usr/lib/exim/exim3 -bd -q30m -d9 2>/var/log/exim/debuglog
>
> it never returns. With -d0, or without the -d, it does.

[...]
> My guess is that debugging is an option which isn't compiled in for
> Debian,
> but I don't think that's mentioned in the documentation.


Debugging *is* enabled in the Debian packages (more precisely, the
maintainer hasn't needlessly patched the code to disable it). The problem is
indeed one of documentation, namely a lack of reading it. :) exim(8) says:

<quote>
    -bd    Run  Exim  as a daemon, awaiting incoming SMTP con­
              nections. This option can be used only by an  admin
              user.  If  either of the -d or -dm options are set,
              the daemon does not disconnect from the controlling
              terminal.
</quote>


I'm assuming that's what you're referring to as "hangs" and "never returns".
If so, that's expected and documented behaviour. If not, could you please be
more specific as to the symptoms you're experiencing.

Regards,

Adam