Article View: news.software.nntp
Article #9495Re: Usenet post Cancelling
From: Chris Lo
Date: Sun, 21 Jul 1996 00:00
Date: Sun, 21 Jul 1996 00:00
49 lines
2209 bytes
2209 bytes
Nir Oren (nir@global.co.za) wrote:
: G'day...
:
: A user of ours recently sent a rather huge spam. He was using
: free agent or some similar news reading program, and set his address
: to something diffrent from our news server.
: When I now try to issue a cancel message, using inews, the server does not
: accept the message for delivery.
: Here is the situation in other words:
: A message originated from an address user@foo, while our news server is
: bar. Therefore when I try to send a cancel (from news@bar), it refuses to
: accept it.
: Any suggestions?
: Thanks
: Nir Oren
:
I'd like to see how other people do this with INN, it would not be possible
to do it if the post is NOT originated from your site. And you need to be
news-admin of your news server.
Personally, I've done this,
Get the Message-ID you want to delete into a file, e.g, list
<4ssaj2$4p6@hkucs92.air.org>
..
..
..
and run this script, modify group(s) and Sender name as appropriate,
#!/bin/sh
# list should contain Message-ID
group=hk.test
cat list | while read line
do
echo $line | awk '{ printf "Sender: Dummy <cklo@hkucs92.air.org>\nSubject: cmsg cancel %s\nControl: cancel %s\n\n\n", $1, $1, $2, $3 }' | inews -h -n $group
done
--
Chris Lo A___A
chris@air.org ____ / o o \
cklo@HK.Super.Net _/~____ =^= /
Chris.Lo@p89.f487.n700.z6.fidonet.org <______>__m_m_>
Technical Details
Message-ID:
<4ssbff$64a@hkucs92.air.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.unix.admin.mbox.zip!not-for-mailReferences:
<4sqbjj$bhg@dodo.global.co.za>Show Full Headers
Complete Article Headers
Message-ID: <4ssbff$64a@hkucs92.air.org> Subject: Re: Usenet post Cancelling Date: Sun, 21 Jul 1996 00:00:00 +0000 From: cklo@hkucs92.air.org (Chris Lo) References: <4sqbjj$bhg@dodo.global.co.za> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.unix.admin.mbox.zip!not-for-mail X-Deja-AN: 169145093 Distribution: inet Organization: Association for Internet Resources Reply-to: cklo@cklo.hk.super.net Newsgroups: comp.unix.admin,news.software.nntp