[Mailman-Users] Restricting subscribers
Mark Sapiro
mark at msapiro.net
Tue Jul 22 17:39:14 CEST 2008
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
^[^@]*@(?!foodomain\.com$)
or, if you want to also allow user at xxx.foodomain.com
^[^@]*@(?!(.*\.)?foodomain\.com$)
--
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