🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #184255

[Xnews] SMTP problems

#184255
From: Sebastian Suchanek
Date: Sat, 29 Apr 2006 14:32
79 lines
4840 bytes
Hi everybody!

For several years, I've now been using Xnews and I've been
content with it. Thanks, Luu! :-)

But unfortunately, I've run into a problem recently, which I
can't fix myself, I'm afraid: 
I've set up an Exim mail server on my private linux box in an
effort to get rid of Hamster on my desktop machine. Exim is
working well, but Xnews gives me some troubles: It won't be
able to send mail replies via Exim. 

I've done some troubleshooting and came up with the following
(this a Exim debugging log from an SMTP session with Xnews): 

| [...]
| 20792 Listening...
| 20795 DNS lookup of 1.1.1.10.in-addr.arpa (PTR) succeeded
| 20795 IP address lookup yielded rodgeryoung.suchanek.lan
| 20795 gethostbyname2(af=inet6) returned 4 (NO_DATA)
| 20795 gethostbyname2 looked up these IP addresses:
| 20795   name=rodgeryoung.suchanek.lan address=10.1.1.1
| 20795 checking addresses for rodgeryoung.suchanek.lan
| 20795   10.1.1.1 OK
| 20795 sender_fullhost = rodgeryoung.suchanek.lan [10.1.1.1]
| 20795 sender_rcvhost = rodgeryoung.suchanek.lan ([10.1.1.1])
| 20795 set_process_info: 20795 handling incoming connection from rodgeryoung.suchanek.lan [10.1.1.1]
| 20795 host in host_reject_connection? no (option unset)
| 20795 host in sender_unqualified_hosts? no (option unset)
| 20795 host in recipient_unqualified_hosts? no (option unset)
| 20795 host in helo_verify_hosts? no (option unset)
| 20795 host in helo_try_verify_hosts? no (option unset)
| 20795 host in helo_accept_junk_hosts? no (option unset)
| 20795 SMTP>> 220 tigersclaw.suchanek.lan ESMTP Exim 4.50 Fri, 28 Apr 2006 22:15:33 +0200
| 20795 Process 20795 is ready for new message
| 20795 smtp_setup_msg entered
| 20795 SMTP<< HELO 10.1.1.1
| 20795 sender_fullhost = rodgeryoung.suchanek.lan (10.1.1.1) [10.1.1.1]
| 20795 sender_rcvhost = rodgeryoung.suchanek.lan ([10.1.1.1] helo=10.1.1.1)
| 20795 set_process_info: 20795 handling incoming connection from rodgeryoung.suchanek.lan (10.1.1.1) [10.1.1.1]
| 20795 SMTP>> 250 tigersclaw.suchanek.lan Hello rodgeryoung.suchanek.lan [10.1.1.1]
| 20795 SMTP<< AUTH LOGIN
| 20795 LOG: smtp_protocol_error MAIN
| 20795   SMTP protocol error in "AUTH LOGIN" H=rodgeryoung.suchanek.lan (10.1.1.1) [10.1.1.1] AUTH command used when not advertised
| 20795 SMTP>> 503 AUTH command used when not advertised
| 20795 SMTP>> 421 tigersclaw.suchanek.lan lost input connection
| 20795 LOG: smtp_connection MAIN
| 20795   SMTP connection from rodgeryoung.suchanek.lan (10.1.1.1) [10.1.1.1] lost
| 20795 search_tidyup called
| 20792 child 20795 ended: status=0x100
| 20792 0 SMTP accept processes now running
| [...]

Wrapping it up, Xnews starts its SMTP dialogue with a HELO
command, which leads Exim to /not/ advertise additional
options and therefore not accepting a following AUTH command.
(Which seems, as far as I've understood it, perfectly good
behavior according to RfC 821.) 

In order to use SMTP-AUTH according to RfC 2554, the clients
seems to be expected to use the EHLO command (ESMTP, RfC
1869) at the start of the session instead.

So: would it be possible to teach Xnews some better SMTP
behavior? :-)

Copy'n'pasting messages to my mail client in order to write a
mail reply is rather tedious and for security reasons, I
wouldn't like opening Exim for relaying - even for a single
client.


TIA,

Sebastian

-- 
http://www.baumaschinen-modelle.net
http://www.schwerlast-rhein-main.de
Technical Details
Message-ID: <e304db.35c.1@suchanek.de>
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.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <e304db.35c.1@suchanek.de>
Subject: [Xnews] SMTP problems
Date: Sat, 29 Apr 2006 16:32:31 +0200
From: Sebastian Suchanek <sebastian.suchanek@gmx.de>
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.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail
Newsgroups: news.software.readers
Organization: T-Online
Lines: 79
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: news.t-online.com 1146321174 00 25260 V3iivm3rPq-TMVi 060429 14:32:54
X-Complaints-To: usenet-abuse@t-online.de
X-ID: ThTjivZbQex3ymRQLkeBfk6hgeFeIoYqJwZWwXlkdGIqzZQcK7A-kW
X-Posting-Agent: Hamster/1.3.23.1
User-Agent: Xnews/2005.10.18 Mime-proxy/1.4.c.1 (Win32)
X-Face: //SzobV}i|*=Ael([X.`2mqbxR)[{/\,EZ%&hMI`Hh:)K3g>hCB/hs\3(,v%=vu|Aug"0>Uql/*1KlD^BRTd@D2&3p~kY$/7^,{N<HC`jeymVYHgBa4v`^0;
 %Ep47Zc3.rUTNMK}3]MO0JRp8gB!t"?K=twH=(Qa>{w<v\*.o~[Kd."gt&vGqX7M1%{tHQAUsbfR<Q?aC|<w_FGpQ~D4{/HtI\BU5H~(5XXy(7g@~^q73-gERW!XR[g-Imghu.DB4R^_%Z7`z-AE~B\g\!#
X-KorrNews: Used
X-Complaints: webmaster@suchanek.de