From: Jeremy Harris Date: Sun, 5 Nov 2023 23:19:31 +0000 (+0000) Subject: Docs: requirements for transport filter processes X-Git-Tag: exim-4.98-RC0~136 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/04ca1e01ae03635b4db610424859583917727c6c?ds=inline Docs: requirements for transport filter processes --- diff --git a/doc/doc-docbook/spec.xfpt b/doc/doc-docbook/spec.xfpt index f856af346..5a757c4ed 100644 --- a/doc/doc-docbook/spec.xfpt +++ b/doc/doc-docbook/spec.xfpt @@ -22792,8 +22792,11 @@ If unset, or expanding to an empty string, no filtering is done. When the message is about to be written out, the command specified by &%transport_filter%& is started up in a separate, parallel process, and the entire message, including the header lines, is passed to it on its standard -input (this in fact is done from a third process, to avoid deadlock). The -command must be specified as an absolute path. +input (this in fact is done from a third process, to avoid deadlock). +The command must be specified as an absolute path. + +The process run by the command must use its standard input as the message +data to be transformed, and write the results on its standard output. The lines of the message that are written to the transport filter are terminated by newline (&"\n"&). The message is passed to the filter before any