FAQ
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

Search Discussions

  • Mark Sapiro at Apr 28, 2010 at 3:39 pm

    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 <mark at msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Ty Nelson at Apr 28, 2010 at 4:01 pm
    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 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 <mark at msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupmailman-users @
categoriespython
postedApr 27, '10 at 5:14p
activeApr 28, '10 at 4:01p
posts3
users2
websitelist.org

2 users in discussion

Ty Nelson: 2 posts Mark Sapiro: 1 post

People

Translate

site design / logo © 2022 Grokbase