Mail - Majordomo Listserv

2002-11-15

# cd /usr/ports/mail/majordomo
# make install

Add the following line to your sendmail.mc (or config.mc) file:

define(`ALIAS_FILE',`/etc/mail/aliases,/usr/local/majordomo/aliases.majordomo')

Then rebuild the sendmail.cf file.

# sh Build config.cf
# cp config.cf /etc/mail/sendmail.cf

Fix the permissions on majordomo:

# cd /usr/local/majordomo
# touch aliases.majordomo.db
# chmod 644 aliases.majordomo
# newaliases
# cd lists
# chmod 644 test-l

The examples in aliases.majordomo are self explanatory. Run “newaliases” after adding a list. Also make sure you do a “chmod 644 list” in the /usr/local/majordomo directory.