On Fri, 31 Aug 2012 13:56:12 +0900
Nathan Findley <[email protected]> wrote:

> When CHILD calls exec how is it that sendmail able to find the
> message data on STDIN?

The UNIX execve system call (which is ultimately what Perl's exec boils
down to) leaves all open file descriptors alone.  So the original forked
child's stdin becomes sendmail's stdin.

Regards,

David.
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to