Results 1 to 8 of 8

Thread: Default domain name

Hybrid View

  1. #1
    Join Date
    Dec 2006
    Posts
    1
    Rep Power
    9

    Default Default domain name

    I"ve recently put up the Open Source version of Zimbra for testing purposes to see if it might work as a good mailserver/webmail alternative for many of our users. We have several different domains registered, all having their own seperate userbase.

    One of the issues that I havn't been able to figure out is regarding how to set the default domain name for the domain. WHen I installed Zimbra it set the default domain to something like server1.mydomain.com. So now whenever I send an email out as my user it shows up in the inbox as awilisch@server1.mydomain.com when it needs to just show up as awilisch@mydomain.com. I've looked through all the settings and havn't found a place to tell it that any user that's created in this domain should have a default domain name of @mydomain.com.

    I know I can tell sendmail to strip off the domain and replace it, but I would think a mailserver of this caliber would be able to set this function. Am I just missing it, or once you create the domain is that pretty much it? Seems like a bit of a waste to create a new domain called @mydomain.com when all I need to do is tell it to not add the hostname.

    Any help is appreciated. I'm sure it's something I just missed.

    Thanks much.
    Regards,
    Aric Wilisch

  2. #2
    Join Date
    Nov 2005
    Location
    London, ON
    Posts
    255
    Rep Power
    10

    Default

    In the admin console you need to setup the domain. Then you will have to change all of your users over to use that domain. Lastly you need to execute a zmprov command:

    zmprov mcf zimbraDefaultDomainName mydomain.com

  3. #3
    Join Date
    Jul 2006
    Posts
    623
    Rep Power
    10

    Default

    FYI During initial installation the default domain is listed under the ldap configuration menu.

    Main menu

    1) Hostname: host.example.com
    2) Ldap master host: host.example.com
    3) Ldap port: 389
    4) Ldap password: set
    5) zimbra-ldap: Enabled
    6) zimbra-store: Enabled
    ...

    Address unconfigured (**) items (? - help) 5


    Ldap configuration

    1) Status: Enabled
    2) Create Domain: yes
    3) Domain to create: host.example.com
    Select, or 'r' for previous menu [r] 3

    Create Domain: [host.example.com] example.com

    Ldap configuration

    1) Status: Enabled
    2) Create Domain: yes
    3) Domain to create: example.com
    Select, or 'r' for previous menu [r]

  4. #4
    Join Date
    Dec 2006
    Posts
    16
    Rep Power
    9

    Default Fresh Install and Default Domain Name

    Hi,

    I have installed Zimbra many times in different test configurations and that all works dandy, but the part I always seem to have to do is to define an additional domain as @mydomain.com because Zimbra always defaults to the FQDN or host name of the server.

    I followed the above instructions on a fresh install but neither has seemed to work for me to define my default domain as @mydomain.com.

    Any tips?

    Thanks.

  5. #5
    Join Date
    Nov 2005
    Posts
    518
    Rep Power
    11

    Default

    maybe you have an MX record for the hostname instead of (or in addition to) the mail domain, in which case the setup won't prompt with "It is suggested that the domain name have an MX record configured in DNS"

    at any rate, once you have a domain that suits you, set it as the default domain. this will create a fresh domain and make it the default:

    zmprov createDomain shiny.example.com
    zmprov modifyConfig zimbraDefaultDomainName shiny.example.com

  6. #6
    Join Date
    Dec 2006
    Posts
    16
    Rep Power
    9

    Default Single Domain

    Bobby thanks for the reply but I am not sure I understand you.

  7. #7
    Join Date
    Nov 2005
    Location
    London, ON
    Posts
    255
    Rep Power
    10

    Default

    Quote Originally Posted by intekular View Post
    Hi,

    I have installed Zimbra many times in different test configurations and that all works dandy, but the part I always seem to have to do is to define an additional domain as @mydomain.com because Zimbra always defaults to the FQDN or host name of the server.

    I followed the above instructions on a fresh install but neither has seemed to work for me to define my default domain as @mydomain.com.

    Any tips?

    Thanks.
    This happens because you are missing a step in the installation. Before you get to this menu it does DNS check to see if there is an MX record for your hostname, usually there isn't an MX for a host so the installation will stop and ask you a question if you are sure you want to create that domain. When in fact the domain doesn't exist it is just a host. This when you specify your actual domain.

Similar Threads

  1. Replies: 45
    Last Post: 11-28-2007, 06:39 PM
  2. Perdition not restart !!!!
    By olibite in forum Administrators
    Replies: 2
    Last Post: 05-22-2007, 04:50 AM
  3. perdition won't start after 4.5 Upgrade
    By freeformz in forum Administrators
    Replies: 1
    Last Post: 01-29-2007, 07:39 PM
  4. default domain
    By ipguru99 in forum Installation
    Replies: 1
    Last Post: 06-17-2006, 02:42 PM
  5. Aliases should default to default domain of added user
    By Interkey JeffG in forum Developers
    Replies: 1
    Last Post: 12-16-2005, 09:30 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
  •