Hello, I have a few chained content filters based on pipe, so when the first script ends its task, it sends the processed headers to the second script and so on.
It is clear how to get the content back to Postfix as an input, using the sendmail command. My question is how can the last content filter tell to Postfix that the message has been put on hold, has been temporarily or permanently rejected? When one has just one content filter I know that it's enough to print the command using some sprintf-like function, but I don't know how to do it when there are many chained content filters. Any idea? Thank you.