Great Circle Associates Majordomo-Users
(December 1996)
 

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

Subject: Re: Preventing access
From: Dave Wolfe <dwolfe @ risc . sps . mot . com>
Date: Wed, 18 Dec 1996 10:31:20 -0600 (CST)
To: obrien @ aonix . com (Neil O'Brien)
Cc: majordomo-users @ greatcircle . com
In-reply-to: <01BBECCE.7BBE2E60@fielding.east.aonix.com> from "Neil O'Brien" at Dec 18, 96 10:30:25 am
Reply-to: Dave Wolfe <david_wolfe @ risc . sps . mot . com>

[ Neil O'Brien writes: ]
> 
> A user swamped my system by getting his mailer daemon to send a huge number 
> of posts, I tried to prevent them getting access by putting the following 
> in my majordomo.cf file:
> 
> $global_taboo_headers = <<'END';
> /^from:.*@company.com/i                        <--- My addition here!
> /^subject:.*non-delivery notice/i
> END
> 
> But they still managed to subscribe. (company changed to protect the 
> guilty).

Wait a minute. Did they post or subscribe? The taboo stuff only works on
mail to lists, not to Majordomo. You keep them from subscribing by
requiring approval for every subscribe (subscribe_policy = closed). The
taboo_headers can only keep them from posting, but you need to escape
the '@' and '.' to keep Perl from trying to interpolate an array
"@company", which is certainly null, and bouncing all mail on every list
from any address in the "com" domain.

/^from:.*\@company\.com/i
         ^        ^

-- 
 Dave Wolfe


References:
Indexed By Date Previous: Re: Reply-To
From: Ellie Feldman <ellie@itta.org>
Next: Unknown mailer error 2
From: Munirih Hodge <mhodge@hq.marh.gov.bc.ca>
Indexed By Thread Previous: Preventing access
From: "Neil O'Brien" <obrien@aonix.com>
Next: unknown mailer error 139
From: Fred Woodbridge <fred@internetmedia.com>

Google
 
Search Internet Search www.greatcircle.com