Thread View: news.software.nntp
2 messages
2 total messages
Started by David Uriot
Wed, 25 Mar 1998 00:00
inn-1.7.2 and Suck 3.1.9
Author: David Uriot
Date: Wed, 25 Mar 1998 00:00
Date: Wed, 25 Mar 1998 00:00
42 lines
1839 bytes
1839 bytes
I'm running inn and I want to download a newsgroup to my newsserver. I use suck for this. First I add the newsgroup on my newsserver which I want to download. Then I enther the following commandline: suck news.xs4all.nl -A -hl harrie.stonebv.com -bl lmove-config My lmove-config looks like this: BASE=/var/spool/news/articles ACTIVE=/etc/news/active Suck downloads messages of the newsgroup I just added (it uses the active-file of my newsserver). Then lmove will feed inn with new messages. This works fine, but when I run suck again, it downloads every message again (plus any new messages). Is it possible to avoid this? When I add a new newsgroup, my active file looks like this: control 1 2 n junk 1 2 n news.software.nntp 0000000000 0000000001 y After I download messages for news.software.nntp (first time) with suck, it looks like this: control 1 2 n junk 1 2 n news.software.nntp 330 1 y When I download again, it looks like this: control 1 2 n junk 1 2 n news.software.nntp 659 1 y Etc., etc. I was wondering, what does the history file do exactly? In suck's Makefile I noticed suck used it, but for what purpose? Please help me. Thank you in advance, David
Re: inn-1.7.2 and Suck 3.1.9
Author: tyro01
Date: Fri, 17 Apr 1998 00:00
Date: Fri, 17 Apr 1998 00:00
56 lines
2490 bytes
2490 bytes
David Uriot <david@stonebv.com> wrote,
> I'm running inn and I want to download a newsgroup to my newsserver.
> I use suck for this.
> suck news.xs4all.nl -A -hl harrie.stonebv.com -bl lmove-config
I use other options. try "man suck". You can find sample scripts in
suck package.
SITE="site-name-you-defined-at-newsfeeds-file"
REMOTE_HOST="your-remote-nntp-server"
SUCK=/etc/suck/bin/suck
SUCKOPTIONS="-a -p .${SITE} -c -k -hl localhost -bp"
~~ ~~~
${SUCK} ${REMOTE_HOST} ${SUCKOPTIONS}
Maybe you need -tt, -td and -tm options if you did't define them
when compiling suck.
> My lmove-config looks like this:
> BASE=/var/spool/news/articles
> ACTIVE=/etc/news/active
I think when using suck with inn, you don't need lmove.
> This works fine, but when I run suck again, it downloads every message
> again (plus any new messages).
Maybe, because you didn't use -c options and you didn't use -bp
options neither.
You didn't use -c options, so sucknewsrc not updated. You used -bl
instead of -bp options, so histroy file not updated.
> I was wondering, what does the history file do exactly?
> In suck's Makefile I noticed suck used it, but for what purpose?
history is history. history file keeps message-id and some more info
of articles in news spool. So suck can check history file and find
out what articles are in news spool.
When suck downloads news, it checks sucknewsrc first. And then it
checks message-id's in history file to decide whether it will
download each article or not.
I did not find many articles in this group.
Maybe this group is not for talking of suck or newx ? This article
is net-abuse ? Which group is best choice for talking of suck
package?
--
tyro01@chollian.net
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