From: Wietse Venema Date: Sun, 21 Jan 2001 05:00:00 +0000 (-0500) Subject: postfix-20010121 X-Git-Tag: v20010228~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f908e985b81c987d0a1d138331c717a10c5752e2;p=thirdparty%2Fpostfix.git postfix-20010121 --- diff --git a/postfix/HISTORY b/postfix/HISTORY index c0068c88d..b254bea66 100644 --- a/postfix/HISTORY +++ b/postfix/HISTORY @@ -4742,3 +4742,8 @@ Apologies for any names omitted. machine was an MX host for the final destination. Result: mailer loop. Found by Laurent Wacrenier (teaser.fr). Files: smtp/smtp_connect.c, smtp/smtp_addr.c. + +20010121 + + Workaround: Lotus Domino 5.0.4 violates RFC 2554 and replies + to EHLO with AUTH=LOGIN. File: smtp/smtp_proto.c. diff --git a/postfix/src/smtp/smtp_proto.c b/postfix/src/smtp/smtp_proto.c index 4a65146b0..c9b0a54e8 100644 --- a/postfix/src/smtp/smtp_proto.c +++ b/postfix/src/smtp/smtp_proto.c @@ -226,6 +226,8 @@ int smtp_helo(SMTP_STATE *state) #ifdef USE_SASL_AUTH else if (var_smtp_sasl_enable && strcasecmp(word, "AUTH") == 0) smtp_sasl_helo_auth(state, words); + else if (var_smtp_sasl_enable && strncasecmp(word, "AUTH=", 5) == 0) + smtp_sasl_helo_auth(state, word + 5); #endif else if (strcasecmp(word, var_myhostname) == 0) { msg_warn("host %s replied to HELO/EHLO with my own hostname %s", diff --git a/postfix/src/smtp/smtp_sasl_proto.c b/postfix/src/smtp/smtp_sasl_proto.c index f38182365..2e1625a7f 100644 --- a/postfix/src/smtp/smtp_sasl_proto.c +++ b/postfix/src/smtp/smtp_sasl_proto.c @@ -73,7 +73,7 @@ void smtp_sasl_helo_auth(SMTP_STATE *state, const char *words) { - +msg_info("smtp_sasl_helo_auth: words=\"%s\"", words); /* * XXX If the server offers a null list of authentication mechanisms, * then pretend that the server doesn't support SASL authentication.