print friendly version

Questions and answers

2644
How can I configure my mailing list so as to allow only sussex.ac.uk addresses to join it?


  1. Open your list's admin web page (https://lists.sussex.ac.uk/mailman/admin/listname, where listname is the name of your mailing list).
  2. After having gained entry, click the Privacy Options link.
  3. Scroll down to the option box labelled "List of addresses which are banned from membership in this mailing list".
  4. 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".

  5. Click the 'Submit Your Changes' button button to put this change into effect.
  6. 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:

    Created by Andy Clews on 21 March 2014 and last updated by Richard Byrom-Colburn on 20 October 2016