From f051576cdeffa1d28040afb0d394a77b81b3dd6d Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Thu, 28 Jun 2007 15:05:40 +0000 Subject: [PATCH] Wait for "250 " instead of " OK" for SMTP server in EHLO mode. SVN revision: 1871 --- src/elogd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/elogd.c b/src/elogd.c index 15c1ff98..bd8fc46a 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -2245,7 +2245,7 @@ int sendmail(LOGBOOK * lbs, char *smtp_host, char *from, char *to, char *text, c write_logfile(lbs, str); if (!check_smtp_error(str, 250, error, error_size)) goto smtp_error; - } while (stristr(str, " OK") == NULL); + } while (stristr(str, "250 ") == NULL); } else {