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 need to debug a python script which is used in the exim transport pipe command. i already tried log_output but it logs only first line of the output returned by the python script which is a traceback error.

driver = pipe
command = /usr/bin/python /path/to/
group = mail
user = mail

i want to see full trackback error in mainlog in order to debug it. how to do that?

share|improve this question

You could try the return_output directive

return_output (pipe)

Type: boolean Default: false

If this option is true, and the command produced any output, the delivery is deemed to have failed whatever the return code from the command, and the output is returned in the delivery error message. Otherwise, the output is just discarded. However, if the message has a null sender (that is, it is a delivery error message), output from the command is always discarded, whatever the setting of this option.

share|improve this answer
i was looking for output to be logged in logfile. but i got command output in the bounce mail(undelivered mail returned to sender).its enough.thankyou – hebrew878 Feb 12 '14 at 8:20

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.