[ 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:
|
|