[Mailman-Developers] mailman 2.0beta1 problem: Mail delivery failed: returning message to sender (fwd)

Harald Meland Harald.Meland@usit.uio.no
12 Apr 2000 17:09:07 +0200


[Barry A. Warsaw]

> I think I understand why you're getting output to stdout.  Look in
> scripts/post and change
> 
>     LogStdErr("error", "post")
> 
> to
> 
>     LogStdErr("error", "post", tee_to_stdout=0)
> 
> The question is, why haven't I seen this with Postfix?

I don't know Postfix, but Exim has a config option for what to do with
output generated by pipe deliveries:

  The `return_output' option can affect the result of a pipe delivery. If
  it is set and the command produces any output on its standard output or
  standard error files, it is considered to have failed, even if it gave
  a zero return code or if `ignore_status' is set. The output from the
  command is sent as part of the delivery failure report. However, if
  `return_fail_output' is set, output is returned only when the command
  exits with a failure return code, that is, a value other than zero or a
  code that matches `temp_errors'.

I guess Gergely has set `return_output' on his Exim transport.  Maybe
something similar exists for Postfix?
-- 
Harald