Path: utzoo!attcan!uunet!aplcen!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!mips!twg.com!david From: david@twg.com (David S. Herron) Newsgroups: comp.mail.sendmail Subject: Re: No '250 Ok' sendmail problem Message-ID: <7516@gollum.twg.com> Date: 9 Jul 90 18:16:53 GMT References: <39824@mips.mips.COM> Reply-To: david@twg.com (David S. Herron) Organization: The Wollongong Group, Palo Alto, CA Lines: 28 In article <39824@mips.mips.COM> koblas@mips.COM (David Koblas) writes: >I'm looking for ideas, sudgestions, or solutions... The problem that >I'm having is that sendmail very nicely delivers a mail message >but then does not receive an '250 Ok' message after it sends the >'.' for the DATA. After some quick checking the problem very clearly >is that in reply() -> sfgets() -> fgets() does not pick up the final >line from the message. > >This strikes me more as a problem with sockets/stdio not sendmail, but >I'm currious if other people have run into the problem. There is a window of vulnerability between sending the text of the message followed by the final '.' and the return of the status message from the other end. The vulnerability comes about because the sending end shouldn't dequeue the message until it receives a positive response. But the receiving end has a complete message in hand and will assumably try to deliver it.. It might have even sent the '250 OK' response and the network inbetween simply loses track of the connection due to some unfortunate coincidence. If I remember right there's an RFC on the subject written by Craig Partridge. -- <- David Herron, an MMDF weenie, <- Formerly: David Herron -- NonResident E-Mail Hack <- <- Sign me up for one "I survived Jaka's Story" T-shirt!