NYCPHP Meetup

NYPHP.org

[nycphp-talk] Re: Setting up mailman

Ajai Khattri ajai at bitblit.net
Thu Jul 29 15:55:15 EDT 2004


Donald Organ wrote:

>sendmail
>
When you add the list on the command-line you will see something like this:

# ./newlist dummy dummy at lists.bway.net password
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:

## dummy mailing list
dummy:              "|/usr/local/mailman/mail/mailman post dummy"
dummy-admin:        "|/usr/local/mailman/mail/mailman admin dummy"
dummy-bounces:      "|/usr/local/mailman/mail/mailman bounces dummy"
dummy-confirm:      "|/usr/local/mailman/mail/mailman confirm dummy"
dummy-join:         "|/usr/local/mailman/mail/mailman join dummy"
dummy-leave:        "|/usr/local/mailman/mail/mailman leave dummy"
dummy-owner:        "|/usr/local/mailman/mail/mailman owner dummy"
dummy-request:      "|/usr/local/mailman/mail/mailman request dummy"
dummy-subscribe:    "|/usr/local/mailman/mail/mailman subscribe dummy"
dummy-unsubscribe:  "|/usr/local/mailman/mail/mailman unsubscribe dummy"

Hit enter to notify dummy owner...


So these aliases need to be added to /etc/aliases (or /etc/mail/aliases 
on some servers) so the list can receieve emails on those addresses. You 
then need to rebuild the aliases database (Debian has a Makefile to do 
this, i.e. "cd /etc/mail && make") - other distros may require you to 
run makemap instead. I can't remember if you need to send sendmail a HUP 
or if you need to do a restart for it to use the new aliases.

-- 
Aj.
Systems Administrator / Developer




More information about the talk mailing list