🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #68109

Re: How to cancel a moderatd message INN 2.3.4

#68109
From: Rob Maxwell
Date: Fri, 13 Feb 2004 09:20
99 lines
5858 bytes
"pbs" <pnews@lomarline.freeserve.co.uk> wrote in message
news:c0c707$a0q$1@squay.lomarline.freeserve.co.uk...
> Rob Maxwell wrote:
> > "pbs" <pnews@lomarline.freeserve.co.uk> wrote in message
> > news:c072k1$vi0$1@squay.lomarline.freeserve.co.uk...
> >
> >>I have set up which allows me to moderated messages to a local group
> >>called ylg.test using INN 2.3.4 on a Linux (RH9) OS.
> >>
> >>After a moderator has OKed the posting it is sent to a filter
> >>via an alias in /etc/sendmail which
>
> whoops this line should haver read:
> via an alias in the /etc/aliases (sendmail) file which
>
> >>1) strips off the headers added by the re-emialing
> >>2) Strips out any header lines with "^X-"
> >>3) Calls $PATHBIN/mailpost -a moderator ylg.test
> >>
> >>For standard postings it works as expected.
> >>
> >>BUT when a user tries to cancel the message.
> >>a) It goes to the moderator email.
> >>b) same steps as before.
> >>c) then mailpost puts an "X-" in front of the "Control: cancel" field.
> >>d) The message gets posted as a new message instead of cancelling the
> >>    original posting.
> >
> >
> > Since the cancel control goes to the moderator first, it is a lot easier to
just
> > have the moderator cancel the post themselves, instead of relaying the
cancel
> > control. A moderator does have the authourity to issue third-party moderator
> > cancels. Likewise, you, as the server admin, have the authority to issue
cancels
> > for your users.
>
> I must be missing something :-(
>
> I have a moderator set up as an email alias called moderator@lo.. The
> email address and user ID behind the alias is at the moment "fred". If
> fred tries to post a message to the news group ylg.test with a standard
> news client, because ylg.test has an "m" flag in the active file the
> message gets sent as email -- see above.

If freds adds an "Approved:" header to the post, it should post directly into
the newsgroup. A message without the "Approved:" header will be intercepted
because of the "m" flag and be emailed regradless of who sends it, including
fred. All a moderated newsgroup cares about is whether the "Approved:" header is
there or not and not who is trying to post to it.

>
> What software do I need to use to allow the fred user id (the moderator)
> to access the account directly to cancel ylg.test messages, where the
> message has "From: pnews@lo.." and "Approved: moderator@lo.."? -- which
> I could manually alter to be "Approved: fred@lo.." if that would help!

fred needs a standard news client that will allow fred to add Control and
Approved headers to fred's messages, the ability to post directly to the news
server without using the alias software, and likely, permission to post Approved
messages. In fact, the software that is used after fred OKs a post is highly
unusual and not needed. Your average moderator posts all OKed messages directly
into the moderated newsgroup using an Approved header added to the OKed message.

To be more clear..
1) fred receives the cancel attempt from the poster.
2) fred, using fred's news client, makes a new post that includes the following
headers:

Subject: cmsg cancel <message-ID>
Control: cancel <message-ID>
Approved: moderator@lo..

In other words, if I were fred and I wanted to cancel your post that I am
replying to, I would use these headers:

Subject: cmsg cancel <c0c707$a0q$1@squay.lomarline.freeserve.co.uk>
Control: cancel <c0c707$a0q$1@squay.lomarline.freeserve.co.uk>
Approved: moderator@lo..

Depending on the news server's RFC 1036 compliance, fred may have to "borrow"
the poster's Username and email address that is in the From: header to cancel
the message. You may need to tell the news server to accept cancels, as well.

Note that moderated/unmoderated means nothing to a cancel message. The cancel
message simply tells the news server to delete the massage if it is on the news
server. Also, a successful cancel message ends up in the newsgroup
"control.cancel" and not in the newsgroup(s) the original message was in.

Lastly, you can cancel a message from the command line thusly:
ctlinnd cancel Message-IdFor example,to cancel your last message here:ctlinnd
cancel <c0c707$a0q$1@squay.lomarline.freeserve.co.uk>Note that nothing will show
up in control.cancel if you use the ctlinnd cancel command, the message will
simply and quietly go away.-Rob>
> Will inews do what I need and would you recommend using inews directly?

Technical Details
Message-ID: <c0i6cp$16l37r$1@ID-80930.news.uni-berlin.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!intern1.nntp.aus1.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!border1.nntp.sjc.giganews.com!nntp.giganews.com!newsfeed3.easynews.com!core-easynews!newsfeed1.easynews.com!easynews.com!easynews!newspeer1.nwr.nac.net!solnet.ch!solnet.ch!fu-berlin.de!uni-berlin.de!0-1pool81-242.nas6.gainesville1.fl.us.da.qwest.NET!not-for-mail
References: <c072k1$vi0$1@squay.lomarline.freeserve.co.uk> <c07cle$13cvqg$1@ID-80930.news.uni-berlin.de> <c0c707$a0q$1@squay.lomarline.freeserve.co.uk>

Show Full Headers
Complete Article Headers
Message-ID: <c0i6cp$16l37r$1@ID-80930.news.uni-berlin.de>
Subject: Re: How to cancel a moderatd message INN 2.3.4
Date: Fri, 13 Feb 2004 04:20:44 -0500
From: "Rob Maxwell" <robu-san@excite.com>
References: <c072k1$vi0$1@squay.lomarline.freeserve.co.uk> <c07cle$13cvqg$1@ID-80930.news.uni-berlin.de> <c0c707$a0q$1@squay.lomarline.freeserve.co.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!intern1.nntp.aus1.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!border1.nntp.sjc.giganews.com!nntp.giganews.com!newsfeed3.easynews.com!core-easynews!newsfeed1.easynews.com!easynews.com!easynews!newspeer1.nwr.nac.net!solnet.ch!solnet.ch!fu-berlin.de!uni-berlin.de!0-1pool81-242.nas6.gainesville1.fl.us.da.qwest.NET!not-for-mail
Newsgroups: news.software.nntp
Lines: 99
Reply-To: "Rob Maxwell" <robu-san@excite.com>
NNTP-Posting-Host: 0-1pool81-242.nas6.gainesville1.fl.us.da.qwest.net
 (65.144.81.242)
X-Trace: news.uni-berlin.de 1076665566 40537339 D 65.144.81.242 ([80930])
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165