Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Users

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-25-2005, 12:32 PM
Advanced Member
 
Posts: 203
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
Reply With Quote
  #2 (permalink)  
Old 09-25-2005, 12:53 PM
Zimbra Employee
 
Posts: 2,103
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).
Reply With Quote
  #3 (permalink)  
Old 10-14-2005, 06:09 PM
Zimbra Employee
 
Posts: 274
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 11:17 AM..
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.