The DirectAdmin environment includes the Majordomo mailing list software.
A. If you simply want to restrict posting to the list to people who are on the mailing list, go to the settings screen for the list (Mailing Lists->view->click here) and into the 'Restrict Post' box enter the name of the list (without any @domain part), then do a save. This will cause any postings to the list to be rejected unless the sender's email address is subscribed to the list.
To restrict postings to a specific group of persons not related to who is on the list, create a file somewhere in your home directory and put the email address of each allowed person in that file, one per line. Make this file world-readable. Then into the 'Restrict Post' box put the full pathname of that file and do save. This will cause Majordomo to allow postings to the list only if the sender's email address is in the file you created.
A. First, be absolutely sure these people really want to be on the list. Then, on the settings screen for the list, set the 'Welcome' item to 'No' and do save. This will suppress all welcome messages from Majordomo. Now send email to Majordomo in which you mass-subscribe people, one per line, like this:
approve <password> subscribe <list> <email address> approve <password> subscribe <list> <email address> ... approve <password> subscribe <list> <email address>
For example, we could add people to a list called 'email@example.com' with password 'sjw343' with an email that looks like this:
approve ajw343 subscribe firstname.lastname@example.org email@example.com approve ajw343 subscribe firstname.lastname@example.org email@example.com ... approve ajw343 subscribe firstname.lastname@example.org email@example.com
When done, you should re-enable the 'Welcome' option, so that people who subscribe in the future will get a welcome message from the list.
This document is: http://faq.rahul.net/cgi-bin/fom.cgi?file=63
[Search] [Appearance] This is a Faq-O-Matic 2.721.