
24th October 2011, 22:23
|
|
Junior Member
|
|
Join Date: Feb 2011
Posts: 19
Thanks: 3
Thanked 1 Time in 1 Post
|
|
Mailman + The Perfect Server - Ubuntu 11.10 [ISPConfig 3]
My server is now upgraded to the above after starting 10.4 and I wish to integrate mailman.
The server has 6 email domains - all configured through ISPConfig 3 - and I want to enable mailman on 2 of those.
Can someone point me to the best "how to" on installation of mailman in my current environment?
|

25th October 2011, 12:24
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,685
Thanks: 1,899
Thanked 2,599 Times in 2,448 Posts
|
|
This is from my working copy of the ISPConfig 3 Manual for ISPConfig 3.0.4 (which will be released after ISPConfig 3.0.4 has been released):
Quote:
Install Mailman as follows:
Code:
apt-get install mailman
Before we can start Mailman, a first mailing list called mailman must be created:
Code:
newlist mailman
root@server1:~# newlist mailman
Enter the email of the person running the list: <-- admin email address, e.g. info@example.com
Initial mailman password: <-- admin password for the mailman list
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:
## mailman mailing list
mailman: "|/var/lib/mailman/mail/mailman post mailman"
mailman-admin: "|/var/lib/mailman/mail/mailman admin mailman"
mailman-bounces: "|/var/lib/mailman/mail/mailman bounces mailman"
mailman-confirm: "|/var/lib/mailman/mail/mailman confirm mailman"
mailman-join: "|/var/lib/mailman/mail/mailman join mailman"
mailman-leave: "|/var/lib/mailman/mail/mailman leave mailman"
mailman-owner: "|/var/lib/mailman/mail/mailman owner mailman"
mailman-request: "|/var/lib/mailman/mail/mailman request mailman"
mailman-subscribe: "|/var/lib/mailman/mail/mailman subscribe mailman"
mailman-unsubscribe: "|/var/lib/mailman/mail/mailman unsubscribe mailman"
Hit enter to notify mailman owner... <-- ENTER
root@server1:~#
Open /etc/aliases afterwards...
... and add the following lines:
Code:
[...]
mailman: "|/var/lib/mailman/mail/mailman post mailman"
mailman-admin: "|/var/lib/mailman/mail/mailman admin mailman"
mailman-bounces: "|/var/lib/mailman/mail/mailman bounces mailman"
mailman-confirm: "|/var/lib/mailman/mail/mailman confirm mailman"
mailman-join: "|/var/lib/mailman/mail/mailman join mailman"
mailman-leave: "|/var/lib/mailman/mail/mailman leave mailman"
mailman-owner: "|/var/lib/mailman/mail/mailman owner mailman"
mailman-request: "|/var/lib/mailman/mail/mailman request mailman"
mailman-subscribe: "|/var/lib/mailman/mail/mailman subscribe mailman"
mailman-unsubscribe: "|/var/lib/mailman/mail/mailman unsubscribe mailman"
Run
afterwards and restart Postfix:
Code:
/etc/init.d/postfix restart
Finally we must enable the Mailman Apache configuration:
Code:
ln -s /etc/mailman/apache.conf /etc/apache2/conf.d/mailman.conf
This defines the alias /cgi-bin/mailman/ for all Apache vhosts, which means you can access the Mailman admin interface for a list at http://<vhost>/cgi-bin/mailman/admin/<listname>, and the web page for users of a mailing list can be found at http://<vhost>/cgi-bin/mailman/listinfo/<listname>.
Under http://<vhost>/pipermail you can find the mailing list archives.
Restart Apache afterwards:
Code:
/etc/init.d/apache2 restart
Then start the Mailman daemon:
Code:
/etc/init.d/mailman start
|
Afterwards, wait until ISPConfig 3.0.4 is released (comes with Mailman support) and then upgrade to 3.0.4. During the upgrade, please choose to let ISPConfig reconfigure all services.
|
|
The Following User Says Thank You to falko For This Useful Post:
|
|

25th October 2011, 23:34
|
|
Junior Member
|
|
Join Date: Feb 2011
Posts: 19
Thanks: 3
Thanked 1 Time in 1 Post
|
|
Just what I was after - Many Thanks
|

7th November 2011, 22:10
|
|
Junior Member
|
|
Join Date: Feb 2011
Posts: 19
Thanks: 3
Thanked 1 Time in 1 Post
|
|
OK - setup as described but the only issue I have now is accessing the lists via:
http://<vhost>/cgi-bin/mailman/admin/<listname>
etc
I have a list setup committee on domain polfidelity.org.au however the URL:
http://polyfidelity.org.au/cgi-bin/m...dmin/committee gives me 404 error
I can access the list by using the server name:
http://server1.jones.dhs.org/cgi-bin...dmin/committee
Question is what have I done wrong?
Last edited by Tastiger; 7th November 2011 at 22:12.
|

8th November 2011, 16:34
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,685
Thanks: 1,899
Thanked 2,599 Times in 2,448 Posts
|
|
What's in /etc/apache2/conf.d/mailman.conf?
|

