我正在尝试调试exim配置问题(Ubuntu),我在配置中看到很多行,例如:
remote_smtp: debug_print = "T: remote_smtp for $local_part@$domain" driver = smtp
但是,我无法弄清楚如何获得这些语句的输出.我已经尝试编辑/ etc / default / exim4并在其中添加各种CLI参数,例如-v,-d,-d all,虽然它们确实有效,但是无法找到debug_print行(stderr,stdout,/无功/日志/ exim4的/ mainlog).
如何启用,然后在哪里找到“T:remote_smtp for …”输出?
根据
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.
您可以通过在命令行上手动运行exim来验证这是否正常工作:
exim -d+all -bP transport remote_smtp
您是否尝试将debug_level 1添加到exim配置中?