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 03-17-2008, 03:11 PM
Loyal Member
 
Posts: 88
Cool [SOLVED] change domain/server name

We're getting really close to deploying Zimbra FOSS here, I'm excited!

Right now I am running ZCS on a specific host (zcs.mydomain.com). I have an alias setup on our current email server which redirects mail for me@mydomain.com to me@zcs.mydomain.com. All good. My reply to address is me@mydomain.com, but in the recipient's email it does show from: me@zcs.mydomain.com. How can I change it so its just @mydomain.com? Keep in mind I can't just change the host name because then sent mail will resolve to the zcs server and not the current email server. Make sense?

Thx

Last edited by jpbuse; 03-19-2008 at 06:58 AM.. Reason: Figured it out!
Reply With Quote
  #2 (permalink)  
Old 03-18-2008, 02:19 AM
Moderator
 
Posts: 7,928
Default

Within the Admin UI have you added a domain alias to the server zcs.mydomain.com ? If so you should then be able to set within your email Preferences->Accounts to send from user@domain.com.
__________________
Reply With Quote
  #3 (permalink)  
Old 03-18-2008, 07:07 AM
Loyal Member
 
Posts: 88
Default

Is an alias the same as setting a virtual host under Domains > zcs.mydomain.com > Virtual Host ? I don't know where in the GUI to set an alias. I do this cli command:

Code:
zmprov cd example.com zimbraDomainType alias zimbraMailCatchAllAddress @example.com zimbraMailCatchAllForwardingAddress @domain.com
ManagingDomains - Zimbra :: Wiki
Reply With Quote
  #4 (permalink)  
Old 03-18-2008, 07:42 AM
Moderator
 
Posts: 7,928
Default

Yep that is correct. So when you created the user was it in the zcs.domain.com or domain.com ? If the first then go into your web client and under Preferences->Accounts->Primary Account-Settings in the dropdown boxes for From and ReplyTo are you able to select user@domain.com ?
__________________
Reply With Quote
  #5 (permalink)  
Old 03-18-2008, 07:48 AM
Loyal Member
 
Posts: 88
Default

Quote:
Originally Posted by uxbod View Post
Yep that is correct. So when you created the user was it in the zcs.domain.com or domain.com ? If the first then go into your web client and under Preferences->Accounts->Primary Account-Settings in the dropdown boxes for From and ReplyTo are you able to select user@domain.com ?
When I created the user it was part of zcs.mydomain.com by default. I added a virtual host (just now) but it does not show under my user prefs. Wonder if I need to restart the mailbox? (It says I need to restart upon deletion of a virtual host).
Reply With Quote
  #6 (permalink)  
Old 03-18-2008, 08:50 AM
Loyal Member
 
Posts: 88
Default

I created the virtual host of mydomain.com, restarted zcs and mydomain.com still does not show as an option for my in my user prefs.
Reply With Quote
  #7 (permalink)  
Old 03-18-2008, 09:00 AM
Moderator
 
Posts: 7,928
Default

From the Admin GUI if you create a alias on the email account user@zcs.domain.com and user@domain.com does it then show up in the user preferences ? I am on a similar setup myself, but when I created the account it was straight after I added the virtual domain, therefore could create the account as user@domain.com.
__________________
Reply With Quote
  #8 (permalink)  
Old 03-18-2008, 09:06 AM
Loyal Member
 
Posts: 88
Default

I can only create aliases that end in @ zcs.mydomain.com and not @mydomain.com. I tried creating a new user now that the virtual host is setup but still I only have the option of @zcs.mydomain.com.

Just so I am 100% clear, all I did was add a virtual host. I don't see anywhere in the GUI for a virtual domain. Perhaps on your setup you ran the zmprov cli command above at some point which basically enabled the virtual domain for you?

Last edited by jpbuse; 03-18-2008 at 09:08 AM..
Reply With Quote
  #9 (permalink)  
Old 03-18-2008, 09:14 AM
Loyal Member
 
Posts: 88
Default

I think this did the trick. Testing now...

Code:
zmprov md zcs.mydomain.com zimbraMailCatchAllAddress @zcs.mydomain.com zimbraMailCatchAllCanonicalAddress @mydomain.com
Yup, this works perfectly. In the GUI it still shows as @zcs.mydomain.com, however when I send emails out they are from @mydomain.com. Once we migrate our current email system over to Zimbra then I can run a quick command to change the domain to @mydomain.com. If I do that now then I won't be routing emails correctly to users on our current (non ZCS) email server.

Last edited by jpbuse; 03-19-2008 at 07:00 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.