diff options
author | John Denker <jsd@av8n.com> | 2016-01-01 11:14:44 -0700 |
---|---|---|
committer | John Denker <jsd@av8n.com> | 2016-01-01 16:33:13 -0800 |
commit | b755f33a9003da616a31c9f8896bedb63faef094 (patch) | |
tree | 0cabd076bc719ba87f7fb493a92a8f20b9cb02d2 | |
parent | 272a641adacfd9605dae4be17bf87c19252e7d09 (diff) |
revert some local improvemnts -- UNREVERT SOON
-rw-r--r-- | qmail-smtpd.c | 15 |
1 files changed, 3 insertions, 12 deletions
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); |