[Mailman-Users] Filter for exact domain names

Cyndi Norwitz cyndi at norwitz.net
Sat Dec 13 20:02:36 CET 2008


On Dec 13, 2008, at 9:42 AM, Mark Sapiro wrote:

> Cyndi Norwitz wrote:
>
>> I can add this line of code: ^[^@]+@(.*\.)?tom\.com$
>>
>> But I am concerned that this will discard all .com domain names that
>> end with tom, which may be some legit ones.
>
> It won't

Great.

> So the whole regexp matches
>
> at least one non-@ followed by @ optionally followed by anything that
> ends with a period followed by tom.com at the end.

Thanks, I've gone ahead and added the code.

Much appreciated.

Cyndi




More information about the Mailman-Users mailing list