On Fri, Jan 19, 2018 at 08:05:49PM +0100, Ralph Seichter wrote: > "Relaying" implies passing mail to another server via network. Also, I > have no idea why you would not want Postfix to do its job, but anyway: > Postfix can pass incoming mail to a binary during local delivery. You > can for example set up an alias (http://www.postfix.org/aliases.5.html): > > # /etc/aliases > mybinary: |/path/to/binary
No, that's not the right mechanism here. A pipe(8) transport is the more sensible approach. -- Viktor.