Article View: news.software.readers
Article #65936Re: Tin: Fully qualified domain name problem
From: Alan Mackenzie
Date: Tue, 26 Sep 2000 00:00
Date: Tue, 26 Sep 2000 00:00
122 lines
6704 bytes
6704 bytes
filer d filer <filer@spambox.hotmail.com> wrote on Tue, 26 Sep 2000
02:53:54 GMT:
> Hello. every time I try to start up tin I get the message:
> Can't get a (fully-qualified) domain-name!
> Try and save newsrc file again? (y/n): y
> I connect to the net via dsl so I therefore don't have a domain name.
> Is there anything I can do to fix this? Perhaps entering a false domain
> name some place?
You've been hit by a software philosophy problem. Please, cut me some
slack, just for the moment - all will become clear.
For maximum flexibility, Usenet software on Unix is (or, rather, should
be) divided into a Server and a User Agent (newsreader). This follows
well accepted software design principles which have been floating around
since the early 1970s (or even earlier).
The idea is that the newsreader handles the _content_ of articles (i.e.
allowing them to be read and created, threading them, searching for this,
that and the other in them, and so on). The server should handle the
relationship between the newsreader and Usenet at large (i.e. posting
articles, validating the conformity of headers to local policy, fetching
articles from the upstream server, etc.). The newsreader and server
should communicate via a well defined protocol, usually NNTP.
Unfortunately, many newsreaders, including tin, bypass NNTP and access
(or, in your case, attempt to access) network configuration details
directly. These are properly the exclusive business of the server. Even
more unfortunately, this violation of software partitioning is
encouraged, even mandated, by the GNKSA ("Good net keeping seal of
approval" see http://www.xs4all.nl/~js/gnksa/) section 12, which insists
on the newsreader checking you have put a "valid" address in your From:
header, for some not totally clear value of "valid".
Such accessing of config details is somewhat analogous to accessing
hardware details by reading fixed addresses in the CMOS RAM rather than
going through a well defined BIOS function; it works, but only when it
runs in the specific environment it was written in.
Of course, your network configuration is different from Urs Jan๏ฟฝen's
(he's the maintainer of tin, by the way). Somewhat predictably, his
response to you was "make your configuration like mine, then it'll work".
Before deciding to put much more effort into getting tin working, it's
worth knowing what Urs's attitude towards you is likely to be. From a
post of his (Subject: re: tin and batch-saving, Message-ID:
<8nh6v7$b4n$1@nntp.hamburg.pop.de>, Date: 17 Aug 2000). Urs's
contributions have a single quote prefix:
************************************************************************
>> I would guess that most linux users are single users at home, and
>I don't really care about all those "I'm hip, I have linux a home" kids
>- and the few ppl. with a clue run a newsserver a home (i.e. to use
>uucp).
>> Why are so many linux people eternally searching for a good
>> newsreader?? Because they are newbies, stupid or what?
>most of them are stupid newbies
************************************************************************
To be fair to Urs, though, it has to be said that he has created an
attractive stable piece of software out of something that was anything
but. I use it, after all, despite my reservations about its behaviour.
:-)
I fully agree with you that getting a fully qualified domain name is over
the top, just to get a newsreader working. After all, a typical Usenet
connection is now from a machine with no FQDN on a PPP link over a modem
to an ISP, with a dynamically allocated IP address. Your type of
connection, permanently connected over DSL also without a FQDN will also
become increaingly common in the near future.
Maybe, just maybe, authors of newsreaders will start recognising the
problems caused by using side-accesses to network resources and start
sticking strictly to the NNTP protocol. Then people like you and I will
be able to establish a working network connection and then simply plug in
any newsreader. I'm not holding my breath, though.
************************************************************************
However, back to your specific problem. One of the things that tin does
by default to ISP posters is to insert a Sender: header containing what
tin deems to be your "real" Userid.domain name. It then refuses to post
the article on the grounds that the Sender: header (which it inserted
itself) conains an invalid address. It also goes to great lengths to keep
you unaware of what it is doing - I think its philosophy is to _expose_
people who, for whatever reason, post with an alias rather than their
real email address. Whatever.
It may well be that the error message "Can't get a (fully-qualified)
domain-name!" that you're getting happens because tin is trying to get
information which it will later use to construct this spurious Sender:
header.
I would suggest that you try disabling its generation. To do this, edit
the file /etc/tin/tin.defaults (at least, this is where the file resides
on a Linux system. Your headers don't identify your operating system):
replace the line "disable_sender=OFF" with "disable_sender=ON".
If this doesn't work, then try entering a bogus domain name, like you
suggested, as well.
You might decide that it's not worth the hassle, and I wouldn't blame
you. But if you do press ahead, tin is lovely piece of software.
Feel free to email me if you want any more help.
> Thanks in advance!
> -f
--
Alan Mackenzie (Munich, Germany)
Email: aacm@muuc.dee; to decode, wherever there is a repeated letter
(like "aa"), remove one of them (leaving, say, "a").
Technical Details
Message-ID:
<1qsqq8.86.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-mailReferences:
<6dUz5.14145$vZ.753489@news20.bellglobal.com>Show Full Headers
Complete Article Headers
Message-ID: <1qsqq8.86.ln@acm.acm>
Subject: Re: Tin: Fully qualified domain name problem
Date: Tue, 26 Sep 2000 00:00:00 +0000
From: Alan Mackenzie<none@example.invalid>
References: <6dUz5.14145$vZ.753489@news20.bellglobal.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: 674409312
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=ISO-8859-1
X-Complaints-To: news-admin@muc.de
X-Trace: marvin.muc.de 969995839 4920 193.149.49.134 (26 Sep 2000 19:17:19 GMT)
Organization: muc.de e.V. -- private internet access
Mime-Version: 1.0
User-Agent: tin/1.4.3-20000502 ("Marian") (UNIX) (Linux/2.0.35 (i686))
NNTP-Posting-Date: 26 Sep 2000 19:17:19 GMT
Newsgroups: news.software.readers