Mathias Tausig:
> Hy!
> 
> I want to write an after-queue content filter for my postfix
> installation which is invoked by spawn (according to the FILTER_README
> from postfix.org).
> 
> My problem is, that the input/output part simply does not work. I am
> sending a "220 localhost SMTP foo" to STDOUT at the beginning of the
> script, but somehow, this never reaches the SMTP client in a correct
> way. Has anyone ever managed to accomplish such a soultion?

This is an output buffering problem. You need to flush output
after each reply, perhaps by calling the flush() function.

        Wietse

Reply via email to