[linux-users:41642] INN-2.2+suck-3.9.0

Toshiyuki Hamasaki (hamasaki@remus.dti.ne.jp)
Mon, 21 Dec 1998 23:21:46 +0900


$BIM:j!w0qLZ$H$$$$$^$9!#(B
$B$$$D$b$$$m$$$m$H65$($F$$$?$@$$$F!"$"$j$,$H$&$4$6$$$^$9!#(B

$B:#2s$O(BINN$B$H(Bsuck$B$N@_Dj$K$D$$$F!"65$($F$/$@$5$$!#(B

$B%F%l%[!<%@%$%?%$%`$K!"<+F0$G%@%$%"%k%"%C%W$7$F!"5-;v$r<h$j9~$`(B
$B$D$b$j$J$N$G$9$,!"$=$l0JA0$N<B83CJ3,$G<:GT$7$F$7$^$$$^$9!#(B

/usr/local/news/bin/get.news.innxmit$B$r<B9T$9$k$H!"(B
$B0lC6!"(BISP$B$N%K%e!<%9%5!<%P!<$K@\B3$9$k$N$G$9$,!"$=$N8e(B
Local$B$N(Bactive$B%U%!%$%k$rFI$_$K9T$C$?$^$^!"5"$C$F$-$^$;$s!#(B
$B$=$l$+$i!"$[$\(B1$BJ,H>8e$K!"(BNo date read$B$H8@$C$F%(%i!<$,5"$C$F$-$^$9!#(B

$B$k$s$k$s$d(BHOWTO$B$J$I$$$m$$$m8+$?$N$G$9$,!"$I$&$b$&$^$/$$$-$^$;$s!#(B
$B4pK\E*$J$3$H$,J,$+$C$F$$$J$$$+$i$@$H;W$$$^$9$,!"$I$J$?$+0l7b2sEz$r(B
$B$7$F$$$?$@$1$^$;$s$G$7$g$&$+!#(B

$B4XO"$9$k%U%!%$%k$rIU$1$F$*$-$^$9!#(B

$B%(%i!<%a%C%;!<%8(B

Attempting to connect to newsall1.dti.ne.jp
Using Port 119
Official host name: newsall1.dti.ne.jp
Address: 210.170.134.57
Connected to newsall1.dti.ne.jp
200 newsall1.dti.ne.jp InterNetNews NNRP server INN 2.1 24-Jul-1998 ready (posting ok).
Loading active file from localhost
Reading current sucknewsrc
GROUP <fj.test>, unexpected response, 503
Socket error: No data to read
Elapsed Time = 1 mins 33.97 seconds
Socket error: No data to read
Elapsed Time = 0 mins 0.00 seconds
Socket error: No data to read
Closed connection to newsall1.dti.ne.jp
You can hang up the modem now

<sucknewsrc>

fj.test -100
fj.os.linux -50

<inn.conf>

## Blank values are allowed for certain parameters
## ---------------------------------
# All parameters must exist
#
organization: Secret Association
server: localhost
pathhost: news_mercury
moderatormailer:
domain: mercury.remus.dti.ne.jp
>fromhost:
pathalias:
complaints: admin@mercury
mta: /usr/bin/sendmail -oi %s
mailcmd: /usr/local/news/bin/innmail
checkincludedtext: false
maxforks: 10
maxartsize: 1000000
nicekids: 4
nicenewnews: 0
verifycancels: false
logcancelcomm: false
wanttrash: false
remembertrash: true
linecountfuzz: 0
peertimeout: 3600
clienttimeout: 600
allownewnews: true
localmaxartsize: 1000000
logartsize: true
logipaddr: true
logsitename: true
maxconnections: 50
artcutoff: 14
icdsynccount: 10
hiscachesize: 0
readertrack: false
strippostcc: false
status: 0
timer: 0
readerswhenstopped: true
noreader: false
extendeddbz: false
nnrpdoverstats: false
storeonxref: true
nnrpdcheckart: true
storemsgid: true
usecontrolchan: true
mergetogroups: false
backoffauth: false
backoffdb: /usr/local/news/db/backoff
backoffpostfast: 0L
backoffpostslow: 1L
backofftrigger: 10000L
mimeversion:
mimecontenttype:
mimeencoding:
refusecybercancels: false
activedenable: false
activedupdate: 30
activedport: 1119
nnrpperlauth: false
#
#
# These options are unlikely to need changing in most situations
#
chaninacttime: 600
chanretrytime: 300
pauseretrytime: 300
nntplinklog: false
nntpactsync: 200
badiocount: 5
blockbackoff: 120
#
# ---------------------------------
# Changing these options can have an effect on the way articles are
# stored and may require recreating the spool and/or database files
#
wireformat: false
xrefslave: false
nnrpdposthost:
nnrpdpostport: 119
spoolfirst: false
writelinks: true
storageapi: false
articlemmap: false
overviewmmap: true
bindaddress: all
sourceaddress: any
port: 119
#
## Keywords-in-overview options
## Enabling this without stopping innd and deleting the existing overview
## database and adding will probably confuse a lot of things. You must
## have compiled this support in too.
#
keywords: false
keylimit: 512
keyartlimit: 100000
keymaxwords: 250
#
# Other options
innflags: -L
doinnwatch: true
innwatchsleeptime: 600
pgpverify: true
controlfailnotice: false
logcycles: 3
innwatchpauseload: 1500
innwatchhiload: 2000
innwatchloload: 1000
innwatchspoolspace: 8000
innwatchbatchspace: 800
innwatchlibspace: 25000
innwatchspoolnodes: 200
docnfsstat: false
#
# ---------------------------------
# Paths to various aspects of the news system
#
pathnews: /usr/local/news
pathbin: /usr/local/news/bin
pathfilter: /usr/local/news/bin/filter
pathcontrol: /usr/local/news/bin/control
pathdb: /usr/local/news/db
pathetc: /usr/local/news/etc
pathrun: /usr/local/news/run
pathlog: /usr/local/news/log
pathhttp: /usr/local/news/log
pathtmp: /usr/local/news/tmp
pathspool: /usr/local/news/spool
patharticles: /usr/local/news/spool/articles
pathoverview: /usr/local/news/spool/overview
pathoutgoing: /usr/local/news/spool/outgoing
pathincoming: /usr/local/news/spool/incoming
patharchive: /usr/local/news/spool/archive
pathuniover: /usr/local/news/spool/uniover
overviewname: .overview

<incoming.conf>

## skip:
## This key requires a boolean value. Setting this entry causes this peer
## to be skipped. Reserved for future use. (default=false)
##

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

peer ME {
hostname: "localhost, 127.0.0.1"
}

peer newsall1.dti.ne.jp {
hostname: localhost
}

<newsfeeds>

## Note that refusing articles means you won't offer them to sites you feed
## 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*::
newsall1.dti.ne.jp:*,!local.*,!control*,!junk/!local:Tf,Wnm:

## 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:/usr/local/news/bin/crosspost

# Feed all moderated source postings to an archiver
#source-archive!:!*,*sources*,!*wanted*,!*.d\
# :Tc,Wn:/usr/local/news/bin/archive -f -i /usr/local/news/spool/archive/INDEX

## News overview
# use this flag if storage api is used
overview!:*:Tc,Ao,WhR,S30000:/usr/local/news/bin/overchan
# else
#overview!:*:Tc,WO,S30000:/usr/local/news/bin/overchan

# Use an external program to handle control messages, except cancel
controlchan!\
:!*,control,control.*,!control.cancel\
:Tc,Wnsm:/usr/local/news/bin/controlchan

<cat get.news.innxmit>

#!/bin/sh

#BEFORE USING - check to ensure all the paths defined below are correct!!

#NOTE: this script probably needs to be run by root. Most systems will
# not let a normal user run ctlinnd

REMOTE_HOST=newsall1.dti.ne.jp
LOCAL_HOST=localhost

SPOOLDIR=/usr/local/news/spool/articles # base directory for articles to be rposted
NEWSDIR=/usr/local/news # base directory for news binaries
BASEDIR=/usr/local/news/script # base directory for scripts and data files

CTLINND=${NEWSDIR}/bin/ctlinnd # location of binary
SHLOCK=${NEWSDIR}/bin/shlock # location of binary

TMPDIR=${BASEDIR} # location for suck.* files
MSGDIR=${BASEDIR}/Msgs # where to put MultiFile messages when getting them

SITE=newsall1.dti.ne.jp # name of site from newsfeeds file

OUTGOING=${SPOOLDIR}/out.going/${SITE} # location of the list of articles to upload
OUTGOINGNEW=${OUTGOING}.new # file to contain the list temporarily
OUTGOINGFAIL=${OUTGOINGNEW}.fail # file with failed xfers
SCRIPT=${BASEDIR}/put.news # my filter for rpost
OUTFILE=/tmp/tmp$$ # used by rpost as article after it is filtered
LOCKFILE=${BASEDIR}/getnews.lock # lock file to prevent multiple instances of script
NEWSGROUP=news # which group owns the file in out.going, typically either n
ews or uucp.

TESTHOST=testhost
#RPOST=rpost
SUCK=suck

# if we are already running, abort

$B0J>e$G$9!#59$7$/$*4j$$$7$^$9!#(B
$B$o$?$7$b;E;v5Y$s$G!"(BLinuxConference$B$K;22C$5$;$F$b$i$$$^$7$?$,!"(B
$B$J$s$+3X2q$NH/I=2q$_$?$$$G$7$?$M!#$?$/$5$s?M$,Mh$F$$$F!"6C$-$^$7$?!#(B

$B:)?F2q$O$G$J$+$C$?$N$G$9$,!"$I$&$@$C$?$N$G$7$g$&$+!#(B

end
_____________________________
Toshiyuki Hamasaki
mailto:hamasaki@remus.dti.ne.jp

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/