Modifying the body of an article

Bartosz Maruszewski bart at accept.id.pl
Wed Jul 19 12:28:36 UTC 2000


On Wed, Jul 19, 2000 at 04:55:21AM -0400, greg andruk wrote:
> 
> Okay, so you only need to edit locally posted articles, since there
> won't be any other kind?

Exactly.

> 
> In that case, you can set up all the newsgroups as moderated, and use
> the nnrpd filter to prevent users from self-approving articles.  The
> moderation program can perform the changes before final posting.

But here arises a question: How do I distinguish between
self-approving articles (which are to be saved in "spam/") and
articles which are to be posted (after moderation) ?

> 
> If you would rather avoid the mail step, another approach would be to
> use the SPOOL action offered by the nnrpd filter.  Your program could
> pull article files from spool/incoming/spam, alter them, and then
> deposit them into spool/incoming for rnews to hand off to innd.

Right. That's just what I nedded. Thank You for ideas.

Bartosz Maruszewski



More information about the inn-workers mailing list