This shows you the differences between two versions of the page.
configuring_mailman_for_ubuntu [2007/01/24 16:38] adam created |
configuring_mailman_for_ubuntu [2016/11/25 22:38] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Configuring [[http:// | ||
- | |||
- | Taken from [[http:// | ||
- | |||
- | |||
- | |||
- | Draft - Started 17 December 2005 | ||
- | Released to the unsuspecting world - 21 December 2005 | ||
- | Latest minor revision - 24 August 2006 at 01:30 PM | ||
- | |||
- | Creative Commons License | ||
- | This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License. | ||
- | Software selected | ||
- | |||
- | Install | ||
- | |||
- | There is only one package you'll need to add - mailman. Use Synaptic Package Manager or apt-get to add it to your machine. | ||
- | |||
- | |||
- | |||
- | It's my belief the Ubuntu install files leave you with the wrong file ownerships, so if you haven' | ||
- | $ sudo -s (and enter your password) | ||
- | Mailman includes a handy script to make check your permissions. It's in /usr/sbin/ so it should be on root's path. | ||
- | # check-perms | ||
- | - and note the massive problems. To fix permissions, | ||
- | # check-perms -f | ||
- | A bunch of changes scroll by, but did it get them all? | ||
- | # check-perms -f | ||
- | Nope; still errors. In fact, you need to | ||
- | # cd / | ||
- | # chown -R list:list * | ||
- | |||
- | Of course I'm using example.com for this HOWTO. Substitute your own domain name. | ||
- | Mailman configuration files | ||
- | |||
- | The Mailman configuration files are in / | ||
- | MTA=None # No MTA processing req'd for Ubuntu/ | ||
- | |||
- | IMAGE_LOGOS = '/ | ||
- | |||
- | DEFAULT_EMAIL_HOST = ' | ||
- | DEFAULT_URL_HOST = ' | ||
- | |||
- | I'm not sure if you need this line - can someone tell me? | ||
- | DEB_LISTMASTER = ' | ||
- | |||
- | Apache 2 config files are in / | ||
- | |||
- | ScriptAlias /mailman/ / | ||
- | ScriptAlias / | ||
- | |||
- | < | ||
- | | ||
- | | ||
- | Order allow,deny | ||
- | Allow from all | ||
- | </ | ||
- | Alias /pipermail/ / | ||
- | < | ||
- | | ||
- | | ||
- | Order allow,deny | ||
- | Allow from all | ||
- | </ | ||
- | |||
- | Optional - pipermail is one of those directory names which hangs around for historical reasons but makes little sense to users. You might want to add a more sensible-sounding alias for the mailing list archives. | ||
- | Alias /archives/ / | ||
- | < | ||
- | | ||
- | | ||
- | Order allow,deny | ||
- | Allow from all | ||
- | </ | ||
- | |||
- | Now add a symlink to this file so Apache will use your new Mailman aliases the next time it starts: | ||
- | # cd / | ||
- | # ln -s / | ||
- | All your configuration files are now set. Activate everything by restarting your services: | ||
- | # / | ||
- | # / | ||
- | # / | ||
- | Create your first list | ||
- | |||
- | Mailman doesn' | ||
- | # newlist mailman | ||
- | You'll be asked for an administrator email address - give it yours - and a password. If all goes well you should immediately get an email welcoming you to your new list. The email will have a URL where you can go and experiment with the web-based mailman configuration. There' | ||
- | Adding MySQL aliases | ||
- | |||
- | If you've installed phpmyadmin as Ivar suggests you can use a GUI interface, otherwise you'll edit your MySQL database through the command line. Insert the following entries into the aliases table of the maildb database: | ||
- | mail destination | ||
- | mailman@example.com mailman@lists.example.com | ||
- | mailman-admin@example.com mailman-admin@lists.example.com | ||
- | mailman-bounces@example.com mailman-bounces@lists.example.com | ||
- | mailman-confirm@example.com mailman-confirm@lists.example.com | ||
- | mailman-join@example.com mailman-join@lists.example.com | ||
- | mailman-leave@example.com mailman-leave@lists.example.com | ||
- | mailman-owner@example.com mailman-owner@lists.example.com | ||
- | mailman-request@example.com mailman-request@lists.example.com | ||
- | mailman-subscribe@example.com mailman-subscribe@lists.example.com | ||
- | mailman-unsubscribe@example.com mailman-unsubscribe@lists.example.com | ||
- | |||
- | Your ' | ||
- | |||
- | I can't recommend one of these books over the other. The Dent book has good reference material in Apendicies A and B. The Hildebrandt/ | ||
- | |||
- | How to set up a mail server on a GNU / Linux system | ||
- | This is Ivar Abrahamsen' | ||
- | |||