🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #78998

Re: X-News --> can't send mail --> error 501 Invalid address????

#78998
From: John Wunderlich
Date: Mon, 21 May 2001 20:17
42 lines
2771 bytes
[posted and mailed]

itsmeagain@kscable.com (itsmeagain) wrote in
news:Xns90A6852AE3D22biggleflip@24.94.170.10: 

> I put in the smtp server name, same as in outlook express, but when I
> try to send, I get "error 501 Invalid address". 
> I have tried everything I can think of, any ideas??
> 
> thanks 
> Mike B. pcrider(removethis)@kscable.com

Well, I have documented a problem with Xnews' SMTP handshaking where it 
does not follow RFC-821 protocol when it comes to multi-line server 
responses.  According to RFC-821, if the server wants to send a multi-line 
response, the three-digit numeric code is followed immediately by a hyphen 
as in:
     123-First line
     123-Second line
     123-234 text beginning with numbers
     123 The last line
If these kinds of lines are present, Xnews ignores all of this and gets 
out-of-sequence with its responses which can cause any of several different 
kinds of errors.  For example, in my case, I get the "error":

   250 <user@location.com>... Recipient ok..

I noticed this problem when our company installed new SMTP servers and they 
[the servers] welcomed users with these multi-line responses.  Now I can 
only get Xnews to email by using an [older] open-relay SMTP server.  
Perhaps this is your problem, too.  To find out if this is your problem, 
you'll have to capture some packets going in/out of your machine and 
examine the exchanges.  

I complained about this once before on this news group, but apparently this 
is not a priority problem to be fixed... even though the trivial fix is to 
simply ignore all responses of the form ^[1-9][0-9][0-9]-   .

Good Luck,
   John

Technical Details
Message-ID: <Xns90A887413B8E1wunderpsdrscraytheon@138.125.254.200>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!cambridge1-snf1.gtei.net!news.gtei.net!bos-service1.ext.raytheon.com!bos-service2.ext.raytheon.com.POSTED!not-for-mail
References: <Xns90A6852AE3D22biggleflip@24.94.170.10>

Show Full Headers
Complete Article Headers
Message-ID: <Xns90A887413B8E1wunderpsdrscraytheon@138.125.254.200>
Subject: Re: X-News --> can't send mail --> error 501 Invalid address????
Date: Mon, 21 May 2001 20:17:46 GMT
From: jwunderlich@mailcity.com (John Wunderlich)
References: <Xns90A6852AE3D22biggleflip@24.94.170.10>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!cambridge1-snf1.gtei.net!news.gtei.net!bos-service1.ext.raytheon.com!bos-service2.ext.raytheon.com.POSTED!not-for-mail
Newsgroups: news.software.readers
User-Agent: Xnews/4.05.11
Lines: 41
NNTP-Posting-Host: 147.16.160.44
X-Complaints-To: news@ext.ray.com
X-Trace: bos-service2.ext.raytheon.com 990476266 147.16.160.44 (Mon, 21 May 2001 16:17:46 EDT)
NNTP-Posting-Date: Mon, 21 May 2001 16:17:46 EDT
Organization: Raytheon Company