How to create mailing lists in Mailman

with Courier-MTA on Linux Debian Sarge

This little howto guide does not pretend to be the official mailman or even less, according to what I did as I was running, so is that there will surely be improved across the internet, but this is the way that I worked.

We assume that we already have installed mailman with Postfix and Courier on Debian Sarge, do the following:


1. Let's create a list called networks, are transformed into sudoer or root and type:

  # Newlist networks 
  Enter the email address of the person running the list: 
  Initial network password: 

First enter the mail from the person who will administer the list, and then his password.

We are now deployed as follows:

  To finish creating your mailing list, you must edit your / etc / aliases (or 
  equivalent) file by adding the following lines, and possibly running the 
  `newaliases' program: 

  # # Networks mailing list 

  Networking: "| / var / lib / mailman / mail / mailman post nets" 
  network-admin: "| / var / lib / mailman / mail / mailman admin networks" 
  Network-bounces: "| / var / lib / mailman / mail / mailman bounces networks" 
  Network-confirm: "| / var / lib / mailman / mail / mailman confirm networks" 
  Network-join: "| / var / lib / mailman / mail / mailman join networks" 
  Network-leave: "| / var / lib / mailman / mail / mailman leave networks" 
  Networks-owner: "| / var / lib / mailman / mail / mailman owner networks" 
  network-request: "| / var / lib / mailman / mail / mailman request networks" 
  Network-subscribe: "| / var / lib / mailman / mail / mailman subscribe networks" 
  Network-unsubscribe: "| / var / lib / mailman / mail / mailman unsubscribe networks" 

  Hit enter to notify network owner ... 

At this point, mailman send an email to the owner of the list or included on the mail [1].

2. We suggested:

  # vim / etc / aliases 

file: / etc / aliases
    # # Networks mailing list 

  Networking: | / var / lib / mailman / mail / mailman post Networks 
  network-admin: | / var / lib / mailman / mail / mailman network admin 
  Network-bounces: | / var / lib / mailman / mail / mailman bounces networks 
  Network-confirm: | / var / lib / mailman / mail / mailman confirm networks 
  Network-join: | / var / lib / mailman / mail / mailman join networks 
  Network-leave: | / var / lib / mailman / mail / mailman leave networks 
  Networks-owner: | / var / lib / mailman / mail / mailman owner networks 
  network-request: | / var / lib / mailman / mail / mailman request networks 
  Network-subscribe: | / var / lib / mailman / mail / mailman subscribe networks 
  Network-unsubscribe: | / var / lib / mailman / mail / mailman unsubscribe networks 

and we add this (without quotation marks). Save the file.

3. Run

  # newaliases 

4. We create a file called lists in / etc / courier / aliases, which contain the following:

file: / etc / courier / aliases / lists
  Networking: | / var / lib / mailman / mail / mailman post Networks 

5. Run

  # makealiases 

6. We go to the site to send us mailman in the mail, where we configure our list 'network'.

The site is running: http://www.example.com/cgi-bin/mailman/admin/redes
enter the password, and configure everything concerning this list, save changes and exit.

7. We add to the list members individually or from a file like this:

  # Add_members-r / etc / mailman / networks networks 

In our case for example, the file is called in this network and / etc / mailman /

This last step is necessary to do this after you configure the list, since it is an option as to whether or not a notification of subscription, and other customization options that give option to get ahead so that the subscriber will not get a message in English and who can not understand.



9. Reboot mailman (although I believe it is not necessary, but some manuals for versions earlier than 2.1 is shown.

  # / Usr / lib / mailman / bin / restart mailmanctl 

Aham ready Aham!

MACC
Manuel Castaneda macc@usac.edu.gt

Popularity: 5% [?]