Jesse Norell wrote:
I guess for now I'll have to make sure I read and copy the instream to a
buffered stream until eof *or*
<crlf>.<crlf> *before* I pass the stream to the parser...
I'm not familiar with the functions by name, but I'm guessing the _pipe
one is to read from command-line (dbmail-inject)? If so, a <crlf>.<crlf>
is valid in the message, and shouldn't flag end of message. SMTP (and
I'd imagine lmtp) escapes such lines on the fly, iirc, so you'd have to
know which mode you're in. (Just my $.015)
Sounds logical. I'll accomodate.
--
________________________________________________________________
Paul Stevens mailto:[EMAIL PROTECTED]
NET FACILITIES GROUP PGP: finger [EMAIL PROTECTED]
The Netherlands________________________________http://www.nfg.nl