|
[ Getting
Started ] [ Server
Help ] [ Add
on Help ] [ Solution
] [ Trouble Shooting ]
PLEASE NOTE, THIS IS VERY OLD ARCHIVE
INFORMATION AND MAY NOT FUNCTION ON NEW SERVERS
Installing Majordomo
To install Majordomo,
Telnet or SSH to your Virtual
Server and do the following:
- Install Perl5
on your Virtual Server.
- Run the following commands that match your Virtual Server O/S:
|
FreeBSD
% vinstall majordomo
|
BSD/OS
% cd
% tar xvf /usr/local/contrib/majordomo.tar
|
|
NOTE: If your Virtual Server was ordered after Nov 22, 1999, you are likely
running FreeBSD. To find out which O/S your Virtual Server is running, use the
uname command:
% uname
If your Virtual Server is not already running FreeBSD,
Upgrade to a New FreeBSD Virtual Server
today!
|
- Change the permission on the directories usr,
usr/local, usr/local/majordomo and
usr/local/majordomo/Lists to 755:
% chmod 755 usr
% chmod 755 usr/local
% chmod 755 usr/local/majordomo
% chmod 755 usr/local/majordomo/Lists
- In the majordomo.cf file, change the definition of the
$whereami variable from
YourCompany.COM to your domain name (see line 2). You can
do this by using pico, a simple, easy to use UNIX text
editor:
% pico -w ~/usr/local/majordomo/majordomo.cf
Feel free to edit any other configuration variable
in usr/local/majordomo/majordomo.cf to your liking.
- Edit your etc/aliases and add aliases like the following:
# Majordomo Stuff
majordomo: "|/usr/local/majordomo/wrapper majordomo"
owner-majordomo: list_manager_e-mail_address
majordomo-owner: list_manager_e-mail_address
- Run the command vnewaliases to update the aliases database:
% vnewaliases
Now that you have installed Majordomo on your Virtual Server, it would
be very wise to read the Documentation before you attempt to create
mailing lists.
Configuring a Majordomo E-Mail List
Do the following for each list you want to create:
- Create an empty file named for the list (my-list in the examples below)
in your usr/local/majordomo/Lists directory
and make sure the file mode is 644:
% touch usr/local/majordomo/Lists/my-list
% chmod 644 usr/local/majordomo/Lists/my-list
- Create a file called my-list.passwd in your
usr/local/majordomo/Lists. This file will contain the
list manager's "approve" password for the list (file mode 600).
For example, you can use cat (or your favorite UNIX editor):
% cat > usr/local/majordomo/Lists/my-list.passwd
mypassword
^D (control-D)
% chmod 600 usr/local/majordomo/Lists/my-list.passwd
Substitute a mailing list administrator password for mypassword
above.
- Create a file called my-list.info. This file will
contains the initial introductory info for the list. To create this
file using cat again:
% cat > usr/local/majordomo/Lists/my-list.info
This list is for discussions about my list.
^D (control-D)
- Add something like the following to your etc/aliases file:
# "My-List" list
my-list:
"|/usr/local/majordomo/wrapper resend -h mydomain.com -l my-list my-list-outgoing"
my-list-outgoing: :include:/usr/local/majordomo/Lists/my-list
owner-my-list: list_manager_e-mail_address_here
my-list-request: "|/usr/local/majordomo/wrapper request-answer my-list"
my-list-approval: list_manager_e-mail_address_here
- Run vnewaliases to update the aliases database:
% vnewaliases
- Give your new list a try.
PLEASE NOTE, THIS IS OLD ARCHIVE
INFORMATION AND MAY NOT FUNCTION ON NEW SERVERS
|