This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
configuring_mailman_for_ubuntu [2007/01/24 16:38] adam created |
configuring_mailman_for_ubuntu [2016/11/25 22:38] (current) |
||
|---|---|---|---|
| Line 2: | Line 2: | ||
| Taken from [[http:// | Taken from [[http:// | ||
| - | |||
| - | |||
| Draft - Started 17 December 2005 | Draft - Started 17 December 2005 | ||
| Line 16: | Line 14: | ||
| There is only one package you'll need to add - mailman. Use Synaptic Package Manager or apt-get to add it to your machine. | 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' | It's my belief the Ubuntu install files leave you with the wrong file ownerships, so if you haven' | ||
| Line 35: | Line 31: | ||
| The Mailman configuration files are in / | 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? | I'm not sure if you need this line - can someone tell me? | ||
| - | DEB_LISTMASTER = ' | ||
| - | Apache 2 config files are in / | + | |
| - | ScriptAlias | + | Apache 2 config files are in /etc/apache2. The Apache authors think you should put anything that looks like a module in mods-available and mods-enabled. Go ahead and create a new file: /etc/apache2/mods-available/mailman.conf |
| - | ScriptAlias /cgi-bin/mailman/ /usr/lib/cgi-bin/mailman/ | + | |
| - | < | + | |
| - | | + | |
| - | | + | |
| - | | + | < |
| - | | + | AllowOverride None |
| - | </ | + | Options ExecCGI |
| - | Alias /pipermail/ / | + | Order allow, |
| - | < | + | Allow from all |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | Options Indexes MultiViews FollowSymLinks |
| - | </ | + | AllowOverride None |
| + | Order allow, | ||
| + | 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. | 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/ / | + | |
| - | < | + | Alias /archives/ / |
| - | | + | |
| - | | + | Options Indexes MultiViews FollowSymLinks |
| - | | + | AllowOverride None |
| - | | + | Order allow, |
| - | </ | + | Allow from all |
| + | | ||
| Now add a symlink to this file so Apache will use your new Mailman aliases the next time it starts: | Now add a symlink to this file so Apache will use your new Mailman aliases the next time it starts: | ||
| - | # cd / | + | |
| - | # ln -s / | + | # cd / |
| + | | ||
| All your configuration files are now set. Activate everything by restarting your services: | All your configuration files are now set. Activate everything by restarting your services: | ||
| - | # / | + | |
| - | # / | + | # / |
| - | # / | + | |
| + | | ||
| Create your first list | Create your first list | ||
| Mailman doesn' | Mailman doesn' | ||
| - | # newlist mailman | + | |
| + | # 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' | 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 | 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: | 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 | + | mail destination |
| - | 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 ' | 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' | ||
| - | |||