print friendly version

Questions and answers

1175
How can I configure my mailing list so that ONLY Sussex people can post messages to it?


This article describes how you can configure your Sussex mailing list so that it will only accept emails from sussex.ac.uk email addresses (in addition to the addresses that already belong to the mailing list).

  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. Click the Sender Filters link.
  4. Scroll down to the option box labelled "List of non-member addresses whose postings will be automatically rejected". 
  5. Enter the following one-line expression, exactly as shown, into the box:

    ^.+@(?!sussex.ac.uk$)

    (You might like to copy this expression using your mouse, and paste it into the Mailman option box, to ensure an exact copy.  The expression means "any address not ending with sussex.ac.uk")

    NOTE: this would result in such emails being sent back to the senders.  If you would prefer for such emails to be silently discarded, enter the expression into the next box down instead, which is labelled "List of non-member addresses whose postings will be automatically discarded".  With that option, the discarded messages would be copied to the list moderators, so at least they'd know about any messages being discarded.

  6. Click the 'Submit Your Changes' button button to put this change into effect.
  7. Click the Logout link to close your admin page.

The expression given in step 5 is an example of what is called a regular expression: you can learn more about regular expressions in Wikipedia.

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 1175, which appears in the following categories:

Created by Andy Clews on 9 September 2005 and last updated by Richard Byrom-Colburn on 29 September 2016