From 158e16e040750098c5ceb3b39063ded3fff5a096 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 22 Jan 1997 23:21:46 +0000 Subject: General ESMTP support seems pretty good now. svn path=/trunk/; revision=805 --- driver.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'driver.c') diff --git a/driver.c b/driver.c index b9b98cd7..88a54cbd 100644 --- a/driver.c +++ b/driver.c @@ -362,6 +362,10 @@ static FILE *smtp_open(struct query *ctl) ctl->server.names->id, &lead->server.esmtp_options) != SM_OK) { + /* + * RFC 1869 warns that some listeners hang up on a failed EHLO, + * so it's safest not to assume the socket will still be good. + */ fclose(lead->smtp_sockfp); lead->smtp_sockfp = (FILE *)NULL; } -- cgit v1.2.3