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

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 07-02-2009, 08:25 AM
New Member
 
Posts: 3
Default Accepting mail for @foo.com not only @mail.foo.com

Sorry if I'm posing an already-asked question. I couldn't find a relevant post in the forums.

We created our standalone Zimbra server as mail.foo.com, so all accounts created under it default to account@mail.foo.com. However, of course we want the accounts to be account@foo.com. The MX is set up to route all mail to this server's IP address. Tried creating a virtual server in Zimbra, but no luck. When we try to save an account @foo.com Zimbra returns "The specified domain does not exist".

FWIW, the contents of /etc/hosts:
-----------------------------------------
127.0.0.1 localhost.localdomain localhost
www.xxx.yyy.zzz mail.foo.com mail
www.xxx.yyy.zzz foo.com
-----------------------------------------
(Where www.xxx.yyy.zzz is the masked IP of the server.)

I imagine it's something silly, and will greatly appreciate any and all advice.

Last edited by gdev; 07-02-2009 at 08:36 AM.. Reason: Added hosts file
Reply With Quote
  #2 (permalink)  
Old 07-02-2009, 08:33 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

You could just rename the domain, I'm assuming you don't want two domains or a domain called mail.foo.com? Have a look at the format of the command on this page: Zmprov - Zimbra :: Wiki
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 07-02-2009, 08:33 AM
Junior Member
 
Posts: 7
Default

You just need to add the domain on the admin console, Configurations -> Domains -> New. In the install process there's a setting for the domain to be created, the default is the hostname of the machine.
Reply With Quote
  #4 (permalink)  
Old 07-02-2009, 08:34 AM
Moderator
 
Posts: 927
Default

In the zimbra admin console, add a new domain called foo.com
You can set this to be the default domain, so a user can login with username, rather than username@foo.com
Reply With Quote
  #5 (permalink)  
Old 07-02-2009, 09:14 AM
New Member
 
Posts: 3
Default Thanks!

I _knew_ we were missing something obvious! Many thanks to all of the respondents.
Reply With Quote
  #6 (permalink)  
Old 07-02-2009, 09:34 AM
Advanced Member
 
Posts: 186
Lightbulb

First thing first, while configuring the zimbra it will take the hostname.domain as domain name i.e. hostname was mail.foo.com and domainname should be foo.com but zimbra default configuration was to be configure with the mail.foo.com.
Second why the entry www.xxx.yyy.zzz foo.com is required in the /etc/hosts.
Entry should be some thing like "www.xxx.yyy.zzz mail.foo.com mail "

Various options to make things work for you.
Create domain foo.com as told by other guys and make the MX for foo.com, create all the account you require under foo.com. Data can be migrated from old account to the new one.

Another option can be to rerun the configuration script, don't really know the exact location.
How come to can have the error when you did """Tried creating a virtual server in Zimbra, but no luck. When we try to save an account @foo.com Zimbra returns "The specified domain does not exist""".
Did you mean to host the domain foo.com when you tried virtual host?

Regards
Adeel
Reply With Quote
  #7 (permalink)  
Old 07-02-2009, 10:03 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Quote:
Originally Posted by gdev View Post
FWIW, the contents of /etc/hosts:
127.0.0.1 localhost.localdomain localhost
www.xxx.yyy.zzz mail.foo.com mail
[url]www.xxx.yyy.zzz foo.com
That's incorrect, your hosts file should only contain the following:
Code:
127.0.0.1 localhost.localdomain localhost
x.x.x.x mail.foo.com mail
where x.x.x.x is the IP address of your Zimbra server.
__________________
Regards


Bill
Reply With Quote
  #8 (permalink)  
Old 07-02-2009, 10:36 AM
Advanced Member
 
Posts: 186
Thumbs up

Reconfiguration script = /opt/zimbra/libexec/zmsetup.pl

Regards
Adeel
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.