[Mailman-Users] Simple, yet over my head multiple domain problem

2010-04-28 Thread Ty Nelson
Greetings Geniuses...

I have mailman 2.1.11 running with postfix, and it's absolutely great.  I
love it.  The problem is...I'm going to be honest when I say I'm definitely
below average intelligence with this sort of thing.
I don't know how to make it so I can have more than one domain on my mailman
install.  I have all the domains pointing to the correct IP address, so the
interface works on each domain.  I can change the hostname in my
main.cffile to whatever domain I want to work at that instant, and it
works-but I
don't know how I can have 5 domains that work at the same time.  I can only
get them to work one at a time.
I understand that these files must be changed:
main.cf
mm_cfg.py
(something involving virtual hosts)

But I've looked everywhere on the internet and I can't find a step by step
guide for (idiots) if you will on what I need to do to what file word for
word.

Basically,
how can I make:
domain1.info
domain2.info
domain3.info
domain4.info
domain5.info

all work at the same time.

I know this forum is for advanced issues in general, been on it for quite
sometime.  So I apologize for filling your inbox with such a silly question.

I am so grateful for your assistance.

Thank you,
Tyler
--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Simple, yet over my head multiple domain problem

2010-04-28 Thread Mark Sapiro
Ty Nelson wrote:

I don't know how to make it so I can have more than one domain on my mailman
install.  I have all the domains pointing to the correct IP address, so the
interface works on each domain.  I can change the hostname in my
main.cffile to whatever domain I want to work at that instant, and it
works-but I
don't know how I can have 5 domains that work at the same time.  I can only
get them to work one at a time.
I understand that these files must be changed:
main.cf
mm_cfg.py
(something involving virtual hosts)

But I've looked everywhere on the internet and I can't find a step by step
guide for (idiots) if you will on what I need to do to what file word for
word.

Basically,
how can I make:
domain1.info
domain2.info
domain3.info
domain4.info
domain5.info

all work at the same time.

I know this forum is for advanced issues in general, been on it for quite
sometime.  So I apologize for filling your inbox with such a silly question.


This list is for any and all Mailman users. No apologies required.

If I understand correctly, the easiest solution is to make all the
domains local in Postfix. I.e. in main.cf, if for example you have

myhostname = domain1.info

you could put

mydestination = $myhostname, localhost.$mydomain, localhost,
domain2.info, domain3.info, domain4.info, domain5.info


Then, assuming you have aliases for all the lists, this should work.


In any case, you should also have in mm_cfg.py (assuming the web domain
corresponding to the email domain domain1.info is www.domain.info)

add_virtualhost(www.domain1.info, domain1.info)
add_virtualhost(www.domain2.info, domain2.info)
add_virtualhost(www.domain3.info, domain3.info)
add_virtualhost(www.domain4.info, domain4.info)
add_virtualhost(www.domain5.info, domain5.info)

This is to facilitate creating lists in the proper domain from the web.

If you want some of these domains to be virtual in Postfix, it's a
bit more involved. If you let us know exactly what the requirement is,
we can help with that too.

-- 
Mark Sapiro m...@msapiro.netThe highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Simple, yet over my head multiple domain problem

2010-04-28 Thread Ty Nelson
Mark,
That solved it!  Not only are you really smart, you're nice too.  That
always makes my day better.

Thanks for taking the time to answer the question.  That was so easy and
simple to do-but somehow when I get inside mailman I have this horrible fear
of breaking it.  (I've done that a few times).

Thanks again!
-Ty

On Wed, Apr 28, 2010 at 8:39 AM, Mark Sapiro m...@msapiro.net wrote:

 Ty Nelson wrote:

 I don't know how to make it so I can have more than one domain on my
 mailman
 install.  I have all the domains pointing to the correct IP address, so
 the
 interface works on each domain.  I can change the hostname in my
 main.cffile to whatever domain I want to work at that instant, and it
 works-but I
 don't know how I can have 5 domains that work at the same time.  I can
 only
 get them to work one at a time.
 I understand that these files must be changed:
 main.cf
 mm_cfg.py
 (something involving virtual hosts)
 
 But I've looked everywhere on the internet and I can't find a step by step
 guide for (idiots) if you will on what I need to do to what file word for
 word.
 
 Basically,
 how can I make:
 domain1.info
 domain2.info
 domain3.info
 domain4.info
 domain5.info
 
 all work at the same time.
 
 I know this forum is for advanced issues in general, been on it for quite
 sometime.  So I apologize for filling your inbox with such a silly
 question.


 This list is for any and all Mailman users. No apologies required.

 If I understand correctly, the easiest solution is to make all the
 domains local in Postfix. I.e. in main.cf, if for example you have

 myhostname = domain1.info

 you could put

 mydestination = $myhostname, localhost.$mydomain, localhost,
 domain2.info, domain3.info, domain4.info, domain5.info


 Then, assuming you have aliases for all the lists, this should work.


 In any case, you should also have in mm_cfg.py (assuming the web domain
 corresponding to the email domain domain1.info is www.domain.info)

 add_virtualhost(www.domain1.info, domain1.info)
 add_virtualhost(www.domain2.info, domain2.info)
 add_virtualhost(www.domain3.info, domain3.info)
 add_virtualhost(www.domain4.info, domain4.info)
 add_virtualhost(www.domain5.info, domain5.info)

 This is to facilitate creating lists in the proper domain from the web.

 If you want some of these domains to be virtual in Postfix, it's a
 bit more involved. If you let us know exactly what the requirement is,
 we can help with that too.

 --
 Mark Sapiro m...@msapiro.netThe highway is for gamblers,
 San Francisco Bay Area, Californiabetter use your sense - B. Dylan


--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org