Great Circle Associates Majordomo-Workers
(August 1996)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: blocking malicious multiple subscribes, was Re: Another big patch coming; input wanted
From: Dave Wolfe <dwolfe @ risc . sps . mot . com>
Date: Fri, 16 Aug 1996 08:49:08 -0500 (CDT)
To: majordomo-workers @ greatcircle . com (Majordomo developer's mailing list)
In-reply-to: <Pine.NEB.3.92.960815192555.10491B-100000@zap.io.org> from "Brian Tao" at Aug 15, 96 07:29:13 pm
Reply-to: Dave Wolfe <david_wolfe @ risc . sps . mot . com>

[ Brian Tao writes: ]
> 
>     You can also setup a very simply watchdog script that runs on your
> Majordomo server once a night:
> 
> cd /var/majordomo/lists ; sort *-l *-l-digest | uniq -c | sort -nr | head
> 
>     This will give you the top ten people subscribed to the most lists
> on your server (mailing lists here are all named consistently).

Even if one's lists aren't named so consistently, Mj knows that list
files don't contain a '.', so this pipeline could be written as:

cd /var/majordomo/lists ; sort `ls | grep -v '\.'` | uniq -c | sort -nr | head

For sort implementations that have the -u option:

cd /var/majordomo/lists ; sort `ls | grep -v '\.'` | sort -unr | head

-- 
 Dave Wolfe    *Not a spokesman for Motorola*
 Motorola MMTG  6501 Wm. Cannon Dr. W. OE112  Austin  TX  78735-8598


References:
Indexed By Date Previous: Re: blocking malicious multiple subscribes, was Re: Another big patch coming; input wanted
From: Brock Rozen <brozen@netvoyage.net>
Next: Bug reports and workarounds for 1.94a9
From: Giles Lean <giles@nemeton.com.au>
Indexed By Thread Previous: Re: blocking malicious multiple subscribes, was Re: Another big patch coming; input wanted
From: Brian Tao <taob@io.org>
Next: Re: blocking malicious multiple subscribes, was Re: Another big patch coming; input wanted
From: Brock Rozen <brozen@netvoyage.net>

Google
 
Search Internet Search www.greatcircle.com