Results 1 to 3 of 3

Thread: new domains

  1. #1
    Join Date
    Sep 2005
    Location
    Calgary
    Posts
    208
    Rep Power
    10

    Default new domains

    I am wondering how i can set up zimbra domains and subdomains. I have named my zimbra server mx1.canmail.org and have a webpage running on another server at canmail.org and www.canmail.org using DNS. My question is how do i make zimbra accept logins in the form user@canmail.org rather than user@mx1.canmail.org. When i try to add the domain canmail.org nothing happens completely differnt domains add as normal.
    Computer King

    http://www.computerking.ca

    Sales, Service, and Hosting
    Email, Data, and Web Packages
    Ask about web design specials

    Affiliates
    http://www.computerking.ca/pages/lin...affiliates.htm

  2. #2
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    14

    Default Domain already exists

    Quote Originally Posted by rmvg
    I am wondering how i can set up zimbra domains and subdomains. I have named my zimbra server mx1.canmail.org and have a webpage running on another server at canmail.org and www.canmail.org using DNS. My question is how do i make zimbra accept logins in the form user@canmail.org rather than user@mx1.canmail.org. When i try to add the domain canmail.org nothing happens completely differnt domains add as normal.
    The issue here is that the domain canmail.org already exists in ldap, though not as a full domain - when we create the mx1.canmail.org domain, we create canmail.org first, though not as a "full" domain. We're working on a way to "promote" such domains.

    You can accomplish this, though it's tricky. You'll need an ldap browser, and be comfortable using it, or have the skills to create and use ldif files and ldapmodify.

    To accomplish what you want, create a temporary domain (zmprov cd footest.org). Then move all mx1.canmail.org accounts to that domain (zmprov ra account@mx1.canmail.org account@footest.org). Finally, delete the mx1.canmail.org domain (zmprov dd mx1.canmail.org).

    This is the tricky part - deleting that domain won't delete the canmail.org entry from ldap, so you'll have to do it by hand (this is a bug). It should look something like this in ldap:

    dn: dc=canmail,dc=org
    dc: canmail
    objectClass: dcObject
    objectClass: organization
    o: canmail domain

    Once that's gone, you can create the canmail.org domain (zmprov cd canmail.org). Finally, move your accounts to the new domain (zmprov ra account@footest.org account@canmail.org).

    Make sure you update all mx1.canmail.org references in ldap (eg, zimbraDefaultDomainName) and anything in the local config (eg, av_notify_user).

    You will probably want to shut the system down, aside from ldap, before you do all this. (zmcontrol shutdown, ldap start) and restart when you're done (ldap stop, zmcontrol start).

  3. #3
    Join Date
    Sep 2005
    Posts
    274
    Rep Power
    10

    Default also related to domain creation bug

    for the record, and for the benefit of people searching the forums at a later date, this is probably related to bug 2233 "can't create domain foo.com after creating sub.foo.com" and has been fixed in our mainline code - not sure if it was fixed in 3.0.M1 release.
    Last edited by anand; 10-20-2005 at 12:17 PM.

Similar Threads

  1. Advanced MTA Configuration - multiple domains
    By keyhman in forum Installation
    Replies: 6
    Last Post: 04-20-2012, 03:23 AM
  2. Sending mails to domains without use of DNS server
    By generic31 in forum Administrators
    Replies: 5
    Last Post: 08-08-2011, 04:17 AM
  3. Help UNderstanding the implications of Virtual Domains
    By jhoelz in forum Administrators
    Replies: 2
    Last Post: 04-14-2008, 01:03 AM
  4. Replies: 3
    Last Post: 06-07-2007, 08:19 AM
  5. Virtual Domains Breaking Themes
    By jhoelz in forum Administrators
    Replies: 0
    Last Post: 03-14-2007, 06:58 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
  •