I'm trying to debug an exim configuration issue (Ubuntu) and I see lots of lines in the config such as:
remote_smtp:
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?
I, as well was not able to see any additional info by modifying
/etc/default/exim4
, and addingdebug_level 1
in my configuration file was erroring out.What worked for me was running exim4 in foreground using the same command line parameters that Debian/Ubuntu starts it with and adding
d+all
to it:Now start exim in foreground, note you have to add spaces between the parameters:
According to the exim docs
You can verify this is working by running exim manually on the command line:
Did you try adding
debug_level 1
to your exim config?