The FreeBSD Diary
Providing practical examples since 1998If you buy from Amazon USA, please support us by using this link.
Creating a majordomo mailing list for a virtual domain 12 April 2000
In the past I've written a fair number of articles
about majordomo. The most complex was about creating virtual domains for majordomo. I'm just
now rereading that article in preparation for creating a new mailing list and I've
realized that the process is inadequately documented. Consider this article a
correction of that omission.
|The main idea surrounding virtual majordomo domains is the
separation of data into different directories. This is more for our own peace of
mind and to make things easy to find than it is for the convenience of majordomo.
As such, I'm creating a mailing list for yourdomain.org. Let's call it fakelist.
Don't bother subscribing. It does not exist.
All of the files for yourdomain.org mailing lists exist under /usr/local/majordomo/lists/yourdomain.org. I like this layout because it's easier to follow. You should pick a method and stick with it.
|These instructions are based upon the original instructions found at Installing a mailing list server - majordomo.
This section assumes you are creating a new list called newlist. Items in bold are commands you actually enter. Everything else is just a description of what you need to do. Items in italics you should change to your own values.
Note: I like to keep my archives in:
And my digests in
You may wish to adjust my templates accordingly.
|By default, the above steps will give you a digest list. If you don't want
a digest, remove the indicated lines from this sample/majordomo.alias.txt
template as used in Step 6 from above. If you do want digests, and haven't removed
the sections, follow these steps:
Remember to create a separate list for your digest. Remember to specify moderate = yes during step 5. Follow steps 1-5
|When a person subscribes to a list, they are sent a message, which can
include custom information. You can include create a <yourlist>.info file and
let that contain list-specific information (e.g. list rules, expected conduct, etc).
You can create a list info file like this:
The list maintainer can update this file via majordomo. For details, send a message to majordomo@<yourdomain.org> with help in the body of the message.
|With all that work, you should now be able to use your virtual mailing
lists. Try subscribing. See what happens. Remember, when you subscribe,
you need to send to firstname.lastname@example.org.
Please, if you notice any omissions or errors, please add your comments.