Adrián Márques wrote:

I'm new to mailman, trying to set up a few lists and would like to restrict subscribers to those with email addresses from a particular domain, for example, only addresses of the form <user>@foodomain.com. I've seen that a moderator can accept subscribers, but can the filter described above be automated?


You could put a regular expression <http://docs.python.org/lib/re-syntax.html> in Privacy options...->Subscription rules->ban_list to ban any address not in the foodomain.com domain. Something like

[EMAIL PROTECTED]@(?!foodomain\.com$)

or, if you want to also allow [EMAIL PROTECTED]

[EMAIL PROTECTED]@(?!(.*\.)?foodomain\.com$)

--
Mark Sapiro <[EMAIL PROTECTED]>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9

Reply via email to