chiark / gitweb /
New "blocklist" rejection reason
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 20 May 2010 23:40:07 +0000 (00:40 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 20 May 2010 23:40:07 +0000 (00:40 +0100)
stump/bin/submission.pl
stump/etc/messages/blocklist.IN1 [new file with mode: 0644]
webstump/skeleton/rejection-reasons.IN1

index a6f05fd..8a7331a 100755 (executable)
@@ -215,7 +215,7 @@ sub Filter {
   }
 
   if( &nameIsInList( $From, $badGuys ) ) {
-    return "$Command_Reject abuse";
+    return "$Command_Reject blocklist";
   }
 
   # note that if even a preapproved person uses "BAD words" (that is
diff --git a/stump/etc/messages/blocklist.IN1 b/stump/etc/messages/blocklist.IN1
new file mode 100644 (file)
index 0000000..9bd3b5a
--- /dev/null
@@ -0,0 +1,14 @@
+Thank you for your message.  However, we have not approved it because
+it appears to be from a poster who has been blocked from posting to
+%GROUP%.  If you don't know why please get in touch.
+
+You can find the group charter and moderation policy at:
+  %GROUPURL%
+Please direct your queries to:
+  %MODEMAIL%
+
+If you have difficulty reaching the moderators (eg due to
+spamfiltering) please tell %SPAMFILTERINGADMIN%.
+
+Thank you,
+       - Moderator.
index 1a3cf94..3d3d42f 100644 (file)
@@ -7,3 +7,4 @@ test::message is a test
 meta::unconstructive or excessive metadiscussion
 inflammatory::needlessly inflammatory
 mistake::appears to have been posted in error
+blocklist::poster banned