[Mailman-Users] Regexp in accept_these_nonmembers

Mark Sapiro mark at msapiro.net
Mon Nov 24 20:20:44 CET 2014


On 11/23/2014 09:15 PM, Olivier Nicole wrote:
> 
> Mark Sapiro <mark at msapiro.net> writes:
>>
>> Your regexp should work although it will actually also accept things
>> like 'root at xbknix.co.th'. Also, '@' is not special and doesn't need to
>> be escaped. I would use '^root@(.*\.)?bknix\.co\.th$'.
> 
> Thank you, I was not sure to what extend I could use the regexp syntax.


Regexps provided to Mailman are all Python flavor regexps and are
usually compiled in IGNORECASE mode. Any legal Python regexp is allowed
and will be matched as in Python's re module
<https://docs.python.org/2/library/re.html#regular-expression-syntax>.


> Sorry, I overlooked the "Message has implicit destination" part. Now it
> makes sense.


I guess that means you know how to fix it?

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