Re: how to restrict postings from a particular email
In article <v03130311b8e9ecdc17ce@[192.168.123.10]>, Charlie Summers <charlie@lofcom.com> writes:
At 12:20 PM -0400 4/22/02, Kapoor, Nishikant X is rumored to have typed:
Is there a way to restrict postings from a particular email address ? I have a poster who just would not stop posting junk stuff ?
This is something of a FAQ, too; or at least is covered in the Manual file (see section 3b) that comes with the SmartList distribution. Short answer: add the address to the linked reject file.
The reject file is unfortunately only applied to subscribe requests; if someone is subscribed to your list, adding their e-mail address to the reject file won't prohibit them from posting. This patch to rc.submit should make SmartList use the reject file to screen list postings. diff -u -r1.5 -r1.6 --- rc.submit 1999/06/07 15:31:40 1.5 +++ rc.submit 1999/06/23 17:57:17 1.6 @@ -109,6 +109,20 @@ multigram -b1 -m -l$submit_threshold -L$domain \ -x$listaddr -x$listreq $accept_files { + # Check to see if the poster is on the reject list. The reject + # list overrides the accept list. + + :0 + * ? formail -X"From " -xFrom: -xReply-To: -xSender: -xResent-From: \ + -xResent-Reply-To: -xResent-Sender: -xReturn-Path: | \ + multigram -b1 -l$reject_threshold reject rejectx + { + :0 wfh + | formail -A "X-Diagnostic: Found on the reject list" \ + -A "X-Diagnostic: `multigram -b1 -l$reject_threshold reject rejectx`" + + HOST=continue_with_rc_request + } INCLUDERC=$RC_LOCAL_SUBMIT_10
At 1:42 PM -0400 4/22/02, Tim Pierce is rumored to have typed:
The reject file is unfortunately only applied to subscribe requests; if someone is subscribed to your list, adding their e-mail address to the reject file won't prohibit them from posting.
Of course. It is a reasonable assumption to make that if this person is sending junk, he would have been unsubscribed. Therefore the only problem is keeping him from coming back. (This is, of course, doomed to failure, since he'll just find a new freebie account and return. But that's a policy issue, not a technical one, and is better suited to a listmaster's list than the SmartList one.)
This patch to rc.submit should make SmartList use the reject file to screen list postings.
Again, it seems a lot of unnecessary work, since (at least on every list I know about) if someone is consistantly sending unwanted posts, and refuses to stop after being asked to do so by the listmaster, that address is summarily unsubscribed. (And if you're determined to leave a specific address subscribed and ignore postings from them, a simple /dev/null drop in rc.local.s00 makes more sense than worrying about scoring from the reject file.) Charlie
participants (2)
-
Charlie Summers
-
Tim Pierce