🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #64574

Re: INN/Suck downloading posts it sent...!

#64574
From: Muttley
Date: Fri, 28 Mar 2003 13:06
72 lines
3991 bytes
In article <b60ue6$psd$1@linux01.dannytuppeny.com>
"Daisy" <daisy@nospam.oops> wrote:
>
> "Muttley" <Use-Author-Address-Header@[127.1]> wrote in message
> news:200303280035.h2S0ZOOO005606@www.aarg.net...
> > My suggestion would be to create a suckxover file and put an entry in
> > it to ignore messages with your own Message-ID's.
>
> How do I do that?

It depends a little on how you have configured Suck.  You can set it
up so that  suck uses a single source, or define a specific set of
config files for each source.  I would suggest going down the
specific route even if you currently only suck from a single source.
This provides you with much greater future flexibility.

I use freenet as one of my suck sources, so the following examples
relate to that.

Start off by creating a config file for that source.  I would suggest
suck.conf.freenet as a good naming convention for my example.  Your
current one is probably just called suck.conf if you have configured
it for a single source.  Just copy the contents of that to the new
file.

Edit suck.conf.freenet and add an entry of:
-p	.freenet
This tells Suck to append .freenet on all the config files that
relate to this source.

Move your sucknewsrc contents to sucknewsrc.freenet

Edit your crontab to include a line something like:
30 * * * * /usr/local/bin/suck newscache5.freenet.de @/etc/suck/suck.conf.freenet
This should replace your existing suck entry in the crontab.

At this point, you should have a working system, identical to when
you started.  All you have done is to provide yourself with the
capability to suck from more than one source.  I would suggest
testing your configuration at this point by issuing a:
/usr/local/bin/suck newscache5.freenet.de @/etc/suck/suck.conf.freenet

Hopefully everything works as expected!  If so, you can remove the
suck.conf and sucknewsrc files.

Next you need to create a suckxover file called suckxover.freenet
Suck will use this file because of the -p parameter you specified in
your suck.conf.freenet file.

Edit suckxover.freenet and insert an entry for your Message-ID,
something like:
Message-ID:myidentifier
Where myidentifier refers to some part of the Message-ID that you
want to filter on.  Most likely is your FQDN if you are using this as
your identifier in INN.

That's about it I think.  From now on, Suck will perform an xover on
the source prior to downloading anything and will ignore anything
with your defined Message-ID.

You can create as many sets of confiuration files as you want.  Each
one will relate to one specific suck source.  I would suggest sucking
from at least two.  Remember to create a crontab entry for each one.

As a final note; I would suggest having a look at the man pages for
suckxover as it provides an excellent filtering tool.  You can use
Regular Expressions to filter all kind of junk to improve your signal
to noise ratio.

HTH
Technical Details
Message-ID: <200303281306.h2SD6HOf002684@www.aarg.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!news-fra1.dfn.de!news0.de.colt.net!newsfeed.r-kom.de!newsfeed.stueberl.de!newsfeed.eunet.at!newsfeed.eunet.at!anon.lcs.mit.edu!nym.alias.net!mail2news
References: <b5vsou$lpj$1@linux01.dannytuppeny.com> <200303280035.h2S0ZOOO005606@www.aarg.net> <b60ue6$psd$1@linux01.dannytuppeny.com>

Show Full Headers
Complete Article Headers
Message-ID: <200303281306.h2SD6HOf002684@www.aarg.net>
Subject: Re: INN/Suck downloading posts it sent...!
Date: Fri, 28 Mar 2003 05:06:17 -0800
From: Muttley <Use-Author-Address-Header@[127.1]>
References: <b5vsou$lpj$1@linux01.dannytuppeny.com> <200303280035.h2S0ZOOO005606@www.aarg.net> <b60ue6$psd$1@linux01.dannytuppeny.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.mbox.zip!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!news-fra1.dfn.de!news0.de.colt.net!newsfeed.r-kom.de!newsfeed.stueberl.de!newsfeed.eunet.at!newsfeed.eunet.at!anon.lcs.mit.edu!nym.alias.net!mail2news
Author-Address: muttley <AT> hod <DOT> aarg <DOT> net
Newsgroups: news.software.nntp
Mail-To-News-Contact: postmaster@nym.alias.net
Organization: mail2news@nym.alias.net
Lines: 71