Thread View: news.software.nntp
10 messages
10 total messages
Started by Daisy
Thu, 27 Mar 2003 22:08
INN/Suck downloading posts it sent...!
Author: Daisy
Date: Thu, 27 Mar 2003 22:08
Date: Thu, 27 Mar 2003 22:08
25 lines
1979 bytes
1979 bytes
I use INN with suck & rpost. Every 20 mins I get an email from Cron informing me in it's last batch, suck removed duplicate posts.... These are all posts sent via my server, so they've being posted to IIN, posted to my ISP via rpost, and then pulled back down with suck. Well, I don't really care that my posts already exists, but the emails are driving me crazy...! I've already got suck and rpost on the quietest modes I could find, but still want to recieve the other messages (errors and such).... Any ideas how I can have something strip out the lines without "Duplicate", so Cron doesn't email me unless something else happens too, or have suck shut up about just the duplicates....? -- Daisy The Cow ICQ: 179071510 MSN: msn@dannytuppeny.com Yahoo: mr_daisy_the_cow
Re: INN/Suck downloading posts it sent...!
Author: Muttley
Date: Fri, 28 Mar 2003 00:35
Date: Fri, 28 Mar 2003 00:35
37 lines
2538 bytes
2538 bytes
In article <b5vsou$lpj$1@linux01.dannytuppeny.com> "Daisy" <daisy@nospam.oops> wrote: > > I use INN with suck & rpost. > > Every 20 mins I get an email from Cron informing me in it's last batch, suck > removed duplicate posts.... > > These are all posts sent via my server, so they've being posted to IIN, > posted to my ISP via rpost, and then pulled back down with suck. Well, I > don't really care that my posts already exists, but the emails are driving > me crazy...! > > I've already got suck and rpost on the quietest modes I could find, but > still want to recieve the other messages (errors and such).... > > Any ideas how I can have something strip out the lines without "Duplicate", > so Cron doesn't email me unless something else happens too, or have suck > shut up about just the duplicates....? I guess there is more than one solution to your problem, but personally I would try and get right to the root of the issue and stop Suck from receiving your own messages. After all, why waste bandwidth on receiving articles you already have? My suggestion would be to create a suckxover file and put an entry in it to ignore messages with your own Message-ID's. The only problem with this solution is if your outgoing feed using RPost is to a server that refuses to accept Message-ID's and insists on changing them. I used to RPost to several servers, including Terranews and Bubbanews, (Same thing almost) and then suddenly one day without warning they stopped accepting my Message-ID's which resulted in me being directly responsible for loads of triplicate postings. Not very popular with the communities I contribute to!
Re: INN/Suck downloading posts it sent...!
Author: Daisy
Date: Fri, 28 Mar 2003 07:43
Date: Fri, 28 Mar 2003 07:43
27 lines
2241 bytes
2241 bytes
"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? > The only problem > with this solution is if your outgoing feed using RPost is to a > server that refuses to accept Message-ID's and insists on changing > them. I used to RPost to several servers, including Terranews and > Bubbanews, (Same thing almost) and then suddenly one day without > warning they stopped accepting my Message-ID's which resulted in me > being directly responsible for loads of triplicate postings. Not > very popular with the communities I contribute to! I'm allowed my own message ids, that's ok, it's just making suck ignore anything that rpost sent I can't figure out! :-( -- Daisy The Cow ICQ: 179071510 MSN: msn@dannytuppeny.com Yahoo: mr_daisy_the_cow
Re: INN/Suck downloading posts it sent...!
Author: Frank Slootweg
Date: Fri, 28 Mar 2003 12:54
Date: Fri, 28 Mar 2003 12:54
12 lines
1312 bytes
1312 bytes
It has been a long time since I set this up, but I think you either are using suck's "-z" option or/and have not configured/compiled suck with access to your local history database (so it can't tell which articles you already have). A normal suck log should contain these lines: > Deduping Elapsed Time = 0 mins 0.00 seconds > Deduped, 46 items remaining, 0 dupes removed. > Processing History Database Elapsed Time = 0 mins 0.01 seconds > Processed history, 33 dupes removed
Re: INN/Suck downloading posts it sent...!
Author: Muttley
Date: Fri, 28 Mar 2003 13:06
Date: Fri, 28 Mar 2003 13:06
72 lines
3991 bytes
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
Re: INN/Suck downloading posts it sent...!
Author: Daisy
Date: Fri, 28 Mar 2003 19:45
Date: Fri, 28 Mar 2003 19:45
83 lines
4627 bytes
4627 bytes
"Muttley" <Use-Author-Address-Header@[127.1]> wrote in message news:200303281306.h2SD6HOf002684@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. Ok, that helps... but.. some of my clients use Dailog and 40tude, and seem set on generating their own message ids (grrrr...!), so I've still got a problem. There's another post in this thread from Frank Slootweg... I'll see if that's of any help. Cheers :-) -- Daisy The Cow ICQ: 179071510 MSN: msn@dannytuppeny.com Yahoo: mr_daisy_the_cow
Re: INN/Suck downloading posts it sent...!
Author: Daisy
Date: Fri, 28 Mar 2003 19:52
Date: Fri, 28 Mar 2003 19:52
21 lines
1902 bytes
1902 bytes
"Frank Slootweg" <franks@neth.hp.com> wrote in message news:b61glc$db9$1@support.neth.hp.com... > It has been a long time since I set this up, but I think you either > are using suck's "-z" option or/and have not configured/compiled suck > with access to your local history database (so it can't tell which > articles you already have). Aha! Default history file for suck is /usr/news/db/history, but it's empty, and I've got a full one in /var/lib/news/history...! I'll give it a go and see if it works :) -- Daisy The Cow ICQ: 179071510 MSN: msn@dannytuppeny.com Yahoo: mr_daisy_the_cow
Re: INN/Suck downloading posts it sent...!
Author: Daisy
Date: Fri, 28 Mar 2003 20:03
Date: Fri, 28 Mar 2003 20:03
44 lines
2512 bytes
2512 bytes
"Daisy" <daisy@nospam.oops> wrote in message
news:b6295m$vcc$1@linux01.dannytuppeny.com...
> > It has been a long time since I set this up, but I think you either
> > are using suck's "-z" option or/and have not configured/compiled suck
> > with access to your local history database (so it can't tell which
> > articles you already have).
>
> Aha!
>
> Default history file for suck is /usr/news/db/history, but it's empty, and
> I've got a full one in /var/lib/news/history...!
>
> I'll give it a go and see if it works :)
Nope :-((
In get.news, I have:
${SUCK} ${REMOTE_HOST} -c -q -s -A -bp -hl ${LOCAL_HOST} -dt ${TMPDIR} -dm
${MSGDIR} -dd ${BASEDIR} -HF /var/lib/news/history
and if I "tail /var/lib/news/history"
[E0507E9A4910D2F106389D1379828B29] 1048881642~-~1048881647
@05000000000900000BBB0000000000000000@
[719BF38BDF2CA11C9FC3EBB0F61CF418] 1048881679~-~1048881635
@05000000000900000BBC0000000000000000@
[FF9715FD0C3C567AF1E90BDD0DF14C50] 1048881693~-~1048881699
@05000000000900000BBD0000000000000000@
(there are more, but I snipped it down)....
Any ideas?
Thanks :-)
--
Daisy The Cow
ICQ: 179071510
MSN: msn@dannytuppeny.com
Yahoo: mr_daisy_the_cow
Re: INN/Suck downloading posts it sent...!
Author: Daisy
Date: Fri, 28 Mar 2003 20:32
Date: Fri, 28 Mar 2003 20:32
38 lines
2466 bytes
2466 bytes
"Daisy" <daisy@nospam.oops> wrote in message
news:b629r2$vld$2@linux01.dannytuppeny.com...
> > Default history file for suck is /usr/news/db/history, but it's empty,
and
> > I've got a full one in /var/lib/news/history...!
> >
> > I'll give it a go and see if it works :)
>
> Nope :-((
>
> In get.news, I have:
>
> ${SUCK} ${REMOTE_HOST} -c -q -s -A -bp -hl ${LOCAL_HOST} -dt ${TMPDIR} -dm
> ${MSGDIR} -dd ${BASEDIR} -HF /var/lib/news/history
>
> and if I "tail /var/lib/news/history"
>
> [E0507E9A4910D2F106389D1379828B29] 1048881642~-~1048881647
> @05000000000900000BBB0000000000000000@
> [719BF38BDF2CA11C9FC3EBB0F61CF418] 1048881679~-~1048881635
> @05000000000900000BBC0000000000000000@
> [FF9715FD0C3C567AF1E90BDD0DF14C50] 1048881693~-~1048881699
> @05000000000900000BBD0000000000000000@
>
> (there are more, but I snipped it down)....
>
> Any ideas?
Could my history file be in the wrong format again....? Something to do with
having to use "sm" in put.news IIRC.... Any offers?
--
Daisy The Cow
ICQ: 179071510
MSN: msn@dannytuppeny.com
Yahoo: mr_daisy_the_cow
Re: INN/Suck downloading posts it sent...!
Author: Daisy
Date: Mon, 31 Mar 2003 17:13
Date: Mon, 31 Mar 2003 17:13
20 lines
2155 bytes
2155 bytes
"Frank Slootweg" <franks@neth.hp.com> wrote in message news:b68rj5$kog$1@support.neth.hp.com... > My suck version (3.9.2) does not have "-HF", only "-H" (*bypass* the > history check, which is *not* what you want). Anyway, this "-HF" option > looks to reference a *flat file* history, which is also *not* what you > want, because you will want to use a history *database* (DB, see below > for more). Yup, that's the fix... I had an email from someone at sucknews.org... I was hoping not to recompile (I used rpms, I'm a relative newbie!)... I'll leave it for another day ;O) -- Daisy The Blue Cow ICQ: 179071510 MSN: msn@dannytuppeny.com Yahoo: mr_daisy_the_cow
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