[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mailman-users
Subject:    Re: [Mailman-Users] ISO RegExp example to block bot subscribe requests
From:       Mark Sapiro <mark () msapiro ! net>
Date:       2015-08-30 1:32:21
Message-ID: 55E25D25.5030106 () msapiro ! net
[Download RAW message or body]

On 08/27/2015 08:32 PM, Stephen J. Turnbull wrote:
> Woody Mon via Mailman-Users writes:
> 
>  > So I tried entering RegExp ^.*+ but Mailman rejected this entry.
> 
> That's illegal syntax for a regexp because "+" is an operator.
> 
> The version you want is "^.*\+".  However, that is a very bad idea if
> you have any posters with email skills, because embedding "+" in the
> return address for outgoing mail is a common way to identify the
> source of incoming replies.
> 
> A more conservative regexp would be "^[a-z]+\+[0-9]+@" which will
> catch the pattern of LETTERS "+" DIGITS.


Also, see my reply to Nelson Kelly at
<https://mail.python.org/pipermail/mailman-users/2015-August/079671.html>.

-- 
Mark Sapiro <mark@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: https://mail.python.org/mailman/options/mailman-users/mailman-users%40progressive-comp.com
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic