🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #166688

Re: [Xnews] info -> changed Xnews.exe -> s/HELO/EHLO/g

#166688
From: John Wunderlich
Date: Fri, 13 May 2005 20:14
56 lines
3616 bytes
mez <mez@home.co> wrote in news:Xns96554A56B30Dzem@216.143.170.43:

> John Wunderlich <jwunderlich@lycos.com> wrote on 
> news:Xns9654D17712E11wunderpsdrscraytheon@216.196.97.142:
> 
>> mez <mez@home.co> wrote in news:Xns965471BC7A45zem@67.98.68.10:
>> 
>>> I could not authenticate SMTP because xnews was doing HELO
>>> instead of EHLO so i decided to substitute HELO for EHLO
>>> and it works fine now.
>>> Hope this comes handy to any of you.
>>> 
>>> Maybe a *bug* to correct, Luu... 
>>> 
>> 
>> "EHLO" implies to the SMTP server that the SMTP client supports a
>> number of protocol extensions that Xnews doesn't support and
>> never will (Luu wanted to write a NNTP client, not a SMTP
>> client).  That it works for you in your particular environment is
>> great but it can and will cause other problems for people with
>> other SMTP servers. 
>> 
>> -- John
>> 
> 
> But saying EHLO does not mean the client has to use other
> syntax for the rest of the dialog, it can use what it would 
> with HELO. The server needs to ear EHLO to allow the AUTH
> commands. 
> What problems do you think might happen by using EHLO?

For one, the simple presence of the EHLO requests that the server send 
a list of extensions that it supports.  This would be unexpected input 
to Xnews.  Since it apparently gets past this, it must ignore it 
somehow.  A long time ago, I had Luu fix a problem that occurred when 
one SMTP server sent a two-line welcome message.  At the time, Xnews 
was not smart enough to recognize the continuation line and the error 
wasn't recognized by Xnews until five commands down the line when Xnews 
claimed that a perfectly good server response was an error.  Luu fixed 
that problem but I also recognized how little robustness is in Xnews' 
SMTP client.

Since then (after Luu "retired"), I've had problems with some SMTP 
servers not interacting properly with Xnews.  I've solved this by 
installing a freeware ESMTP server, Xmail [naturally], on my machine 
which works with the old HELO and I use this server to accept Xnews' 
SMTP output and forward it on using the more standard EHLO protocol.  
It works like a champ since Xnews never has to authenticate to my own 
SMTP server and the ESMTP server has the smarts to properly interact 
with any other ESMTP server out there.

... what I won't do to hang on to Xnews...

Cheers,
  John
Technical Details
Message-ID: <Xns965586A01621wunderpsdrscraytheon@138.126.254.210>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!wns13feed!worldnet.att.net!207.115.63.142!newscon02.news.prodigy.com!prodigy.net!cyclone.swbell.net!bos-service1.raytheon.com!dfw-service2.ext.ray.com.POSTED!53ab2750!not-for-mail
References: <Xns965471BC7A45zem@67.98.68.10> <Xns9654D17712E11wunderpsdrscraytheon@216.196.97.142> <Xns96554A56B30Dzem@216.143.170.43>

Show Full Headers
Complete Article Headers
Message-ID: <Xns965586A01621wunderpsdrscraytheon@138.126.254.210>
Subject: Re: [Xnews] info -> changed Xnews.exe -> s/HELO/EHLO/g
Date: Fri, 13 May 2005 20:14:03 GMT
From: John Wunderlich <jwunderlich@lycos.com>
References: <Xns965471BC7A45zem@67.98.68.10> <Xns9654D17712E11wunderpsdrscraytheon@216.196.97.142> <Xns96554A56B30Dzem@216.143.170.43>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!wns13feed!worldnet.att.net!207.115.63.142!newscon02.news.prodigy.com!prodigy.net!cyclone.swbell.net!bos-service1.raytheon.com!dfw-service2.ext.ray.com.POSTED!53ab2750!not-for-mail
Newsgroups: news.software.readers
User-Agent: Xnews/??.01.14
Lines: 56
NNTP-Posting-Host: 147.16.85.34
X-Complaints-To: news@ext.ray.com
X-Trace: dfw-service2.ext.ray.com 1116015243 147.16.85.34 (Fri,
NNTP-Posting-Date: Fri, 13 May 2005 15:14:03 CDT
Organization: Raytheon Company