🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #74048

Re: readers.conf amended

#74048
From: Iulius
Date: Fri, 18 Aug 2006 13:28
100 lines
4821 bytes
En réponse à blechsight@yahoo.de :

>> This is whatever you put in the "pathhost" variable in inn.conf.
> 
> my inn.conf says mydomain.net
> 
> but my FQDN is mail.mydomain.net
> 
> so my server name is what is in my inn.conf?

Your path host is « mydomain.net ».
Your server name is « mail.mydomain.net ».


The path host is what you see in the « path » header of articles.
It is used for news servers not to send an article to a feed which
obviously already has it (since it has put its path in the header.

For instance, I read for your article:

Path: news.ecp.fr!news.glorb.com!postnews.google.com!74g2000cwt.googlegroups.com!not-for-mail


All of these names are path hosts (except for « not-for-mail »).



>> sitename[/exclude,exclude,...]\
>   >       :pattern,pattern...[/distribution,distribution...]\
>     >.   :parameter
> 
> so instead of the word exclude I place mydomain.net?
> I am not clear about this .
> sitename ?

It is not your configuration but the configuration of *your feed*.
You do not have to put your server here.


I paste an article Frédéric wrote here:

%%%
For a simple setup, it's quite easy.  Basically, you've got three files
to touch :

- incoming.conf with the address of the server feeding you (the _out_
     server of your peer's config) :
         peer server.id {
                 hostname: "incoming.fqdn"
         }

- innfeed.conf with the address of the server to feed (the _in_ part) :
         peer server.id {
                 ip-name: outgoing.fqdn
         }

- newsfeeds with all the crunchy and squishy details (keep your ME
     entry ; it has no reason to change.)
         # Organization name, contact name and address, place, language of
         # communication
         server.id/pathstamp:\
                 pattern:\
                 Tm:innfeed!
         innfeed!:\
                 !*:\
                 Tc,Wnm*:/usr/local/news/bin/innfeed -m

(Yes, the # part is a comment, but, believe me, it's good practice to
keep all this info somewhere.  I like it in the newsfeeds file.)

With pattern as a groups pattern, @*binar*,comp.* for instance.  The
pathstamp is the unique id that your peer will give you when you
establish a peering agreement ; for moderate size servers, the outgoing
and incoming adresses will probably be different (even if they resolve
to the same IP).

You may want to use the pathstamp as an id, or the fqdn, or something in
between, that's a matter of personal choice.  Note that it's the value
that will appear in your log files and your innreport pages - that's why
I use my own notation in my files, namely the domain name (domain.tld).
It can sometimes be a problem (if the domain name is used in a path from
another host), but it's quite uncommon.  If the id and the pathstamp are
the same, you can

You have tens of parameters that you could configure next in those three
files.  For a small to moderate server, the defaults work very well.

Maybe I've oversimplified things above, but it's the way I work with my
config when I add a peer.

Fred
%%%

-- 
Iulius

« Je te sais grand, savant, plein de génie ;
   mais pour le vulgaire, le génie ressemble à de la folie.
   La gloire est le soleil des morts ; de ton vivant,
   tu seras malheureux comme tout ce qui fut grand. » (Honoré de Balzac)
Technical Details
Message-ID: <ec4fa8$oj$1@guepard.ecp.fr>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!news.albasani.net!news.ecp.fr!not-for-mail
References: <1154424861.740510.131360@75g2000cwc.googlegroups.com> <ebk8mc$jis$1@guepard.ecp.fr> <1155505733.188561.160640@m73g2000cwd.googlegroups.com> <ebqcdj$87b$1@guepard.ecp.fr> <ebqv21$sg3$1@puck.litech.org> <1155906090.888802.299470@74g2000cwt.googlegroups.com>

Show Full Headers
Complete Article Headers
Message-ID: <ec4fa8$oj$1@guepard.ecp.fr>
Subject: Re: readers.conf amended
Date: Fri, 18 Aug 2006 15:28:39 +0200
From: Iulius <iulius@nom-de-mon-site.com.invalid>
References: <1154424861.740510.131360@75g2000cwc.googlegroups.com> <ebk8mc$jis$1@guepard.ecp.fr> <1155505733.188561.160640@m73g2000cwd.googlegroups.com> <ebqcdj$87b$1@guepard.ecp.fr> <ebqv21$sg3$1@puck.litech.org> <1155906090.888802.299470@74g2000cwt.googlegroups.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!news.albasani.net!news.ecp.fr!not-for-mail
Newsgroups: news.software.nntp
Organization: Gens Iulia -- http://www.trigofacile.com/
Lines: 100
NNTP-Posting-Host: amontpellier-157-1-17-28.w86-197.abo.wanadoo.fr
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: guepard.ecp.fr 1155907720 787 86.197.152.28 (18 Aug 2006 13:28:40 GMT)
X-Complaints-To: ingesys@cti.ecp.fr
NNTP-Posting-Date: Fri, 18 Aug 2006 13:28:40 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr;
In-Reply-To: <1155906090.888802.299470@74g2000cwt.googlegroups.com>