Article View: news.software.readers
Article #57932Re: [slrn] slrn can't deduce my fqdn, so I can't get customized MsgIDs
From: Jens Wahnes
Date: Fri, 11 Feb 2000 00:00
Date: Fri, 11 Feb 2000 00:00
44 lines
2068 bytes
2068 bytes
Daniel Price wrote:
> I use a tracing tool available in Solaris to see what library calls are being
> made at this point in the code:
[...]
> Now what? slrn_get_user_info() checks to see if "xanadu" is fully qualified.
> Of course it isn't.
> At this point, there is no possible way to set posting_host-- the rest of the
> function drives on and ignores posting_host.
Looking at your email address, _you_ are certainly the Solaris expert. :-)
So I wonder why gethostbyname doesn't return the FQDN but only the host
name? I never had access to a Solaris system so I don't know if this
is a generic problem there, but maybe the FQDN just isn't properly set?
slrn does get the correct FQDN on all systems I've tried so far, which
were Linux, AIX, and Windows.
> Furthermore, shouldn't slrn have a runtime configuration option to set the
> domain?
I added
#v+
{"posting_host", &Slrn_User_Info.posting_host},
#v-
at line 464 of startup.c and recompiled (slrn 0.9.6.2). Now I'm able
to set the posting_host in .slrnrc like this:
#v+
set posting_host "message-id.wahnes-world.de"
#v-
I think that should at least be a workaround for your problem.
Jens
--
"What is robbing a bank compared with founding a bank?"
- Bertolt Brecht
Technical Details
Message-ID:
<slrn8a83dq.4b.jewa@message-id.wahnes-world.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.mbox.zip!not-for-mailReferences:
<880j4i$bev$1@engnews2.Eng.Sun.COM>Show Full Headers
Complete Article Headers
Message-ID: <slrn8a83dq.4b.jewa@message-id.wahnes-world.de> Subject: Re: [slrn] slrn can't deduce my fqdn, so I can't get customized MsgIDs Date: Fri, 11 Feb 2000 00:00:00 +0000 From: Jens Wahnes <jewa@gmx.net> References: <880j4i$bev$1@engnews2.Eng.Sun.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: 584537392 X-PGP-Fingerprint: 8B D9 D2 CB FA 1B 45 80 FD 04 24 D8 4E 42 B1 14 X-NNTP-Posting-Host: localhost Mail-Copies-To: never X-PGP-ID: 2048/7E990369 Organization: Wahnes World User-Agent: slrn/0.9.6.2 (Linux) Newsgroups: news.software.readers