>You need two pipes to send information to qmail-queue. In which order
>are you writing and closing them?
>
>qmail-queue reads the mail message first from descriptor 0--it reads
>all data until the pipe is closed. Then it reads the address
>information from descriptor 1. The error you are describing is
>exactly what would happen if you write more than PIPE_BUF bytes (often
>10240) to descriptor 1 before you close descriptor 0 after writing the
>message to it.
Exactly--that's it. I was closing descriptor 0 only after I finishing writing
to descriptor 1.
Is this perhaps appropriate for the qmail-queue manpage or FAQ?
Thanks for your help.
-Jeff