Re: [exim] debug query

Góra strony
Delete this message
Reply to this message
Autor: carinus.carelse
Data:  
Dla: exim-users
Temat: Re: [exim] debug query
I have tried to apply the debug changes but I get an error when i try to
restart my exim in my debug log file.

5:20:37 12314 Exim configuration error in line 673 of
/usr/exim/configure:
15:20:37 12314 authenticator name missing
15:20:37 12314 search_tidyup called
15:20:37 12314 >>>>>>>>>>>>>>>> Exim pid=12314 terminating with rc=1
>>>>>>>>>>>>>>>>



My line 673 is where I have put in a the .ifdef that was in the previous
post.

Carinus




Tony Finch <dot@???>
Sent by: exim-users-bounces@???
2005/04/04 12:28
Please respond to
exim-users@???


To
carinus.carelse@???
cc
exim-users@???
Subject
Re: [exim] debug query






On Mon, 4 Apr 2005 carinus.carelse@??? wrote:

> Can I set exim to log debug information in the log file. Currently i

only
> see completed is there any way to set verbose logging in the configure
> file.


No, debug information only goes to stderr.

What I do to make debugging slightly more manageable is to have a clause
in my Exim startup script equivalent to the following, so I can say
DEBUG=yes /etc/rc.d/rc.exim restart

case $DEBUG in
yes)             exim -bd -q5m -DDEBUG -d+all-memory </dev/null 

>>/var/spool/exim/log/debuglog 2>&1 &"

                 ;;
*)               exim -bd -q5m
                 ;;
esac


The -DDEBUG clause turns on verbose logging via an ifdef clause in the
configuration file. (My usual logging options are very customized.)

.ifdef DEBUG
log_selector             = +all
.else
log_selector             = -retry_defer -skip_delivery -host_lookup_failed 
\
                                   +incoming_interface +incoming_port 
+smtp_confirmation \
                                   +sender_on_delivery 
+return_path_on_delivery +delivery_size \
                                   +received_recipients +all_parents 
+address_rewrite \
                                   +tls_certificate_verified +tls_peerdn \
                                   +smtp_protocol_error +smtp_syntax_error 
\
                                   +deliver_time +queue_time \
                                   -lost_incoming_connection
.endif


Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}

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