🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
10 messages
10 total messages Started by Sandy Tipper Fri, 29 Apr 2005 14:40
Deleting messages from innd?
#71304
Author: Sandy Tipper
Date: Fri, 29 Apr 2005 14:40
9 lines
1474 bytes
I am using innd to store and display email messages sent to an interest 
list.
However, it was filling up with Viagra etc spam.
I tried to use the cancel function, but it didn't seem to do anything.
I deleted the bodies from /var/spool/news/articles, but the headings remain.
I tried the renumber function, and rebooted the server, but they remain.
How can I clean up/repair the damage? 

Re: Deleting messages from innd?
#71325
Author: Frédéric
Date: Fri, 29 Apr 2005 15:59
24 lines
1978 bytes
Take a look at these lines :

/usr/local/news/bin/makehistory -O -e -F
/usr/local/news/bin/makedbz -i
mv /usr/local/news/db/history.n.dir /usr/local/news/db/history.dir
mv /usr/local/news/db/history.n.pag /usr/local/news/db/history.pag

check all the arguments with man... if they are about to correspond with
your install.

And to cancel a message, you can delete it with ctlinnd in the bin dir. (man
ctlinnd)

Sandy Tipper <sandy@removethis.atuc.net>
:: I am using innd to store and display email messages sent to an
:: interest list.
:: However, it was filling up with Viagra etc spam.
:: I tried to use the cancel function, but it didn't seem to do
:: anything.
:: I deleted the bodies from /var/spool/news/articles, but the headings
:: remain. I tried the renumber function, and rebooted the server, but
:: they remain. How can I clean up/repair the damage?

Re: Deleting messages from innd?
#71335
Author: cmkools
Date: Fri, 29 Apr 2005 17:31
21 lines
1811 bytes
On Fri, 29 Apr 2005 10:40:53 -0400, "Sandy Tipper" <sandy@removethis.atuc.net>
wrote:

>I am using innd to store and display email messages sent to an interest 
>list.
>However, it was filling up with Viagra etc spam.
>I tried to use the cancel function, but it didn't seem to do anything.
>I deleted the bodies from /var/spool/news/articles, but the headings remain.
>I tried the renumber function, and rebooted the server, but they remain.
>How can I clean up/repair the damage? 
>

./ctlinnd cancel message id


-- 

Websites/rss
server:   news.kools-online.com
web:      http://www.kools-online.com
info:       http://portal.kools-online.com
Re: Deleting messages from innd?
#71351
Author: Sandy Tipper
Date: Fri, 29 Apr 2005 18:51
22 lines
1975 bytes
"cmkools" <cmkools@kools-online.com.invalid> wrote in message 
news:42726f4d$0$15658$e4fe514c@news.xs4all.nl...
> On Fri, 29 Apr 2005 10:40:53 -0400, "Sandy Tipper" 
> <sandy@removethis.atuc.net>
> wrote:
>
>>I am using innd to store and display email messages sent to an interest
>>list.
>>However, it was filling up with Viagra etc spam.
>>I tried to use the cancel function, but it didn't seem to do anything.
>>I deleted the bodies from /var/spool/news/articles, but the headings 
>>remain.
>>I tried the renumber function, and rebooted the server, but they remain.
>>How can I clean up/repair the damage?
>>
>
> ./ctlinnd cancel message id

That's what I did, but saw no effect. So I went in and deleted the bodies so 
at least the spam could not be retrieved. 

Re: Deleting messages from innd?
#71352
Author: Sandy Tipper
Date: Fri, 29 Apr 2005 18:54
26 lines
2446 bytes
"Frédéric" <fg@far.com> wrote in message 
news:427259ed$0$9196$626a14ce@news.free.fr...
>
> Sandy Tipper <sandy@removethis.atuc.net>
> :: I am using innd to store and display email messages sent to an
> :: interest list. However, it was filling up with Viagra etc spam.
> :: I tried to use the cancel function, but it didn't seem to do
> :: anything.
> :: I deleted the bodies from /var/spool/news/articles, but the headings
> :: remain. I tried the renumber function, and rebooted the server, but
> :: they remain. How can I clean up/repair the damage?
>
> Take a look at these lines :
>
> /usr/local/news/bin/makehistory -O -e -F
> /usr/local/news/bin/makedbz -i
> mv /usr/local/news/db/history.n.dir /usr/local/news/db/history.dir
> mv /usr/local/news/db/history.n.pag /usr/local/news/db/history.pag
>
> check all the arguments with man... if they are about to correspond with
> your install. And to cancel a message, you can delete it with ctlinnd in
> the bin dir. (man ctlinnd)
Thanks! I think this is what I need.
I don't know why the "ctlinnd cancel" did not seem to work. 

Re: Deleting messages from innd?
#71361
Author: Jeffrey M. Vinocur
Date: Fri, 29 Apr 2005 21:18
31 lines
2170 bytes
In article <427259ed$0$9196$626a14ce@news.free.fr>,
Frédéric <fg@far.com> wrote:
>
>/usr/local/news/bin/makehistory -O -e -F
>/usr/local/news/bin/makedbz -i
>mv /usr/local/news/db/history.n.dir /usr/local/news/db/history.dir
>mv /usr/local/news/db/history.n.pag /usr/local/news/db/history.pag

This is actually quite overkill.

