Re: piped transports error message

2009-09-10 Thread Wietse Venema
Marcel Montes: > What does postfix actually add to the bounce message? > The STDERR output if the return status is not 0? Postfix absorbs stdout and stderr. There is some information in the pipe(8) man page, but it is not complete. Wietse DIAGNOSTICS Command exit status codes

Re: piped transports error message

2009-09-09 Thread Marcel Montes
Wietse Venema さんは書きました: I have a suggestion. When the script fails, don't lose control and spill the guts all over the place. Instead, catch the error and report an appropriate response. Yes, that's the ideal thing to do. In fact I'm doing it. What I'm actually doing wrong is being lazy and de

Re: piped transports error message

2009-09-09 Thread Marcel Montes
Sahil Tandon さんは書きました: AFAIK, hiding the error output is not configurable. Concealing important portions of the DSN seems silly and might even be a violation of RFC 3464 (something you might or might not care about). I've checked the RFC, and about RFC3462 (about the report format) and I thin

Re: piped transports error message

2009-09-07 Thread Wietse Venema
Sahil Tandon: > On Mon, 07 Sep 2009, Marcel Montes wrote: > > > I have a transport that pipes to a perl script. Everything is fine and > > dandy, but whenever the script fails the whole perl error message > > gets appended right after the failure_template message. > > > > I've checked bounce(5),

Re: piped transports error message

2009-09-07 Thread Sahil Tandon
On Mon, 07 Sep 2009, Marcel Montes wrote: > I have a transport that pipes to a perl script. Everything is fine and > dandy, but whenever the script fails the whole perl error message > gets appended right after the failure_template message. > > I've checked bounce(5), bounce(8), and pipe(8), and

piped transports error message

2009-09-07 Thread Marcel Montes
Hello, I have a transport that pipes to a perl script. Everything is fine and dandy, but whenever the script fails the whole perl error message gets appended right after the failure_template message. I've checked bounce(5), bounce(8), and pipe(8), and although I admit that I haven't read thoroughl