🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Jordan Russell Wed, 01 Aug 2001 23:49
INN: CC replies by e-mail, but only on certain threads?
#53601
Author: Jordan Russell
Date: Wed, 01 Aug 2001 23:49
19 lines
1566 bytes
Hi,

I'm using INN 2.3.2, and here's my predicament:

Say joe@blow originates a few threads on a newsgroup.

I would like for INN to automatically CC all replies to his messages to his
e-mail address. To figure out which messages are replies to his, it would
compare the References headers of posts against the Message-ID of his posts.

Is this somehow possible? Are there any pre-made scripts (or similar)
available to do this?

Thanks..

Jordan Russell


Re: INN: CC replies by e-mail, but only on certain threads?
#53603
Author: Russ Allbery
Date: Thu, 02 Aug 2001 00:36
26 lines
1916 bytes
Jordan Russell <jorda-n-r@i-n-ame.com> writes:

> Say joe@blow originates a few threads on a newsgroup.

> I would like for INN to automatically CC all replies to his messages to
> his e-mail address. To figure out which messages are replies to his, it
> would compare the References headers of posts against the Message-ID of
> his posts.

> Is this somehow possible?

You can do it by setting the newsgroup to moderated with a mail to news
gateway as the moderator that also notes information about message ID and
so forth and then handles the cc'ing.  You may also be able to do it from
inside the nnrpd Perl or Python posting filter.

> Are there any pre-made scripts (or similar) available to do this?

Not that I'm aware of.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: INN: CC replies by e-mail, but only on certain threads?
#53605
Author: Terrance Richard Boyes
Date: Thu, 02 Aug 2001 01:13
40 lines
2860 bytes
Jordan Russell <jorda-n-r@i-n-ame.com> wrote:
> I'm using INN 2.3.2, and here's my predicament:

> Say joe@blow originates a few threads on a newsgroup.

> I would like for INN to automatically CC all replies to his messages to his
> e-mail address. To figure out which messages are replies to his, it would
> compare the References headers of posts against the Message-ID of his posts.

> Is this somehow possible? Are there any pre-made scripts (or similar)
> available to do this?

A similar question came up a while ago, I can't recall if there
was anything actually available at the time. But the general
suggestion was to add something to your filter_innd.

How do want to add a new message-id to be tracked ?
If it'll just be added behind the scenes by your news user,
then you'll just need to create a simple DB of message-id
and email address, and reload your filter.

That assumes you only care about posts made after you've added
the new message-id to track, if you want posts received 
before then you'd need to do more work to look at those
articles. Fairly simple in the normal case of a post to
a single group where nobody sets followups elsewhere.
If you also want to deal with the latter then you'd
need to add some slightly convoluted code to trace
the message-id forward.

OTOH if diskspace isn't an issue you could use filter_innd
to keep a complete database of all references separate
from the overview, and just scan that when a new message-id
is added.

-- 
<URL:http://www.pierrot.co.uk/>                                  Team AMIGA
Every hand has only one finger to put a ring on.  You've got only two hands. So?

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