On Thu, Jun 23, 2011 at 12:52 AM, Wietse Venema <wie...@porcupine.org>wrote:
> Anoop Saldanha: > > On Wed, Jun 22, 2011 at 8:25 PM, Wietse Venema <wie...@porcupine.org> > wrote: > > > > > Anoop Saldanha: > > > > Hi, > > > > > > > > On checking postfix I see that it also accepts just LF as the line > > > > delimiter, instead of a strict CR-LF. Is this okay, since the rfc > says > > > that > > > > it should always be a CR-LF as the line delimiter? > > > > > > If Postfix enforced 100% RFC compliance, then it would not > > > be useful. > > > > > > When I implemented the SMTP server straight from RFC821, I found > > > that Postfix could not talk to lots of legitimate mail software. > > > > > > Over time, a extra code was added to Postfix so that it could talk > > > with legitimate systems, and not all this extra code has an "off" > > > switch. > > > > > > BTW this mailing list is for discussing of new postfix development. > > > Use postfix-users for general questions about Postfix. > > > > * Moving thread to postfix-users from postfix-devel > > > > Right. What are the valid line delimiters allowed by postfix? CR-LF is > > accepted, LF seems to be accepted without the need for a preceding CR, > but > > is CR without a LF a valid line delimiter? It seems postfix's state is > > being messed up on sending a CR without a LF. > > Postfix accepts mail that complies with the RFCs. Not all workarounds > are documented. This means, there is no promise that those workarounds > will always exist. People who use Postfix should rely only on the > behavior that is promised by the documentation. > > Wietse > -- Anoop Saldanha