NNTP Integration - Delete canceled Messages [message #33292] |
Thu, 24 August 2006 08:53 |
woody
Messages: 19 Registered: August 2006
Karma:
|
Junior Member |
|
|
Hi All
Messages Canceled on NNTP should also be deleted on the Forum.
What is it about?
NNTP Networks quite often get abused to post Spam. The Amount of postings is to large, to switch Moderation 'on' or you would get a Forum Manager which is permanenty approving messages.
On NNTP the problem is solved by special scripts which compute Spam-Checksums over the messages and when a message is identified spam, issue a global 'cancel' message within normaly a few minutes.
The Spam-Posting then get's deleted on all of the connected NNTP Servers carrying that newsgroup.
I know this probably is not easy to achive to sync back those deleted messages to the forum. There are two ways I could immagine:
1: Have a script like nntp.php which, for example does a nightly check of the newsgroups and removes all messages from the forum, which have disappeared from the newsgroup. This probably is quite ressource consuming and not 'real time'.
2: Have something like nntp.php which does read the special newsgroup 'control.cancel' and removes all messages from the forum, which are listed as being canceled in this special newsgroup. Usualy on NNTP this is done by identifying a posting by it's Message-ID. I don't know if the forum also indexes the Messages by Message-ID but if so, this probably is the most efficient and easy way, but could be ressource consuming as all cancel messages show up into 'control.cancel', not only the ones from the newsgroups imported to the forum, so all would need to be parsed for valid Message-ID's.
3: If you run the Forum on the same Machine as the Newsserver, you could feed 'look up in the INN documentation what a Programm-Feed is' only cancel messages about imported newsgroups to a programm which directly deletes them from the forum (also by Message-ID), which would be very ressource saving and fast.
-Benoit-
|
|
|