Questions and answers
2644
How can I configure my mailing list so as to allow only sussex.ac.uk addresses to join it?
- Open your list's admin web page (https://lists.sussex.ac.uk/mailman/admin/listname, where listname is the name of your mailing list).
- After having gained entry, click the Privacy Options link.
- Scroll down to the option box labelled "List of addresses which are banned from membership in this mailing list".
- In the box, enter the following expression in the box (it will be easier if you copy the entire expression and paste it into the box):
^.+@(?!sussex\.ac\.uk$)
The literal meaning of this expression is "any email address not ending with sussex.ac.uk".
You can include Sussex's mail subdomains (for example, cpes.sussex.ac.uk) in this restriction if you wish, by using the following expression instead (again, use copy and paste):
^.+@(?!.*\.*sussex\.ac\.uk$)
The literal meaning of this expression is "any email address not ending with an optional word and a dot, and sussex.ac.uk".
- Click the button to put this change into effect.
- Click the Logout link to close your admin page.
If you're curious:
The expressions given above are examples of regular expressions, used for text pattern matching.
If you're really curious:
There are various guides and tutorials to regular expressions on the web. For example, see:
www.zytrax.com/tech/web/regex.htm
Help us to improve this answer
Please suggest an improvement
(login needed, link opens in new window)
Your views are welcome and will help other readers of this page.
Categories
This is question number 2644, which appears in the following categories: