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: RHEL 6.7, BackBox Linux 4.3 and RoboLinux 8.1
- 2Linux Top 3: SLES 11 SP4, Chromixium OS 1.5 and Canonical Licensing
- 3Linux Top 3: VirtualBox 5, Point Linux 3.0 and OpenSUSE Leap 42.x
- 4Linux Top 3: Linux 4.2 rc1, 4MLinux 13 and antiX15
- 5Linux Top 3: Linux Mint Rafaela, OpenMandriva Lx 2014.2 and VectorLinux 7.1