On 4/1/22 10:57, Bruce Johnson via Mailman-Users wrote:
I would like to enable a particular list to automatically accept postings from 
any address in our top level domain, eg: anyone with an @*.arizona.edu address

would I just enter ^@*.arizona.edu in the "List of non-member addresses whose 
postings should be automatically accepted.” box?

Would that include usern...@arizona.edu as well or do I need to add 
^@arizona.edu ?

regexes are not remotely my strong suit.


The regexp you want is

^.*[@.]arizona\.edu$

This will match any address ending in `arizona.edu` immediately preceded by `@` or `.`. Essentially what that regexp says is start at the beginning of the string, match zero or more characters followed by `@` or `.` followed by `arizona.edu` at the end of the string.


--
Mark Sapiro <m...@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
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
   https://mail.python.org/archives/list/mailman-users@python.org/

Reply via email to