Re: Postfix Ignoring Exit Status Code

2016-05-31 Thread Wietse Venema
Brad S Konia: > The last line in the myrelay script is an exit command, either > exit(0) or exit(77), etc... I also tried outputting an enhanced > status code like 5.X.X prior to the exit statement, but it seemed > to make no difference. As documented in the pipe(8) manpage: In the case of a N

Re: Postfix Ignoring Exit Status Code

2016-05-30 Thread Viktor Dukhovni
On Mon, May 30, 2016 at 03:13:33PM -0700, Brad S Konia wrote: > I have Postfix configured to pipe certain emails to a PHP script. This > script then does something with the email and returns an exit code 0 if > successful, or some exit code > 64 if a failure occurs. The problem is, > Postfix seems

Postfix Ignoring Exit Status Code

2016-05-30 Thread Brad S Konia
I have Postfix configured to pipe certain emails to a PHP script. This script then does something with the email and returns an exit code 0 if successful, or some exit code > 64 if a failure occurs. The problem is, Postfix seems to ignore the exit code. No matter what exit code it returns, the P