Re: ENVID command information passed to piped script

2015-09-23 Thread Wietse Venema
Marchel Hooijboer: > 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. You can give it a try. You define a PI

Re: ENVID command information passed to piped script

2015-09-23 Thread Marchel Hooijboer
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

Re: ENVID command information passed to piped script

2015-09-23 Thread Wietse Venema
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

Re: ENVID command information passed to piped script

2015-09-22 Thread Marchelh
Hi Ken Peng, More or less you are correct, it would be possible to implement this in python/perl. However, this would mean that I have to implement a complete SMTP Command interpreter for only getting some meta data from the postfix smtpd command session. What I think is strange is that this en

Re: ENVID command information passed to piped script

2015-09-22 Thread Ken Peng
If I understand for you correctly, using a shell script to do this stuff is hard, but with a python/perl script it's much easier. On 2015/9/23 ζ˜ŸζœŸδΈ‰ 2:54, Marchelh wrote: Is it possible to pass SMTP command information Such as ENVID( part of mail from) command to a piped script? The only way to p

ENVID command information passed to piped script

2015-09-22 Thread 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 impl