🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #57703

Re: Invalid Sender when Posting in RTIN

#57703
From: Alan Mackenzie
Date: Fri, 04 Feb 2000 00:00
38 lines
2664 bytes
avenger852@my-deja.com wrote:
>  When trying to post a message in TIN (actually rtin) with @Home under
> RedHat Linux 6.1, it gives me an 'invalid sender' message.  It gets my
> username,  but for some reason it's getting "localhost.localdomain" for
> the domain, so the @Home server is rejecting the message because the
> sender of the message is "<username>@localhost.localdomain", which is
> invalid..

I raised this point here a wee while ago. The message actually means 'invalid
"Sender: header"', it is not referring to you personally.

What happens is that when you post, tin checks that your "From:" address
matches <loginname>@<localhost>.<localdomain>. (I don't know where the
latter two are stored, but you would have been prompted for them when you
installed Linux - I didn't know what they were for, either :-)

If this isn't the case, tin inserts a "Sender:" header with those
elements into your post, for reasons that are very controversial and
somewhat obscure.  Later in the posting process, a check is made that the
contents of any "Sender:" header are valid, validity here including that
the last element of the address must be a valid top-level domain. This
check is what triggers the error situation.

>   It must be reading the "localhost.localdomain" from some environment
> variable I don't have set, or a file somewhere , but can't for the life
> of me figure out what/where it is.  There does not seem to be any
> setting in the TINRC file for this, and nothing in the MAN pages.  The
> 'From:' address in the message itself has no effect, it doesn't change
> the Sender, only the from address in the message itself.

>   Any ideas ?

The best thing to do is to disable the generation of "Sender:" headers in
the system-wide configuration file /etc/tin/tin.defaults - insert the
line:
disable_sender=ON

Technical Details
Message-ID: <ifff78.87.ln@acm.acm>
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!not-for-mail
References: <87d4ni$4h3$1@nnrp1.deja.com>

Show Full Headers
Complete Article Headers
Message-ID: <ifff78.87.ln@acm.acm>
Subject: Re: Invalid Sender when Posting in RTIN
Date: Fri, 04 Feb 2000 00:00:00 +0000
From: Alan Mackenzie<none@all.de.invalid>
References: <87d4ni$4h3$1@nnrp1.deja.com>
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!not-for-mail
X-Deja-AN: 581679147
X-Complaints-To: news-admin@muc.de
X-Trace: marvin.muc.de 949700801 55576 193.149.49.134 (4 Feb 2000 21:46:41 GMT)
Organization: muc.de e.V. -- private internet access
User-Agent: tin/1.4-19991113 ("No Labels") (UNIX) (Linux/2.0.35 (i686))
NNTP-Posting-Date: 4 Feb 2000 21:46:41 GMT
Newsgroups: news.software.readers