[Mailman-Users] Re: Allow any non-member from specific domains to send email to a list without moderation

2022-04-01 Thread Bruce Johnson via Mailman-Users
Thank you, Mark, as always, you’re a lifesaver!

On Apr 1, 2022, at 3:13 PM, Mark Sapiro 
mailto:m...@msapiro.net>> wrote:

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 mailto:m...@msapiro.net>>The highway is 
for gamblers,
San Francisco Bay Area, Californiabetter 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/

--
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs

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


[Mailman-Users] Re: Allow any non-member from specific domains to send email to a list without moderation

2022-04-01 Thread Mark Sapiro

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 The highway is for gamblers,
San Francisco Bay Area, Californiabetter 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/