🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #166691

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

#166691
From: mez
Date: Fri, 13 May 2005 21:46
70 lines
3949 bytes
John Wunderlich <jwunderlich@lycos.com> wrote on 
news:Xns965586A01621wunderpsdrscraytheon@138.126.254.210:

> 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
> 
> 

I see what you mean, but it looks like xnews is not paying 
attention to what the server answers he just waits and then 
starts the auth process after the "250" lines (if you define 
user / password).
Anyway, it was only a suggestion...

Greetings,

mez
Technical Details
Message-ID: <Xns9655E7402FD39zem@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!news.astraweb.com!news-router1.astraweb.com!not-for-mail
References: <Xns965471BC7A45zem@67.98.68.10> <Xns9654D17712E11wunderpsdrscraytheon@216.196.97.142> <Xns96554A56B30Dzem@216.143.170.43> <Xns965586A01621wunderpsdrscraytheon@138.126.254.210>

Show Full Headers
Complete Article Headers
Message-ID: <Xns9655E7402FD39zem@216.143.170.43>
Subject: Re: [Xnews] info -> changed Xnews.exe -> s/HELO/EHLO/g
Date: Fri, 13 May 2005 21:46:18 +0000
From: mez <mez@home.co>
References: <Xns965471BC7A45zem@67.98.68.10> <Xns9654D17712E11wunderpsdrscraytheon@216.196.97.142> <Xns96554A56B30Dzem@216.143.170.43> <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!news.astraweb.com!news-router1.astraweb.com!not-for-mail
Newsgroups: news.software.readers
Organization: none
User-Agent: Xnews/??.01.30
X-No-Archive: yes
Lines: 70
NNTP-Posting-Host: 1924d22d.news.astraweb.com
X-Trace: DXC=XHVYLlXBhhQ?W?WaA<e5APL?0kYOcDh@ZHE]PjV[5m6Q]_]FC[JGLkXGbGD1Xn_Q6UKB^4_KXcHn]T7UeY<V`1CQ