How to Run an Email List Under Linux - page 2
IntroductionMajordomo does not actually deliver mail. It uses the underlying email transport and delivery system. It just maintains the lists and calls the email systems appropriately. Once majordomo has been installed via a convenient package manager there are a few administration tasks to carry out.
/etc/aliasesIn order to set up access to the email systems functions the person configuring majordomo must add some entries to the systems mail alias file. Under the commonly used sendmail system this is is done by adding lines like this to the /etc/aliases file:
mylist: "|/home/majordom/wrapper resend -p bulk -M 10000 -l mylist -f james -h maths.ex.ac.uk -s mylist-outgoing"
mylist-outgoing: :include:/home/majordom/lists/mylistowner-mylist-outgoing: james
mylist-request: "|/home/majordom/wrapper request-answer mylist"
.info Files and the List File
Next get into the majordomo home directory and cd into 'lists'. You can typically jump straight there with the command:
Make a file called 'mylist' and add some mail addresses to it. This is the distribution list. If more people subscribe they get added to this file. If they leave their email address is removed from here. Make another file called 'mylist.info'. The contents of this file will be sent to all new subscribers. You can use this to give FAQs for your list and other information of this sort.
Stopping SpamOne problem that email lists suffer like the rest of us is that of unsolicited messages or spam. However it is potentially a bigger problem as all the spam gets relayed out again to all the addresses on the list!
One way of stopping most spam is to declare the list as closed. To do this, make a file in the lists directory discussed above called 'mylist.closed'. Now all email that is not from someone who is also on the list is forwarded to the list owner. This also forces all the requests for subscribe to the list owner though. To prevent the list owner from having to deal with subscribe and unsubscribe requests also make a file 'mylist.auto'. This will stop spam to the list but keep subscribe/unsubscribe as automatic.
You can find more information on stopping spam in this article.
Solid state disks (SSDs) made a splash in consumer technology, and now the technology has its eyes on the enterprise storage market. Download this eBook to see what SSDs can do for your infrastructure and review the pros and cons of this potentially game-changing storage technology.
- 1Linux Top 3: GNOME 3.12 and New Betas for Ubuntu 14.04 and OpenMandriva Lx 2014.0
- 2Linux Top 3: Linus Lashes out, Linux 3.14 Gets PIE and Ubuntu One is Done.
- 3Linux Top 3: Ubuntu 14.04, Debian Gives Squeeze More Life and Red Hat Goes Atomic
- 4Linux Top 3: CoreOS, Oracle Enterprise Linux 7 and Ubuntu 14.10
- 5Linux Top 3: Debian Gives Up on Upstart, Ubuntu and Linux Kernel Updates