🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #72259

INN 2.4.2-3 -- Message-ID: and X-Trace: from localhost.localdomain to FQDN

#72259
From: John F. Morse
Date: Wed, 14 Sep 2005 12:18
83 lines
4276 bytes
I've pulled out what little hair I had remaining....

Trying to get rid of "localhost.localdomain" from the righthand side of 
autogenerated Message-ID:s and X-Trace: header entries.

Example:

Message-ID: <dg925u$2n6$3@localhost.localdomain>
X-Trace: localhost.localdomain 1126697982 2790 192.168.89.140 (14 Sep 
2005 11:39:42 GMT)

I've followed the instructions/ideas/suggestions in the man pages 
referenced below, but no matter what I do, the localhost.localdomain 
continues to be inserted instead of my FQDN.

This includes restarting ("ctlinnd xexec innd") after any changes to 
innd.conf.

Is this really working in INN 2.4.2-3 (OS is Debian Sarge 3.1r0a)?

Here is a complete message header, with e-mail addresses munged to 
"@invalid.net" to foil the spam bots. The INN is running on 
news5.xanadu-bbs.net, and streams through the other servers shown in the 
Path: entry, which are RumorMill NNTP servers on PowerMacs.

Path: 
news.xanadu-bbs.net!news2.xanadu-bbs.net!news61.xanadu-bbs.net!news5.xanadu-bbs.net!not-for-mail
From: "John F. Morse" <me@invalid.net>
Newsgroups: brisbee
Subject: Beta testers wanted
Date: Wed, 14 Sep 2005 06:39:42 -0500
Organization: Xanadu BBS
Lines: 35
Message-ID: <dg925u$2n6$3@localhost.localdomain>
Reply-To:  me@invalid.net
NNTP-Posting-Host: giuseppe.xanadu-bbs.net
Mime-Version: 1.0
Content-Type: multipart/alternative;
  boundary="------------060905050903070806010207"
X-Trace: localhost.localdomain 1126697982 2790 192.168.89.140 (14 Sep 
2005 11:39:42 GMT)
X-Complaints-To: newsmaster@invalid.net
NNTP-Posting-Date: Wed, 14 Sep 2005 11:39:42 +0000 (UTC)
User-Agent: Debian Thunderbird 1.0.2 (X11/20050331)
X-Accept-Language: en-us, en
Xref: news.xanadu-bbs.net brisbee:32186

-- 
John

 From INN.CONF(5):

PARAMETERS
        General Settings

        These parameters are used by a wide variety of different 
components of INN.

        domain
            This should be the domain name of the local host.  It should 
not have a leading period, and it should not be a full host address. It 
is used only if the GetFQDN() routine in libinn(3) cannot get the 
fully-qualified domain name by using either the gethostname(3)or 
sethostbyname(3) calls.  The check is very simple; if either routine 
returns a name with a period in it, then it is assumed to have the full 
domain name.  As this parameter is rarely used, do not use it to affect 
the righthand side of autogenerated Message-IDs; see instead virtualhost 
and domain in readers.conf.  The default value is unset.


From: READERS.CONF(5)

ACCESS GROUP PARAMETERS

        virtualhost:
            Set this parameter to make nnrpd behave as if it's running 
on a server with a different name than it actually is.  If you set this 
parameter, you must also set either pathhost: or domain: to something 
different than is set in inn.conf.  All articles displayed to clients 
will then have their Path: and Xref: headers altered to appear to be 
from the server named in pathhost: or domain: (whichever is set), and 
posted articles will use that server name in the Path:, Message-ID;, and 
X-Trace: headers.
Technical Details
Message-ID: <17cb9$43281531$4097152a$16561@EVERESTKC.NET>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wn11feed!worldnet.att.net!199.218.7.141!news.glorb.com!atl-c08.usenetserver.com!news.usenetserver.com!pc02.usenetserver.com!EVERESTKC.NET-a2kHrUvQQWlmc!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <17cb9$43281531$4097152a$16561@EVERESTKC.NET>
Subject: INN 2.4.2-3 -- Message-ID: and X-Trace: from localhost.localdomain to FQDN
Date: Wed, 14 Sep 2005 07:18:54 -0500
From: "John F. Morse" <xanadu.bbs@invalid.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wn11feed!worldnet.att.net!199.218.7.141!news.glorb.com!atl-c08.usenetserver.com!news.usenetserver.com!pc02.usenetserver.com!EVERESTKC.NET-a2kHrUvQQWlmc!not-for-mail
Reply-To: xanadu.bbs@invalid.net
Organization: Xanadu BBS
User-Agent: Debian Thunderbird 1.0.2 (X11/20050331)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: news.software.nntp
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: abuse@usenetserver.com
Lines: 83
X-Trace: 17cb943281531e532b08f16561