Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 22

Thread: Moving from single to multi-domain setup questions

  1. #11
    yonatan is offline Special Member
    Join Date
    May 2010
    Posts
    171
    Rep Power
    5

    Default

    Maybe my explanation is not clear and for that I apologise. Let me try to give examples of what I've read and then we can go from there.

    Approach 1

    Zimbra hostname: mail
    Zimbra setup (first) domain: example1.com

    Public (External) DNS

    example1.com
    example1.com 7200 IN MX 10 mail.example1.com.
    mail.example1.com 7200 IN A 213.x.x.x (public IP)

    example2.com
    example2.com 7200 IN MX 10 mail.example1.com.
    mail.example2.com 7200 IN A 213.x.x.x (public IP)


    Approach 2

    Zimbra hostname: mail
    Zimbra setup (first) domain: example1.com

    Public (External) DNS

    example1.com
    example1.com 7200 IN MX 10 mail.example1.com.
    mail.example1.com 7200 IN A 213.x.x.x (public IP)

    example2.com
    example2.com 7200 IN MX 10 mail.example2.com.
    mail.example2.com 7200 IN A 213.x.x.x (public IP)
    Last edited by yonatan; 05-03-2012 at 06:05 AM. Reason: Made examples clearer

  2. #12
    yonatan is offline Special Member
    Join Date
    May 2010
    Posts
    171
    Rep Power
    5

    Default

    phoenix I've sent you a PM regarding the sudden disappearance of your post. I don't know what's going on, so it would be great if you would be so kind as to respond.

    No response, so I removed my previous post above as it no longer has relevance to this thread.
    Last edited by yonatan; 05-03-2012 at 05:43 AM.

  3. #13
    yonatan is offline Special Member
    Join Date
    May 2010
    Posts
    171
    Rep Power
    5

    Default

    Back on track I've tested both approaches and as there are many users who I've read have similar questions regarding the setup and behaviour of multiple domains I will share my observations below.

    Approach 1

    In addition to creating the DNS records in my previous post, I also added mail.example2.com as a virtual host for domain example2.com. This allows users to visit https://mail.example2.com and login with user and pass as opposed to user@example2.com and pass.

    As LMStone pointed out the email headers show that mail from anyone in example2.com originate from example1.com (this is explained here.) This is also true for content filter notifications.

    I noticed that an IMAPS mail client can use the virtual host mail.example2.com, but unlike the webmail access must use the full username, e.g. user@example2.com. Is this the normal behaviour?

    Approach 2

    Created the DNS records as shown in the previous post and I made the same observations as in Approach 1.

    In contrast to Approach 1 when I click "Check MX record" under example2.com in the Admin Console, I get the following message,

    "Domain is configured to use SMTP host: mail.example1.com"

    I found this thread where a user has the same DNS setup and gets this message. Even though, I can send and receive email, should I do something about this message?

    =========================

    The headers showing the first domain (mail.example1.com) is a concern, as I don't want any reference to that domain when mail is sent from example2.com. The only solution I can think of is to get a "generic" domain name for the zimbra server, a kind of "umbrella" name like "examplehosting.com." Does this make sense?
    Last edited by yonatan; 05-03-2012 at 06:47 AM. Reason: added reference link

  4. #14
    LMStone's Avatar
    LMStone is offline Moderator
    Join Date
    Sep 2006
    Location
    477 Congress Street | Portland, ME 04101
    Posts
    1,367
    Rep Power
    10

    Default

    Quote Originally Posted by yonatan View Post
    I've gone through about 14 pages of google search results for the Zimbra forums relating to multi-domain setups.

    The posts I've read discuss two ways of configuring a Zimbra server to handle more than one domain. One approach uses the default (or first domain) as the mx record for all further domains. I guess this is similar to how hosting companies work in that you point your domain to google apps or whatever it is.

    With the second method you configure both the public and private DNS records to reflect the new domains. In contrast to the previous approach, each domain looks as if it "lives" on its own email server.

    Help me decide what to do.
    As Bill pointed out, the first way is really the only public way. If you don't want example1.com users to know about example.com users, then the suggestion to have the Zimbra server be on a "generic" domain like "yonatanmailservices.com" is the way to go (instead of being on example.com).

    Hope that helps,
    Mark

  5. #15
    yonatan is offline Special Member
    Join Date
    May 2010
    Posts
    171
    Rep Power
    5

    Default

    Quote Originally Posted by LMStone View Post
    As Bill pointed out, the first way is really the only public way. If you don't want example1.com users to know about example.com users, then the suggestion to have the Zimbra server be on a "generic" domain like "yonatanmailservices.com" is the way to go (instead of being on example.com).

    Hope that helps,
    Mark
    Ok I've settled on getting an additional domain for the server.

    I'm sorry if I haven't "let go" of the approach 1/2 debate, yet. In the interest of understanding when you say "..the first way is really the only public way" is this a convention stated some where? There are many users on these forums who have adopted one or the other that's why I wonder about a stated convention.

  6. #16
    LMStone's Avatar
    LMStone is offline Moderator
    Join Date
    Sep 2006
    Location
    477 Congress Street | Portland, ME 04101
    Posts
    1,367
    Rep Power
    10

    Default

    Quote Originally Posted by yonatan View Post
    Ok I've settled on getting an additional domain for the server.

    I'm sorry if I haven't "let go" of the approach 1/2 debate, yet. In the interest of understanding when you say "..the first way is really the only public way" is this a convention stated some where? There are many users on these forums who have adopted one or the other that's why I wonder about a stated convention.
    Fair question!

    It's not like I have seen an RFC for this, but as a Zimbra Hosting Provider I can tell you that having the one "master" domain for the Zimbra server(s) simplifies everything -- especially for the clients.

    We use the same three MX records (all on reliablenetworks.com) for every hosting client. Regardless of their onboarding method, this alone just makes troubleshooting very straightforward.

    If we had to manage unique MX records for every client, it would be quite an administrative challenge.

    Plus, not that it's a good reason all by itself, but Google, Postini and lots of other large providers do the same.

    Hope that helps,
    Mark

  7. #17
    yonatan is offline Special Member
    Join Date
    May 2010
    Posts
    171
    Rep Power
    5

    Default

    That's all I wanted to hear! Makes sense to me, so I will do as you recommend...APPROACH 1 it is

    Do you setup virtual hosts for the domains you host on reliablenetworks.com or do you direct your clients to your domain?

    If you setup virtual hosts for your clients is this used for webmail access only or <strike>also for POP, IMAP, ActiveSync in desktop & mobile clients</strike> (this is what you mean by "on boarding method")?
    Last edited by yonatan; 05-03-2012 at 12:22 PM. Reason: missed "on boarding method"

  8. #18
    LMStone's Avatar
    LMStone is offline Moderator
    Join Date
    Sep 2006
    Location
    477 Congress Street | Portland, ME 04101
    Posts
    1,367
    Rep Power
    10

    Default

    Quote Originally Posted by yonatan View Post
    That's all I wanted to hear! Makes sense to me, so I will do as you recommend...APPROACH 1 it is

    Do you setup virtual hosts for the domains you host on reliablenetworks.com or do you direct your clients to your domain?

    If you setup virtual hosts for your clients is this used for webmail access only or <strike>also for POP, IMAP, ActiveSync in desktop & mobile clients</strike> (this is what you mean by "on boarding method")?
    We set up virtual domains for some clients but not others. Since we have been running Zimbra since 4.0.3, the virtual domain functionality has improved, but back in the day there were several "gotchas" the specifics of which I no longer remember that led us to avoid using virtual domains if at all possible, and, justified or not, we tend to follow that to this day.

    Besides, we name most of our Zimbra servers after wines, and clients seem to enjoy that!

    All the best,
    Mark

  9. #19
    yonatan is offline Special Member
    Join Date
    May 2010
    Posts
    171
    Rep Power
    5

    Default

    Quote Originally Posted by LMStone View Post
    Besides, we name most of our Zimbra servers after wines, and clients seem to enjoy that!
    I like your creativity! Final thing I can think of to wrap up my PITA thread

    I googled, but I want to verify that it is best practice to have abuse and postmaster addresses for every domain you host (the root and admin accounts are only necessary for the "master" domain), yes?

  10. #20
    LMStone's Avatar
    LMStone is offline Moderator
    Join Date
    Sep 2006
    Location
    477 Congress Street | Portland, ME 04101
    Posts
    1,367
    Rep Power
    10

    Default

    Quote Originally Posted by yonatan View Post
    I like your creativity! Final thing I can think of to wrap up my PITA thread

    I googled, but I want to verify that it is best practice to have abuse and postmaster addresses for every domain you host (the root and admin accounts are only necessary for the "master" domain), yes?
    Yes, you should have abuse (required by the RFCs) and postmaster accounts for every domain you host.

    Suggest you set up a separate mailbox on the master domain and add all those addresses as aliases. If you actually set up a mailbox called "abuse@domain.com" you will find it gets locked out periodically when mal-intentioned persons try logging in.

    S'OK?

    All the best,
    Mark

Page 2 of 3 FirstFirst 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. migrate from single to multi server setup
    By Cringer in forum Installation
    Replies: 0
    Last Post: 06-02-2011, 09:11 AM
  2. Replies: 1
    Last Post: 03-02-2011, 03:43 AM
  3. Replies: 7
    Last Post: 04-27-2009, 02:49 AM
  4. Replies: 20
    Last Post: 03-18-2008, 05:37 AM
  5. iCal 3 "Domain (null)/Error 0" in multi domain setup
    By epoc1000 in forum Administrators
    Replies: 12
    Last Post: 01-23-2008, 09:14 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •