Hi Wietse, That was just the anwer i hoped for. Is this something where we need to officially request it? Or do we need to implement this our selfs? In the mean time I wil checkout the code for the pipe process to have a look.
Thanks for the help. Kind regards, Marchel. Op woensdag 23 september 2015 heeft Wietse Venema <wie...@porcupine.org> het volgende geschreven: > Marchelh: > > Hi there, > > > > Is it possible to pass SMTP command information > > Such as ENVID( part of mail from) command to > > a piped script? The only way to pass this information > > is via network connection such as the use of the before > > queue filter(used for example for spamassessin). But > > Then you have to completly implement the SMTP protocol > > which for a script is a bit of overkill. So my question, > > is basically, is there any option to enable the pass of this > > information via a piped script? > > It's not implemented in the Postfix pipe daemon, but it would take > only two lines of code (and two lines of manpage text) to add $envid > support, in the same way as the existing $sender, $recipient, etc.. > > Wietse >