From 80e6d6e52489bca6fe500e7b6c88c4c9cb8eb5a0 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 21 May 2010 00:40:07 +0100 Subject: [PATCH] New "blocklist" rejection reason --- stump/bin/submission.pl | 2 +- stump/etc/messages/blocklist.IN1 | 14 ++++++++++++++ webstump/skeleton/rejection-reasons.IN1 | 1 + 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 stump/etc/messages/blocklist.IN1 diff --git a/stump/bin/submission.pl b/stump/bin/submission.pl index a6f05fd..8a7331a 100755 --- a/stump/bin/submission.pl +++ b/stump/bin/submission.pl @@ -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 index 0000000..9bd3b5a --- /dev/null +++ b/stump/etc/messages/blocklist.IN1 @@ -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. diff --git a/webstump/skeleton/rejection-reasons.IN1 b/webstump/skeleton/rejection-reasons.IN1 index 1a3cf94..3d3d42f 100644 --- a/webstump/skeleton/rejection-reasons.IN1 +++ b/webstump/skeleton/rejection-reasons.IN1 @@ -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 -- 2.30.2