|
Mailman with ispCP, suexec
|
| Author |
Message |
FeG
Junior Member

Posts: 112
Group: Registered
Joined: Aug 2007
Status:
Offline
Reputation: 0
|
Mailman with ispCP, suexec
Hi,
I got the mailman webinterface up and running like this:
I created a new vhost in /etc/apache2/sites-available/mailman.conf:
#
# mailman Virtual Host Webinterface
#
<VirtualHost xxx.xxx.xxx.xxx:80>
ServerAdmin admin@yourdomain.com
DocumentRoot /var/www/mailman
ServerName lists.yourdomain.com
ErrorLog /var/log/apache2/lists.yourdomain.com-error.log
CustomLog /var/log/apache2/lists.yourdomain.com-access.log combined
Alias /pipermail /var/lib/mailman/archives/public/
Alias /images/mailman /usr/share/images/mailman/
<Directory /var/lib/mailman/archives/>
Options Indexes FollowSymLinks
AllowOverride None
</Directory>
ScriptAlias /admin /usr/lib/cgi-bin/mailman/admin
ScriptAlias /admindb /usr/lib/cgi-bin/mailman/admindb
ScriptAlias /confirm /usr/lib/cgi-bin/mailman/confirm
# The create.html-file is a dummy-file so that no one can create new mailing lists via the webinterface
# ScriptAlias /create /usr/lib/cgi-bin/mailman/create
Alias /create /var/www/mailman/create.html
ScriptAlias /edithtml /usr/lib/cgi-bin/mailman/edithtml
ScriptAlias /listinfo /usr/lib/cgi-bin/mailman/listinfo
ScriptAlias /options /usr/lib/cgi-bin/mailman/options
ScriptAlias /private /usr/lib/cgi-bin/mailman/private
ScriptAlias /rmlist /usr/lib/cgi-bin/mailman/rmlist
ScriptAlias /roster /usr/lib/cgi-bin/mailman/roster
ScriptAlias /subscribe /usr/lib/cgi-bin/mailman/subscribe
ScriptAlias /mailman/ /usr/lib/cgi-bin/mailman/
</VirtualHost>
and enabled it:
a2ensite mailman.conf
/etc/init.d/apache2 reload
In /etc/mailman/mm_cfg.py you have to set the following values like this:
DEFAULT_URL_PATTERN = 'http://%s/'
DEFAULT_EMAIL_HOST = 'lists.yourdomain.com'
DEFAULT_URL_HOST = 'lists.yourdomain.com'
The last step is, to set the web_page_url-variable for each mailing list! This variable isn't exported via config_list, I don't know where I found it, but you can set it like this:
echo "web_page_url = 'http://lists.yourdomain.com/'" > /root/web_page_url.cfg
# Execute this for every mailinglist on your server
config_list -i web_page_url.cfg LISTNAME
Now you should be able to manage your lists via http://lists.yourdomain.com/listinfo/LISTNAME
Again the question: Is this worth being written into a HowTo ?
Greetings
FeG
This post was last modified: 03-25-2008 04:53 PM by BeNe.
|
|
| 09-14-2007 07:16 PM |
|
 |
hendry
Junior Member

Posts: 68
Group: Registered
Joined: Jul 2007
Status:
Offline
Reputation: 0
|
RE: Mailman Problems with ISPcp, suexec
Anybody running Mailman like this?
Running ISPCP: RC5 14.06.08, including Maia 1.0.2
Server: Debian Etch 4.0
|
|
| 03-24-2008 05:42 AM |
|
 |
joximu
Moderator
    
Posts: 3,534
Group: Moderators
Joined: Jan 2007
Status:
Offline
Reputation: 47
|
RE: Mailman Problems with ISPcp, suexec
I think it's a good start for the HowTo - maybe later on it can be completed (User/Group etc)
/J
2008-03-16 ispCP RC4 released!!!
|
|
| 03-24-2008 05:46 AM |
|
 |
hendry
Junior Member

Posts: 68
Group: Registered
Joined: Jul 2007
Status:
Offline
Reputation: 0
|
RE: Mailman Problems with ISPcp, suexec
Forgot to ask: is this a way to run mailman for every domain running on a ISPCP server?
Running ISPCP: RC5 14.06.08, including Maia 1.0.2
Server: Debian Etch 4.0
|
|
| 03-24-2008 06:00 AM |
|
 |
joximu
Moderator
    
Posts: 3,534
Group: Moderators
Joined: Jan 2007
Status:
Offline
Reputation: 47
|
RE: Mailman Problems with ISPcp, suexec
I dont' know if it's "multi domain capable"... - maybe someone knows...
2008-03-16 ispCP RC4 released!!!
|
|
| 03-24-2008 06:10 AM |
|
 |
FeG
Junior Member

Posts: 112
Group: Registered
Joined: Aug 2007
Status:
Offline
Reputation: 0
|
RE: Mailman Problems with ISPcp, suexec
Anybody running Mailman like this?
Yes, me 
Forgot to ask: is this a way to run mailman for every domain running on a ISPCP server?
Yes. You'll be able to add mailing lists on any domain you control.
Greetings
FeG
PS @ joximu: I'll see if i can write a HowTo for this in the next days...
|
|
| 03-25-2008 03:19 AM |
|
 |
BeNe
Moderator
    
Posts: 2,557
Group: Moderators
Joined: Jan 2007
Status:
Offline
Reputation: 35
|
RE: Mailman with ispCP, suexec
Would be great if you can write down a HowTo in the Docu.
I moved this Thread to HowTos.
Greez BeNe
|
|
| 03-25-2008 04:54 PM |
|
 |
FeG
Junior Member

Posts: 112
Group: Registered
Joined: Aug 2007
Status:
Offline
Reputation: 0
|
RE: Mailman with ispCP, suexec
Hey guys..
I've just added this HowTo to the documentation: Setup Mailman.
Please don't link it yet, just test it. I've wrote this nearly completely out of my rememebrance, it's late and I'm really not sure if I've forgotten something.
So if there's anyone who can test this, please do so and tell me if theres something missing.
I've done this half a year ago on my server and it works like a charm, but I've no space to reproduce this again...
So I'm looking forward to your replies..
FeG
|
|
| 03-26-2008 08:57 AM |
|
 |
Smallserver
Posts: 4
Group: Registered
Joined: Jan 2008
Status:
Offline
Reputation: 0
|
RE: Mailman with ispCP, suexec
And what happens after a update of ISPCP with this config?
Grtz,
Herman
This post was last modified: 03-31-2008 02:45 AM by Smallserver.
|
|
| 03-31-2008 02:45 AM |
|
 |
BeNe
Moderator
    
Posts: 2,557
Group: Moderators
Joined: Jan 2007
Status:
Offline
Reputation: 35
|
RE: Mailman with ispCP, suexec
If something does not work afer a Update, do the HowTo again.
Greez BeNe
|
|
| 03-31-2008 03:34 PM |
|
 |
|
|