[Mailman-Users] Regexp for blocking addresses

Mark Sapiro mark at msapiro.net
Tue Sep 29 20:29:00 CEST 2015


On 09/29/2015 11:09 AM, Matthew Saltzman wrote:
> On Mon, 2015-09-28 at 19:41 -0700, Mark Sapiro wrote:

>> You want either the regexp I'm
>> using or one of the 'safer' ones in my reply at
>> <https://mail.python.org/pipermail/mailman-users/2015-September/07987
>> 4.html>.
> 
> The regexp in the linked message has left parens instead of left
> braces, but otherwise seems to be working so far. I added it with
> @gmail.com and @usc.edu to be even safer (as those are the only ones
> I've seen to this point), but will watch for other domains for a while.

My bad. A typo. They should be braces as in

^.*\+\d{3,}@

or

^.*\+\d{5,}@

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the Mailman-Users mailing list