Simply removing the bodies is enough; INN will automatically
clean up the rest overnight (presuming you run news.daily out of
cron as instructed by INSTALL).  If you want the server to stop
showing them immediately, try setting "nnrpdcheckart" in
inn.conf.

However, `ctlinnd cancel` is probably the right approach.  If it
didn't work, I wonder if you got the syntax wrong.  Correct usage
looks like this:

    ~news/bin/ctlinnd cancel '<427259ed$0$9196$626a14ce@news.free.fr>'

The angle brackets are optional at least in recent versions of
INN, but the single quotes are very important.  If you use double
quotes (or no quotes at all), and the Message-ID has a $ sign in
it (which most do), it won't work.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Deleting messages from innd?
#71364
Author: Sandy Tipper
Date: Fri, 29 Apr 2005 22:38
22 lines
2101 bytes
"Jeffrey M. Vinocur" <jeff@litech.org> wrote in message 
news:d4u8av$qse$1@puck.litech.org...
> However, `ctlinnd cancel` is probably the right approach.  If it
> didn't work, I wonder if you got the syntax wrong.  Correct usage
> looks like this:
>
>    ~news/bin/ctlinnd cancel '<427259ed$0$9196$626a14ce@news.free.fr>'
>
> The angle brackets are optional at least in recent versions of
> INN, but the single quotes are very important.  If you use double
> quotes (or no quotes at all), and the Message-ID has a $ sign in
> it (which most do), it won't work.

BINGO!!! That's exactly the problem! I got it to work for a single message 
from
the command line, but it didn't work in a script. That's why!!!
Now just to work around the variable expansion correctly. No problem,
just a bit fancier.
Thanks so much! 

Re: Deleting messages from innd?
#71406
Author: cmkools
Date: Sat, 30 Apr 2005 12:45
35 lines
2354 bytes
On Fri, 29 Apr 2005 14:51:42 -0400, "Sandy Tipper" <sandy@removethis.atuc.net>
wrote:

>"cmkools" <cmkools@kools-online.com.invalid> wrote in message 
>news:42726f4d$0$15658$e4fe514c@news.xs4all.nl...
>> On Fri, 29 Apr 2005 10:40:53 -0400, "Sandy Tipper" 
>> <sandy@removethis.atuc.net>
>> wrote:
>>
>>>I am using innd to store and display email messages sent to an interest
>>>list.
>>>However, it was filling up with Viagra etc spam.
>>>I tried to use the cancel function, but it didn't seem to do anything.
>>>I deleted the bodies from /var/spool/news/articles, but the headings 
>>>remain.
>>>I tried the renumber function, and rebooted the server, but they remain.
>>>How can I clean up/repair the damage?
>>>
>>
>> ./ctlinnd cancel message id
>
>That's what I did, but saw no effect. So I went in and deleted the bodies so 
>at least the spam could not be retrieved. 
>

You have to look in "newsgroup" control.cancel  if the message is canceled you
find a posting there.


-- 

Websites/rss
server:   news.kools-online.com
web:      http://www.kools-online.com
info:       http://portal.kools-online.com
Re: Deleting messages from innd?
#71407
Author: Jeffrey M. Vinocur
Date: Sat, 30 Apr 2005 14:28
25 lines
1881 bytes
In article <42737dc4$0$154$e4fe514c@news.xs4all.nl>,
cmkools  <news@kools-online.com.invalid> wrote:
>"Sandy Tipper" <sandy@removethis.atuc.net> wrote:
>>"cmkools" <cmkools@kools-online.com.invalid> wrote:
>>
>>> ./ctlinnd cancel message id
>>
>>That's what I did, but saw no effect. So I went in and deleted the bodies so 
>>at least the spam could not be retrieved. 
>
>You have to look in "newsgroup" control.cancel  if the message is canceled you
>find a posting there.

This is incorrect.

Messages canceled with `ctlinnd cancel` do not produce articles
in control.cancel, and do not propogate to peering news servers.

Only cancel messages generated via a newsreader will be visible
there.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Deleting messages from innd?
#71408
Author: cmkools
Date: Sat, 30 Apr 2005 17:06
34 lines
2305 bytes
On Sat, 30 Apr 2005 14:28:40 +0000 (UTC), jeff@litech.org (Jeffrey M. Vinocur)
wrote:

>In article <42737dc4$0$154$e4fe514c@news.xs4all.nl>,
>cmkools  <news@kools-online.com.invalid> wrote:
>>"Sandy Tipper" <sandy@removethis.atuc.net> wrote:
>>>"cmkools" <cmkools@kools-online.com.invalid> wrote:
>>>
>>>> ./ctlinnd cancel message id
>>>
>>>That's what I did, but saw no effect. So I went in and deleted the bodies so 
>>>at least the spam could not be retrieved. 
>>
>>You have to look in "newsgroup" control.cancel  if the message is canceled you
>>find a posting there.
>
>This is incorrect.
>
>Messages canceled with `ctlinnd cancel` do not produce articles
>in control.cancel, and do not propogate to peering news servers.
>
>Only cancel messages generated via a newsreader will be visible
>there.

Yes, my mistake. I have a newsreader to cancel any message.
Cleanfeed take care off the rest:-)


-- 

Websites/rss
server:   news.kools-online.com
web:      http://www.kools-online.com
info:       http://portal.kools-online.com
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