Re: /usr/sbin/sendmail specification proposal, draft 3
On Wed, Nov 24, 1999 at 04:49:25PM -0800, Daniel Quinlan wrote:
> -bs Use the SMTP protocol as described in RFC 821. (Read
> SMTP commands on standard input and write SMTP responses
> on standard output.)
Note that almost always you don't want to precisely follow RFC 821 here
-- RFC 821 specifies \r\n line boundaries, but unix pipes almost always
want \n line boundaries.
Sendmail deals with this by silently discarding \r and respecting
unix line boundaries.
I don't know if there are any other "expected deviations" from 821.