On Thu, Feb 2, 2012 at 9:06 AM, Ben Noordhuis <[email protected]> wrote:

>
> Matt, .stdin and .stdout *are* pipes on Unices - but they're pipes
> that have their respective read and write ends closed.
>

Yeah, of course. I guess the only way to do it is to make them a
socketpair() instead?


> It seems rather daft for a program to try to read from STDOUT_FILENO.
> Why does qmail work that way?
>

Because it's stupid? ;-)

I guess partly because it's a "safer" way to get the envelope data
(mail_from, rcpt_to etc) than using argv (?). But yeah I'm not arguing that
it's smart, but I have to use/support it.

Matt.

Reply via email to