From b755f33a9003da616a31c9f8896bedb63faef094 Mon Sep 17 00:00:00 2001 From: John Denker Date: Fri, 1 Jan 2016 11:14:44 -0700 Subject: revert some local improvemnts -- UNREVERT SOON --- qmail-smtpd.c | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'qmail-smtpd.c') diff --git a/qmail-smtpd.c b/qmail-smtpd.c index 0ec6fe9..582a695 100644 --- a/qmail-smtpd.c +++ b/qmail-smtpd.c @@ -270,17 +270,8 @@ void smtp_helo(arg) char *arg; } void smtp_ehlo(arg) char *arg; { - smtp_greet("250-"); out("\r\n"); - if (hostname && childargs) { -#ifdef AUTHCRAM - out("250-AUTH LOGIN CRAM-MD5 PLAIN\r\n"); - out("250-AUTH=LOGIN CRAM-MD5 PLAIN\r\n"); -#else - out("250-AUTH LOGIN PLAIN\r\n"); - out("250-AUTH=LOGIN PLAIN\r\n"); -#endif - } - out("250-PIPELINING\r\n250 8BITMIME\r\n"); + smtp_greet("250-"); + out("\r\n250-PIPELINING\r\n250 8BITMIME\r\n"); seenmail = 0; dohelo(arg); } void smtp_rset(arg) char *arg; @@ -431,7 +422,7 @@ void smtp_data(arg) char *arg; { if (qmail_open(&qqt) == -1) { err_qqt(); return; } qp = qmail_qp(&qqt); out("354 go ahead\r\n"); - + received(&qqt,"SMTP",local,remoteip,remotehost,remoteinfo,fakehelo); blast(&hops); hops = (hops >= MAXHOPS); -- cgit v1.2.3