8th November 2011, 19:33
|
|
Junior Member
|
|
Join Date: Feb 2011
Posts: 19
Thanks: 3
Thanked 1 Time in 1 Post
|
|
Code:
Sample configuration for Debian mailman with Apache
# We can find mailman here:
ScriptAlias /cgi-bin/mailman/ /usr/lib/cgi-bin/mailman/
# And the public archives:
Alias /pipermail/ /var/lib/mailman/archives/public/
# Logos:
Alias /images/mailman/ /usr/share/images/mailman/
# Use this if you don't want the "cgi-bin" component in your URL:
# In case you want to access mailman through a shorter URL you should enable
# this:
#ScriptAlias /mailman/ /usr/lib/cgi-bin/mailman/
# In this case you need to set the DEFAULT_URL_PATTERN in
# /etc/mailman/mm_cfg.py to http://%s/mailman/ for the cookie
# authentication code to work. Note that you need to change the base
# URL for all the already-created lists as well.
<Directory /usr/lib/cgi-bin/mailman/>
AllowOverride None
Options ExecCGI
AddHandler cgi-script .cgi
Order allow,deny
|

9th November 2011, 22:57
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,685
Thanks: 1,899
Thanked 2,599 Times in 2,448 Posts
|
|
That's not the full file (is it?).
|
|
The Following User Says Thank You to falko For This Useful Post:
|
|

9th November 2011, 23:54
|
|
Junior Member
|
|
Join Date: Feb 2011
Posts: 19
Thanks: 3
Thanked 1 Time in 1 Post
|
|
Code:
# Sample configuration for Debian mailman with Apache
# We can find mailman here:
ScriptAlias /cgi-bin/mailman/ /usr/lib/cgi-bin/mailman/
# And the public archives:
Alias /pipermail/ /var/lib/mailman/archives/public/
# Logos:
Alias /images/mailman/ /usr/share/images/mailman/
# Use this if you don't want the "cgi-bin" component in your URL:
# In case you want to access mailman through a shorter URL you should enable
# this:
#ScriptAlias /mailman/ /usr/lib/cgi-bin/mailman/
# In this case you need to set the DEFAULT_URL_PATTERN in
# /etc/mailman/mm_cfg.py to http://%s/mailman/ for the cookie
# authentication code to work. Note that you need to change the base
# URL for all the already-created lists as well.
<Directory /usr/lib/cgi-bin/mailman/>
AllowOverride None
Options ExecCGI
AddHandler cgi-script .cgi
Order allow,deny
Yes it is - what am i missing????
|
|
The Following User Says Thank You to Tastiger For This Useful Post:
|
|

10th November 2011, 20:46
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,685
Thanks: 1,899
Thanked 2,599 Times in 2,448 Posts
|
|
Did you scroll to the end? At least the closing </Directory> is missing.
|

10th November 2011, 22:29
|
|
Junior Member
|
|
Join Date: Feb 2011
Posts: 19
Thanks: 3
Thanked 1 Time in 1 Post
|
|
Oops  - should have maximized the putty window - sorry about that....
Code:
# Sample configuration for Debian mailman with Apache
# We can find mailman here:
ScriptAlias /cgi-bin/mailman/ /usr/lib/cgi-bin/mailman/
# And the public archives:
Alias /pipermail/ /var/lib/mailman/archives/public/
# Logos:
Alias /images/mailman/ /usr/share/images/mailman/
# Use this if you don't want the "cgi-bin" component in your URL:
# In case you want to access mailman through a shorter URL you should enable
# this:
#ScriptAlias /mailman/ /usr/lib/cgi-bin/mailman/
# In this case you need to set the DEFAULT_URL_PATTERN in
# /etc/mailman/mm_cfg.py to http://%s/mailman/ for the cookie
# authentication code to work. Note that you need to change the base
# URL for all the already-created lists as well.
<Directory /usr/lib/cgi-bin/mailman/>
AllowOverride None
Options ExecCGI
AddHandler cgi-script .cgi
Order allow,deny
Allow from all
</Directory>
<Directory /var/lib/mailman/archives/public/>
Options FollowSymlinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<Directory /usr/share/images/mailman/>
AllowOverride None
Order allow,deny
Allow from all
</Directory>
## The following describes how to configure mailman on
## a dedicated virtual host, courtesy Marco d'Itri.
# Add these lines in /etc/mailman/mm_cfg.py:
#DEFAULT_EMAIL_HOST = 'lists.example.net'
#DEFAULT_URL_HOST = 'lists.example.net'
#DEFAULT_URL_PATTERN = 'http://%s/'
#<VirtualHost *>
#ServerName lists.example.net
#DocumentRoot /var/www/lists
#ErrorLog /var/log/apache2/lists-error.log
#CustomLog /var/log/apache2/lists-access.log combined
#
#<Directory /var/lib/mailman/archives/>
# Options FollowSymLinks
# AllowOverride None
#</Directory>
#
#Alias /pipermail/ /var/lib/mailman/archives/public/
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 12:45.
|
|
Recent comments
1 day 14 hours ago
1 day 17 hours ago
2 days 5 hours ago
2 days 7 hours ago
2 days 11 hours ago
2 days 18 hours ago
3 days 3 hours ago
3 days 5 hours ago
3 days 13 hours ago
3 days 14 hours ago