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