It is impossible to completely block unsolicited email; however there
are several ways that you can reduce the exposure of your mailing list
to this type of email, by using majordomo configuration options.
Before making these changes, examine your configuation file. If you already have these options; change the existing values if necessary. If you do not already have these options, add them to the end of your file (before the the EOF).
noadvertise <<END /.*/ END
moderate = yes
restrict_post = list_name
where list_name is the name of your list. Of course, if your list is "open" then anyone can subscribe and then post to your list. You can "close" the list, and then you will need to approve every subscription request. For more details, see the next item for subscribe_policy instructions.
subscribe_policy = closedFor more information, please refer to Subscription policies.
who_access = closed or who_access = listIf you use "closed", then no one will be able to obtain a list of all the addresses subscribed to your mailing list. If you use "list" then only list members will be able to obtain a list of the addresses subscribed to your mailing list.
First you will need to get a copy of your current majordomo list configuration file. If you own a digest, make sure to follow these instructions for both the regular list and the digest list.
In order to receive a copy of your list's configuration file, send mail addressed to majordomo@listlink that contains this command:
config list_name list_passwordreplacing list_name with the name of your list and list_password with your password.
In return, you'll receive a copy of your current configuration file.
You'll need to save this in a file. Edit that file and remove everything up to and including this line:
>>>> config list_name list_passwdincluding the mail headers. At the top of the configuration file add this line:
newconfig list_name list_passwdreplacing list_name with the name of your list and list_password with your password.
You will also need to make sure that
EOFis the last line in your configuration file.
Make sure that you add the changes to your existing configuration file. If you send only the new changes then all the rest of your previous configuration file will be lost.
When you are through, mail the entire configuration file, which includes your changes, to majordomo@listlink.