Example of Moderated ListLast Updated: January 21, 2000One of the powerful features of the Majordomo software is the ability to create moderated lists which are controlled by a central moderator. This control prevents abuse of your mailing list by outside parties as well as allowing the moderator to restrict frivolous postings. To set up a moderated Majordomo mailing list, you will need to do two things: In the example below, the sample files represent a mailing list titled "sample". You will want to substitute the occurrence of "sample" in the files below with the name of your moderated mailing list.
Majordomo Aliases Configuration The lines below represent the aliases that you should add to your
" |
# sample moderated mailing list owner-sample: bill@yourcompany.com sample: "|/usr/local/majordomo/wrapper resend -A -R -l sample -h yourcompany.com sample-hidden-list" sample-approval: owner-sample sample-hidden-list: :include:/usr/local/majordomo/Lists/sample owner-sample-outgoing: owner-sample sample-request: "|/usr/local/majordomo/wrapper request-answer sample" owner-sample-request: owner-sample
| Note that in the example above the "hidden" mailing list is
actually an alias "sample-hidden-list". You will probably want to
change the occurrences of "sample-hidden-list" to be something
obscure (since this is the first thing people who want to break in your list
will check for). You will also want to disable two dangerous commands in the majordomo perl script, namely "who" and "which". You can do this by commenting out lines 159 and 160 in the "majordomo" script in your usr/local/majordomo area. It is also wise to modify your Virtual Server's "sendmail.cf" file (located in your "etc" directory) so that outside parties cannot expand (EXPN) and verify (VRFY) email aliases. Add the following line as the last entry in the "Options" section in your sendmail.cf file:
Majordomo List FilesThe following three files represent what you will need for your moderated mailing list. You will need to create these three files for each moderated list and store them in your "~/usr/local/Majordomo/Lists" area.
Now that you have a moderatored mailing list, you will need to know how to post to it. You must supply your password as a user defined mail header titled "Approved:". So if for example your password was "mypass", you would need to add the following header to a message for it to be approved:
|
Copyright © 1996 - 2000 Last Modified: 21 January 2000. A Little Technology Shoppe, LLC. All rights reserved. All brand names and product names used on these web pages are trademarks, or trade names of their respective holders.