Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to debug an exim configuration issue (Ubuntu) and I see lots of lines in the config such as:

   debug_print = "T: remote_smtp for $local_part@$domain"
   driver = smtp

However, I cannot figure out how to get the output of these statements. I've tried editing /etc/default/exim4 and adding various CLI parameters there such as -v, -d, -d+all and while they do have an effect, the debug_print lines are nowhere to be found (stderr,stdout,/var/log/exim4/mainlog).

How do enable and where do I then find the "T: remote_smtp for ..." output?

share|improve this question
up vote 1 down vote accepted

According to the exim docs

If this option is set and debugging is enabled (see `-d', `-v', and `debug_level'), 
then the string is expanded and included in the debugging output when the transport
is run.

You can verify this is working by running exim manually on the command line:

exim -d+all -bP transport remote_smtp

Did you try adding debug_level 1 to your exim config?

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.