![](https://secure.gravatar.com/avatar/5ab7f10ac9463dfdf870687ee4cc209a.jpg?s=120&d=mm&r=g)
Hi!
I'm running a server that hosts a few domains. I already have mailman running for lists.mydomain.com, and it is working great.
However, now i want to give users that host domains the ability to use lists.userdomain.com too, and each user has it's own mailman setup under his domain.
What's the best tactic for this?
I'm using Qmail and latest Mailman.
TIA Rodrigo
![](https://secure.gravatar.com/avatar/43a85a0be9c2734ae2b28861d7135ca8.jpg?s=120&d=mm&r=g)
On Fri, 15 Jun 2001, Rodrigo Borges Pereira wrote:
If the lists don't have conflicting names then you can just set the "preferred domain" for each list to be the userdomain. As an example http://phred.org/mailman/listinfo, http://bikelist.org/mailman/listinfo, and http://cascade.bikelist.org/mailman/listinfo all point to lists on my servers, but act as if they are unique domains. You can send a message to any of the lists using any of the domains (ie, if there is a list xxx@cascade.bikelist.org you could get to it by sending email to xxx@phred.org), but I don't advertise that fact and users generally don't figure it out.
If you have conflicting list names then things get more complicated and you need to setup a mailman install per domain. There is a lot of information on this in the archives.
alex
![](https://secure.gravatar.com/avatar/43a85a0be9c2734ae2b28861d7135ca8.jpg?s=120&d=mm&r=g)
On Sat, 16 Jun 2001, Rodrigo Borges Pereira wrote:
however, how do you avoid the list administrator from changing the list preferred domain in the web interface?
I don't know that you can. I trust my list administrators to leave that alone, but the only list adminsitrators besides myself are friends.
This does bring up a question that another admin asked me. Is there a way that the site administrator can remove permission from list administrators from changing some of the fields? For instance I would like to have a site policy that requires that Reply-To is never set to the list.
alex
![](https://secure.gravatar.com/avatar/2206e8a0d58563f815a7568ea6675313.jpg?s=120&d=mm&r=g)
On Friday, June 15, 2001, at 05:56 PM, alex wetmore wrote:
And I'll note that I recently had a fairly nasty fight with one of my admins (to the point his list was put on death row until he agreed to cooperate) where one of his final arguments was "if you don't want me to change it, why does the software let me?"
speak of the devil, guess what we were arguing about?
-- Chuq Von Rospach, Internet Gnome <http://www.chuqui.com> [<chuqui@plaidworks.com> = <me@chuqui.com> = <chuq@apple.com>] Yes, yes, I've finally finished my home page. Lucky you.
Q: Did God really create the world in seven days? A: He did it in six days and nights while living on cola and candy bars. On the seventh day he went home and found out his girlfriend had left him.
![](https://secure.gravatar.com/avatar/cb6b2a19d7ea20358a4c4f0332afc3ef.jpg?s=120&d=mm&r=g)
"aw" == alex wetmore <alex@phred.org> writes:
>> however, how do you avoid the list administrator from changing
>> the list preferred domain in the web interface?
aw> I don't know that you can. I trust my list administrators to
aw> leave that alone, but the only list adminsitrators besides
aw> myself are friends.
In MM2.1, web_page_url isn't configurable ttw.
aw> This does bring up a question that another admin asked me. Is
aw> there a way that the site administrator can remove permission
aw> from list administrators from changing some of the fields?
There isn't, but there should be.
-Barry
![](https://secure.gravatar.com/avatar/2f8c4ab510f5ffd1a03a6d85d6083503.jpg?s=120&d=mm&r=g)
On Fri, Jun 15, 2001 at 05:56:59PM -0700, alex wetmore wrote:
That's what I use: (Not perfect, but good enough)
chef:/var/local/mailman/bin/scripts# cat resetlistconfigs #!/bin/bash
cd ~mailman/lists/ for i in * do ~mailman/bin/config_list -o - $i | tail +3 > /var/tmp/tmp_mm_settings.before ~mailman/bin/config_list -i ~mailman/bin/scripts/mailman_force_settings $i ~mailman/bin/config_list -o - $i | tail +3 > /var/tmp/tmp_mm_settings.after
if ! diff -q /var/tmp/tmp_mm_settings.before /var/tmp/tmp_mm_settings.after &>/dev/null; then
echo "Fixing config of list $i"
diff -u0 /var/tmp/tmp_mm_settings.before /var/tmp/tmp_mm_settings.after
fi
done chef:/var/local/mailman/bin/scripts# cat mailman_force_settings reply_goes_to_list = 0 host_name = 'lists.valinux.com' web_page_url = 'https://lists.valinux.com/lists/' bounce_processing = 1 automatic_bounce_action = 3 clobber_date = 1
Marc
Microsoft is to operating systems & security .... .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/ | Finger marc_f@merlins.org for PGP key
![](https://secure.gravatar.com/avatar/3744bbfcb703bf1b3e473fd93e0c013c.jpg?s=120&d=mm&r=g)
Rodrigo Borges Pereira wrote:
however, how do you avoid the list administrator from changing the list preferred domain in the web interface?
As far as I know, there's no way to do this, however, in my case, with
several domains running off of one server (multiple mailman installations), it does the admin no good to change the domain. If they do, mail will no longer be delivered/send from their list because sendmail will not deliver/send mail from any of the other domains configured.
-- H | Hi, I'm currently out of my mind. Please leave a message. BEEEEP! +-------------------------------------------------------------------- Ashley M. Kirchner <mailto:ashley@pcraft.com> . 303.442.6410 x130 Director of Internet Operations / SysAdmin . 800.441.3873 x130 Photo Craft Laboratories, Inc. . 3550 Arapahoe Ave, #6 http://www.pcraft.com ..... . . . Boulder, CO 80303, U.S.A.
![](https://secure.gravatar.com/avatar/5ab7f10ac9463dfdf870687ee4cc209a.jpg?s=120&d=mm&r=g)
That wouldn't be a problem here too, i'm using qmail and it's easy to point a specific user for each domain.
What i'm interested is in the right steps to use multiple installations of mailmain for each domain. If u can give me a "mini-guide", it would save me some time figuring it out and i'd appreciate that a lot.
TIA,
Rodrigo
![](https://secure.gravatar.com/avatar/3744bbfcb703bf1b3e473fd93e0c013c.jpg?s=120&d=mm&r=g)
Rodrigo Borges Pereira wrote:
Just install it like you normally would, into different directories, each
one representing a domain.
-- H | Hi, I'm currently out of my mind. Please leave a message. BEEEEP! +-------------------------------------------------------------------- Ashley M. Kirchner <mailto:ashley@pcraft.com> . 303.442.6410 x130 Director of Internet Operations / SysAdmin . 800.441.3873 x130 Photo Craft Laboratories, Inc. . 3550 Arapahoe Ave, #6 http://www.pcraft.com ..... . . . Boulder, CO 80303, U.S.A.
![](https://secure.gravatar.com/avatar/d17f8561cf1d9b43543f3e1d6033362c.jpg?s=120&d=mm&r=g)
At 12:14 -0600 6/16/01, Ashley M. Kirchner wrote:
Mess with the HTML so that the option isn't on the web page. If the admins are determined enough to generate the needed HTTP command anyhow, you'll also have to mess with the scripting.
--John
-- John Baxter jwblist@olympus.net Port Ludlow, WA, USA
![](https://secure.gravatar.com/avatar/43a85a0be9c2734ae2b28861d7135ca8.jpg?s=120&d=mm&r=g)
On Fri, 15 Jun 2001, Rodrigo Borges Pereira wrote:
If the lists don't have conflicting names then you can just set the "preferred domain" for each list to be the userdomain. As an example http://phred.org/mailman/listinfo, http://bikelist.org/mailman/listinfo, and http://cascade.bikelist.org/mailman/listinfo all point to lists on my servers, but act as if they are unique domains. You can send a message to any of the lists using any of the domains (ie, if there is a list xxx@cascade.bikelist.org you could get to it by sending email to xxx@phred.org), but I don't advertise that fact and users generally don't figure it out.
If you have conflicting list names then things get more complicated and you need to setup a mailman install per domain. There is a lot of information on this in the archives.
alex
![](https://secure.gravatar.com/avatar/43a85a0be9c2734ae2b28861d7135ca8.jpg?s=120&d=mm&r=g)
On Sat, 16 Jun 2001, Rodrigo Borges Pereira wrote:
however, how do you avoid the list administrator from changing the list preferred domain in the web interface?
I don't know that you can. I trust my list administrators to leave that alone, but the only list adminsitrators besides myself are friends.
This does bring up a question that another admin asked me. Is there a way that the site administrator can remove permission from list administrators from changing some of the fields? For instance I would like to have a site policy that requires that Reply-To is never set to the list.
alex
![](https://secure.gravatar.com/avatar/2206e8a0d58563f815a7568ea6675313.jpg?s=120&d=mm&r=g)
On Friday, June 15, 2001, at 05:56 PM, alex wetmore wrote:
And I'll note that I recently had a fairly nasty fight with one of my admins (to the point his list was put on death row until he agreed to cooperate) where one of his final arguments was "if you don't want me to change it, why does the software let me?"
speak of the devil, guess what we were arguing about?
-- Chuq Von Rospach, Internet Gnome <http://www.chuqui.com> [<chuqui@plaidworks.com> = <me@chuqui.com> = <chuq@apple.com>] Yes, yes, I've finally finished my home page. Lucky you.
Q: Did God really create the world in seven days? A: He did it in six days and nights while living on cola and candy bars. On the seventh day he went home and found out his girlfriend had left him.
![](https://secure.gravatar.com/avatar/cb6b2a19d7ea20358a4c4f0332afc3ef.jpg?s=120&d=mm&r=g)
"aw" == alex wetmore <alex@phred.org> writes:
>> however, how do you avoid the list administrator from changing
>> the list preferred domain in the web interface?
aw> I don't know that you can. I trust my list administrators to
aw> leave that alone, but the only list adminsitrators besides
aw> myself are friends.
In MM2.1, web_page_url isn't configurable ttw.
aw> This does bring up a question that another admin asked me. Is
aw> there a way that the site administrator can remove permission
aw> from list administrators from changing some of the fields?
There isn't, but there should be.
-Barry
![](https://secure.gravatar.com/avatar/2f8c4ab510f5ffd1a03a6d85d6083503.jpg?s=120&d=mm&r=g)
On Fri, Jun 15, 2001 at 05:56:59PM -0700, alex wetmore wrote:
That's what I use: (Not perfect, but good enough)
chef:/var/local/mailman/bin/scripts# cat resetlistconfigs #!/bin/bash
cd ~mailman/lists/ for i in * do ~mailman/bin/config_list -o - $i | tail +3 > /var/tmp/tmp_mm_settings.before ~mailman/bin/config_list -i ~mailman/bin/scripts/mailman_force_settings $i ~mailman/bin/config_list -o - $i | tail +3 > /var/tmp/tmp_mm_settings.after
if ! diff -q /var/tmp/tmp_mm_settings.before /var/tmp/tmp_mm_settings.after &>/dev/null; then
echo "Fixing config of list $i"
diff -u0 /var/tmp/tmp_mm_settings.before /var/tmp/tmp_mm_settings.after
fi
done chef:/var/local/mailman/bin/scripts# cat mailman_force_settings reply_goes_to_list = 0 host_name = 'lists.valinux.com' web_page_url = 'https://lists.valinux.com/lists/' bounce_processing = 1 automatic_bounce_action = 3 clobber_date = 1
Marc
Microsoft is to operating systems & security .... .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/ | Finger marc_f@merlins.org for PGP key
![](https://secure.gravatar.com/avatar/3744bbfcb703bf1b3e473fd93e0c013c.jpg?s=120&d=mm&r=g)
Rodrigo Borges Pereira wrote:
however, how do you avoid the list administrator from changing the list preferred domain in the web interface?
As far as I know, there's no way to do this, however, in my case, with
several domains running off of one server (multiple mailman installations), it does the admin no good to change the domain. If they do, mail will no longer be delivered/send from their list because sendmail will not deliver/send mail from any of the other domains configured.
-- H | Hi, I'm currently out of my mind. Please leave a message. BEEEEP! +-------------------------------------------------------------------- Ashley M. Kirchner <mailto:ashley@pcraft.com> . 303.442.6410 x130 Director of Internet Operations / SysAdmin . 800.441.3873 x130 Photo Craft Laboratories, Inc. . 3550 Arapahoe Ave, #6 http://www.pcraft.com ..... . . . Boulder, CO 80303, U.S.A.
![](https://secure.gravatar.com/avatar/5ab7f10ac9463dfdf870687ee4cc209a.jpg?s=120&d=mm&r=g)
That wouldn't be a problem here too, i'm using qmail and it's easy to point a specific user for each domain.
What i'm interested is in the right steps to use multiple installations of mailmain for each domain. If u can give me a "mini-guide", it would save me some time figuring it out and i'd appreciate that a lot.
TIA,
Rodrigo
![](https://secure.gravatar.com/avatar/3744bbfcb703bf1b3e473fd93e0c013c.jpg?s=120&d=mm&r=g)
Rodrigo Borges Pereira wrote:
Just install it like you normally would, into different directories, each
one representing a domain.
-- H | Hi, I'm currently out of my mind. Please leave a message. BEEEEP! +-------------------------------------------------------------------- Ashley M. Kirchner <mailto:ashley@pcraft.com> . 303.442.6410 x130 Director of Internet Operations / SysAdmin . 800.441.3873 x130 Photo Craft Laboratories, Inc. . 3550 Arapahoe Ave, #6 http://www.pcraft.com ..... . . . Boulder, CO 80303, U.S.A.
![](https://secure.gravatar.com/avatar/d17f8561cf1d9b43543f3e1d6033362c.jpg?s=120&d=mm&r=g)
At 12:14 -0600 6/16/01, Ashley M. Kirchner wrote:
Mess with the HTML so that the option isn't on the web page. If the admins are determined enough to generate the needed HTTP command anyhow, you'll also have to mess with the scripting.
--John
-- John Baxter jwblist@olympus.net Port Ludlow, WA, USA
participants (7)
-
alex wetmore
-
Ashley M. Kirchner
-
barry@digicool.com
-
Chuq Von Rospach
-
John W Baxter
-
Marc MERLIN
-
Rodrigo Borges Pereira