List:
> > If you really want your own queue, you can do that of course, but
> > it is not clear why you would.
> 
> The script itself handles persistence of the message.  Is postfix even 
> capable of being configured to hand off a message via the pipe and 
> return immediately or is it always going to wait for the script to 
> complete?  If that is the case I could always use a bash script that 
> calls the main script and fork it to a subshell for immediate return.

Postfix implements the pipe-to-command interface, This is not
a Postfix invention; many MTAs implement the same interface.

This pipe-to-command interface requires that the sender waits for
the receiver's exit status code.  

Besides requiring an exit status code, Postfix also requires that
the receiving program closes stdout as well as stderr.

So you have to queue the message, close stdout and stderr as
inherited from Postfix, and exit (perhaps after fork()).

        Wietse

Reply via email to