A better strategy is not to disable the "lists" command (its been tried
here, and its a pain in the arse to answer all the people who legitimately
use it), but to disable more than two subscribes in one message. Without
fail, this is the indicator of some bozo subscribe-bombing a victim.
Here's the patch for 1.94.3. I'm sorry I've lost the attribution:
*** majordomo.unpatched Mon Jun 23 14:22:56 1997
--- majordomo Mon Jun 23 14:23:31 1997
***************
*** 234,239 ****
--- 234,245 ----
# Everything from here on down is subroutine definitions
sub do_subscribe {
+
+ if (! $approved && $count > 2 ) {
+ &squawk("$sm: not approved");
+ return 0;
+ }
+
# figure out what list we are trying to subscribe to
# and check to see if the list is valid
local($sm) = "subscribe";