🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
9 messages
9 total messages Started by Eric Bordeleau Wed, 02 May 2001 22:05
Problem with retrieving articles from the remote server
#52138
Author: Eric Bordeleau
Date: Wed, 02 May 2001 22:05
54 lines
1857 bytes
I am configuring a news server with INN 2.3
Do you know, if I have a problem with one of this following files?

incoming.conf

streaming:              true   # streaming allowed by default
max-connections:        8      # per feed

# ME
peer ME {
  hostname:         "localhost, 127.0.0.1"
}

# Definition of peers

# First peer
peer nntp.uunet.ca

 hostname: "nnrp1.uunet.ca"
}

----------------------------------------------------------------------------
---



newsfeeds

THE ME ENTRY
ME:*,!junk/*\
::

# THE NNTP.UUNET.CA ENTRY
nntp.uunet.ca\
:*\
:Tf,Wnm:

# THE CONTROLCHAN ENTRY
controlchan!\
:!*,control,control.*,!control.cancel\
:Tc,Wnsm:/usr/local/news/bin/controlchan


----------------------------------------------------------------------------
---

Probably, the ME entry is not correct.

Thank you

Eric B.


Re: Problem with retrieving articles from the remote server
#52139
Author: Russ Allbery
Date: Thu, 03 May 2001 01:04
15 lines
1493 bytes
Eric Bordeleau <eric_stg@netc.net> writes:

> I am configuring a news server with INN 2.3 Do you know, if I have a
> problem with one of this following files?

Rather than having us try to guess at what possible problems you may be
seeing by looking at your configuration files, could you explain in more
detail exactly what problems you're having?

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Problem with retrieving articles from the remote server
#52154
Author: Eric Bordeleau
Date: Thu, 03 May 2001 22:46
244 lines
8226 bytes
First I' m using RedHat 6.2
Using inn 2.3

Exactly my problem is I can't get the articles from my provider (uunet),
it's seem no articles has been post to my news server and I have no message
error send to my logs.

I see the newsgroups, but I have 0 article per newsgroup.

I can post to my news server with Outlook Express for example, and also I
can retrieve (read) that article. The number of articles of the subscribed
newsgroup increase by one and news.daily renumbering as well.
However, I'm not sure if the articles go into my provider's news server.

The possible reasons of this are maybe:

- My provider don't post me anything (or maybe don't accept me as a client)
- Using only tradspool
- Error with the ME entry of incoming.conf
- Error with the ME entry of newsfeeds
- Using of controlchan (perl 5.006)
- Actives.times contains nothing
- Database hystory don't working well.

Questions :

1 - Do I have to read the news one time with a reader utility like "suck" or
"newsx" ?

2 - Do I have to ask my provider to post me all the news or innd take charge
of that ?

3 - Is it possible for you to give an example of  a good ME entry (newsfeeds
and incoming) ?

4- What are the messages I should have after starting innd with the command
rc.news ?     *** For the moment I just have
                          Starting innd ..


Now I will show what I have done yet in my configuration files

----------------------------------------------------------------------------
---
storage.conf
----------------------------------------------------------------------------
---
:method tradspool {
newsgroups: *
class 0
}

----------------------------------------------------------------
readers.conf
----------------------------------------------------------------
# Gives access to localhost
auth "localhost" {
   hosts: "localhost, 127.0.0.1"
   default: "<localhost>"
}

access "localhost" {
   users: "<localhost>"
   newsgroups: "*"
}

# Gives access to the domain netc.net
auth "ip_Netc" {
   hosts: "*.netc.net"
   default: "<user>"
   default-domain: "netc.net"
}

access "ip_Netc" {
   users: "*@netc.net"
   newsgroups: "*,!control*,!junk"
   access "Read Post"
}

--------------------------------------------------------------------------
incoming.conf
--------------------------------------------------------------------------
streaming:              true
max-connections:        8

# ME
peer ME {
   hostname:           "localhost, 127.0.0.1"
}

# Definition of peers
# First peer
peer nntp.uunet.ca {
   hostname: "nntp.uunet.ca"
}

----------------------------------------------------------------------------
newsfeeds
----------------------------------------------------------------------------
# The ME Entry
ME:*,!junk/*::

# The nntp.uunet.ca Entry
nntp.uunet.ca:*:Tf,Wnm:

# The controlchan Entry (usecontrolchan is set to true in inn.conf)
controlchan!\
   :!*,control,control.*,!control.cancel\
   :Tc, Wnms:/usr/local/news/bin/controlchan

----------------------------------------------------------------------------
moderators
----------------------------------------------------------------------------
## Russian hierarchies
fido7.*:%s@fido7.ru
medlux.*:%s@news.medlux.ru
relcom.*:%s@moderators.relcom.ru

## Direct all public hierarchies to the master moderator database.
*:%s@moderators.isc.org

----------------------------------------------------------------------------
expire.ctl
----------------------------------------------------------------------------
# Watch 10 ten days for duplicate
/remember/:10

# Because groupebaseexpiry is set to false in inn.conf
# For the storage-class 0 keep at least 3, normal 4, max 5 days
0:3:4:5


----------------------------------------------------------------------------
buffindexed.conf
----------------------------------------------------------------------------
0:/var/spool/news/overview/OV1:1536000
1:/var/spool/news/overview/OV2:1536000


----------------------------------------------------------------------------
actsync.cfg
----------------------------------------------------------------------------
host=ftp.isc.org
ftppath=/pub/usenet/CONFIG/active.Z
flags=-v 0 -p 80
ignore file=/usr/local/news/etc/actsync.ign


----------------------------------------------------------------------------
---
innfeed.conf
(add 1 peer, but I think innd don't use this file my case).
----------------------------------------------------------------------------
---
peer nntp.uunet.ca {
   ip-name:   nntp.uunet.ca
}

----------------------------------------------------------------------------
For these next files, I don't change anything since the installation
----------------------------------------------------------------------------
actsync.ign
control.ctl
distrib.pats
innreport.conf
innwatch.ctl
news2mail.cf

----------------------------------------------------------------------------
-
For these next files, every lines are in comments (# before line)
----------------------------------------------------------------------------
-
ovdb.conf
cycbuff.conf
distrib.pats


And finally some parts of
----------------------------------------------------------------------------
---
inn.conf
----------------------------------------------------------------------------
---
ovmethod:               tradindexed
pathhost:                 news1.netc.net
pathnews:               /usr/local/news
hiscachesize:           256
usecontrolchan:       true
groupbaseexpiry:    false
allownewnews:       true
articlemmap:           false
doinnwatch:            false
rlimitnofile:              256           # Do I have to recompile the kernel
?


----------------------------------------------------------------------------
these next parameters are unset :
----------------------------------------------------------------------------
domain:
innflags:
server:
bindaddress:
pathalias:
sourceaddress:
ovgrouppat:
fromhost:
moderatormailer:
nnrpdposthost:
backoffdb:
-------------------------------------------------------------------------


If you see something weird in my configuration files, let me know please
and if you have an idea what could be the problem, I will very happy to
listen to it.

Thank you very much.



Eric Bordeleau
eric_stg@netc.net

Russ Allbery <rra@stanford.edu> wrote in message
news:ylg0enw8cz.fsf@windlord.stanford.edu...
> Eric Bordeleau <eric_stg@netc.net> writes:
>
> > I am configuring a news server with INN 2.3 Do you know, if I have a
> > problem with one of this following files?
>
> Rather than having us try to guess at what possible problems you may be
> seeing by looking at your configuration files, could you explain in more
> detail exactly what problems you're having?
>
> --
> Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>
>
>           Please post questions rather than mailing me directly.
>      <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.


Re: Problem with retrieving articles from the remote server
#52192
Author: those who know me have no need o...
Date: Sun, 06 May 2001 01:41
35 lines
2102 bytes
<hhlI6.234285$Z2.2482490@nnrp1.uunet.ca> divulged:

>Exactly my problem is I can't get the articles from my provider (uunet),
>it's seem no articles has been post to my news server and I have no message
>error send to my logs.

sounds like you should contact support@uunet.ca to see if they are
even feeding you, because it sounds like they are not.

>1 - Do I have to read the news one time with a reader utility like "suck" or
>"newsx" ?

not if you receive a feed, otherwise you'd have to use newsx or suck
all the time.

>2 - Do I have to ask my provider to post me all the news or innd take charge
>of that ?

if you want a feed you probably have to request it.

>3 - Is it possible for you to give an example of  a good ME entry (newsfeeds
>and incoming) ?

yours looks okay, except that nntp.uunet.ca is an alias for
nnrp1.uunet.ca, so you should use the former instead of the later.

>4- What are the messages I should have after starting innd with the command
>rc.news ?     *** For the moment I just have
>                          Starting innd ..

everything after that is logged via syslog.

-- 
okay, have a sig then
Re: Problem with retrieving articles from the remote server
#52197
Author: those who know me have no need o...
Date: Sun, 06 May 2001 02:18
11 lines
1286 bytes
<9d2a3t116ok@enews4.newsguy.com> divulged:

>nntp.uunet.ca is an alias for
>nnrp1.uunet.ca, so you should use the former instead of the later.

argh.  make that use the later instead of the former, i.e., nnrp1 instead 
of nntp.

-- 
okay, have a sig then
Re: Problem with retrieving articles from the remote server
#52198
Author: Russ Allbery
Date: Sun, 06 May 2001 03:36
19 lines
1778 bytes
those who know me have no need of my name <not-a-real-address@usa.net> writes:
> <9d2a3t116ok@enews4.newsguy.com> divulged:

>> nntp.uunet.ca is an alias for nnrp1.uunet.ca, so you should use the
>> former instead of the later.

> argh.  make that use the later instead of the former, i.e., nnrp1 instead 
> of nntp.

I think you generally want to use the canonical aliases rather than the
names they happen to resolve to, although this may vary depending on where
you're using them.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Problem with retrieving articles from the remote server
#52203
Author: those who know me have no need o...
Date: Sun, 06 May 2001 08:57
16 lines
1547 bytes
<ylsnijp2s2.fsf@windlord.stanford.edu> divulged:

>I think you generally want to use the canonical aliases rather than the
>names they happen to resolve to, although this may vary depending on where
>you're using them.

well, you should use a name that will (reverse) resolve quickly, i.e.,
in a single query, but more importantly it must match the hostname
used in your incoming.conf.

in the case of a connection from 142.77.1.194 that would be
nnrp1.uunet.ca.

-- 
okay, have a sig then
Re: Problem with retrieving articles from the remote server
#52204
Author: Andrew Gierth
Date: Sun, 06 May 2001 10:01
21 lines
2165 bytes
>>>>> "those" == those who know me have no need of my name <not-a-real-address@usa.net> writes:

 > <ylsnijp2s2.fsf@windlord.stanford.edu> divulged:
 >> I think you generally want to use the canonical aliases rather
 >> than the names they happen to resolve to, although this may vary
 >> depending on where you're using them.

 those> well, you should use a name that will (reverse) resolve quickly,

innd does not ever do reverse resolution of IP addresses of incoming
connections; it forward-resolves everything listed in the incoming.conf
and records all the permitted IPs (indefinitely, which is annoying if
you don't arrange to regularly reload your incoming.conf)

If you have a lot of peers, you probably want to arrange to look up
all the hostnames immediately before doing a reload of incoming.conf,
so that they're all cached.

-- 
Andrew.
Re: Problem with retrieving articles from the remote server
#52205
Author: those who know me have no need o...
Date: Sun, 06 May 2001 12:01
14 lines
1472 bytes
<87n18qn6df.fsf@erlenstar.demon.co.uk> divulged:

> those> well, you should use a name that will (reverse) resolve quickly,
>
>innd does not ever do reverse resolution of IP addresses of incoming
>connections; it forward-resolves everything listed in the incoming.conf

i knew i'd mis-remember that -- again.

thanks.

-- 
okay, have a sig then
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads