Thread View: news.software.nntp
2 messages
2 total messages
Started by Edwin Yau
Mon, 12 Apr 1999 00:00
INN2.2 posting problem
Author: Edwin Yau
Date: Mon, 12 Apr 1999 00:00
Date: Mon, 12 Apr 1999 00:00
255 lines
8009 bytes
8009 bytes
Hello,
I'm still having problems trying to sort out posting (after getting expire
to work - thanks to all the guys who helped me out!) All I seem to be
doing is posting to local users at our site only. The path header says:
path:mailsvr!not-for-mail
or something like that. Just to recap, I'm using INN2.2 running on Solaris
2.6. I'm trying to set up the posting to use nntpsend, but probably am
getting confusd with what innfeed does. I have set my news cronjob to use
nntp every 15 minutes.
If anyone can help, please e-mail me or post to the newsgroup (at least I
can read and expire now!) Included are a few config files which may be of
use. Pretty much everything is set to default. I know the newsfeed site
is correct. The nnrp.access file is set to read and post for all users.
What am I doing wrong?
TTFN
Edwin Yau
edwin@rrds.co.uk
-----
nntpsend.ctl file
-----
nntp0.tha.uk.quza.net:nntp0.tha.uk.quza.net::-T1800 -t300
-----
newsfeeds file
-----
## Default of everything to everybody except for junk, control, anything
## with "local" as the newsgroup prefix (i.e. matches "localhost.stuff") or
## groups under foo. Articles posted to any group under alt.binaries.warez
## will not get propagated, even if they're cross posted to something that
## is.
ME\
:*,!junk,!control,!alt.binaries.*\
::
## Create the links for cross posted articles
## If you use this you MUST add -L option to innflags in inn.conf.
## see innd(8)
#crosspost:*:Tc,Ap,WR:/var/news/bin/crosspost
# Feed all moderated source postings to an archiver
#source-archive!:!*,*sources*,!*wanted*,!*.d\
# :Tc,Wn:/var/news/bin/archive -f -i /var/news/spool/archive/INDEX
## News overview
# use this flag if storage api is used
overview!:*:Tc,Ao,WhR:/var/news/bin/overchan
# else
#overview!:*:Tc,WO,S30000:/var/news/bin/overchan
# Feed all local non-internal postings to nearnet; sent off-line via
# nntpsend or send-nntp.
#nic.near.net\
# :!junk/!foo\
# :Tf,Wnm:nic.near.net
# A real-time nntplink feed
# If you turn on storageapi, you cannot to use nntplink since it cannot
handle
# token.
#uunet\
# :/!foo\
# :Tc,Wnm:/var/news/bin/nntplink -i stdin news.uu.net
# Capture all Foo, Incorporated, postings
#capture\
# :*/foo\
# :Tp,H2:/var/news/bin/capture %s
# A UUCP feed, where we try to keep the "batching" between 4 and 1K.
#ihnp4\
# :!junk,!control/!foo\
# :Tf,Wnb,B4096/1024:
# Innfeed funnel master; individual peers feed into the funnel.
# Note that innfeed with "-y" and no peer in innfeed.conf
# would cause a problem that innfeed drops the first article.
innfeed!:\
!*\
:Tc,Wnm*,S30000:/var/news/bin/startinnfeed -y
# A real-time feed through innfeed.
#news.uu.net/uunet\
# :!junk,!control/!foo\
# :Tm:innfeed!
nntp0.tha.uk.quza.net\
:*\
:Tm:innfeed!
# Use an external program to handle control messages, except cancel
controlchan!\
:!*,control,control.*,!control.cancel\
:Tc,Wnsm:/var/news/bin/controlchan
# news to mail gateway
#n2m!:!*:Tc,Ac,Wn*:/var/news/bin/news2mail
#news-software@localhost.our.domain.com:rec.pets.redants.*:Tm:n2m!
-----
innfeed file
-----
# $Revision: 1.1 $
#
# Sample innfeed config file. See the comment block at the
# end for a fuller description of the format, and innfeed.conf(5) for a
# description of the entries.
#
##
## Global values. Not specific to any peer. These are optional, but if
## used will override the compiled in values.
##
pid-file: innfeed.pid # relative to
pathrun
debug-level: 0
use-mmap: false
log-file: innfeed.log # relative to
pathlog
stdio-fdmax: 0
## Uncomment the next line to include the contents
## of ``testfile'' at this point.
#$INCLUDE testfile
backlog-directory: innfeed # relative to
pathspool
backlog-rotate-period: 60
backlog-ckpt-period: 30
backlog-newfile-period: 600
dns-retry: 900
dns-expire: 86400
close-period: 3600
gen-html: false
status-file: innfeed.status # relative to
pathlog
connection-stats: false
host-queue-highwater: 200
stats-period: 600
stats-reset: 43200
max-reconnect-time: 3600
initial-reconnect-time: 30
##
## Defaults for all peers. These must all exist at
## global scope. Any of them can be redefined
## inside a peer or group definition.
##
article-timeout: 600
response-timeout: 300
initial-connections: 1
max-connections: 5
max-queue-size: 25
streaming: true
no-check-high: 95.0
no-check-low: 90.0
no-check-filter: 50.0
port-number: 119
backlog-limit: 0
backlog-factor: 1.10
backlog-limit-highwater: 0
dynamic-method: 3
dynamic-backlog-filter: 0.7
dynamic-backlog-low: 25.0
dynamic-backlog-high: 50.0
no-backlog: false
##
## Peers.
##
#peer decwrl {
# ip-name: news1.pa.dec.com
#}
#peer uunet {
# ip-name: news.uunet.uu.net
# max-connections: 10
#}
peer nntp0.tha.uk.quza.net {
ip-name: nntp0.tha.uk.quza.net
}
##
## Group peers together to give second level defaults.
##
#group fast-sites {
# max-connections: 7
#
# peer data.ramona.vix.com {
# # ip-name defaults to data.ramona.vix.com
# streaming: false
# }
#
# peer bb.home.vix.com {
# ip-name: 192.5.5.33
# }
#}
# Blank lines are ignored. Exerything after a '#'
# is ignored too.
#
# Format is:
# key : value
#
# See innfeed.conf(5) for a description of
# necessary & useful keys. Unknown keys and their
# values are ignored.
#
# Values may be a integer, floating-point, c-style
# single-quoted characters, boolean, and strings.
#
# If a string value contains whitespace, or
# embedded quotes, or the comment character
# (``#''), then the whole string must be quoted
# with double quotes. Inside the quotes, you may
# use the standard c-escape sequence
# (\t,\n,\r,\f,\v,\",\').
#
# Examples:
# eg-string: "New\tConfig\tfile\n"
# eg-long-string: "A long string that goes
# over multiple lines. The
# newline is kept in the
# string except when quoted
# with a backslash \
# as here."
# eg-simple-string: A-no-quote-string
# eg-integer: 10
# eg-boolean: true
# eg-char: 'a'
# eg-ctrl-g: '\007'
-----
END
-----
Re: INN2.2 posting problem
Author: Russ Allbery
Date: Tue, 13 Apr 1999 00:00
Date: Tue, 13 Apr 1999 00:00
37 lines
1889 bytes
1889 bytes
Edwin Yau <edwin@darkjedi.idps.co.uk> writes: > or something like that. Just to recap, I'm using INN2.2 running on > Solaris 2.6. I'm trying to set up the posting to use nntpsend, but > probably am getting confusd with what innfeed does. If you're trying to use nntpsend, you shouldn't be using innfeed at all. They're two mutually exclusive ways of feeding news. (Well, mutually exclusive in the sense that you don't want to use both for a single remote peer; you can have some peers with nntpsend and some with innfeed, of course.) > # Innfeed funnel master; individual peers feed into the funnel. > # Note that innfeed with "-y" and no peer in innfeed.conf > # would cause a problem that innfeed drops the first article. > innfeed!:\ > !*\ > :Tc,Wnm*,S30000:/var/news/bin/startinnfeed -y > nntp0.tha.uk.quza.net\ > :*\ > :Tm:innfeed! This is going to try to send postings to that remote host via innfeed. If you wanted to use nntpsend, which it appears that you do, what you want instead is: nntp0.tha.uk.quza.net:*:Tf,Wnm: in newsfeeds. INN will then write to a file in the outgoing directory, and nntpsend will pick up that file when run from cron and send out the news messages listed in it. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
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