I've set up several mail domains on my Zimbra server successfully and everything's about to go live when one of the decision makers stumbled on something really stupid and needless (IMHO) that he just can't live with.
Our company domain name is mycompany.com (actual names have been changed) but while I was setting up the server I didn't have access to the DNS records of the mycompany.com so I set up the server with a sub-hostname under my personal domain name "zimbra.mypersonal.com". So right now when I log into the admin panel, the server list would be displayed as zimbra.mypersonal.com. That's fine, but the pointy-haired guy in question noticed that in all mails sent through the Zimbra MTA had "zimbra.mypersonal.com" in the mail headers, he flipped, saying that it was unprofessional to have a personal domain name in corporate emails etc.
I tried to change the server hostname to zimbra.mycompany.com but logging in via webmail just throws an exception and I can't fetch any mailbox via webmail. Changing the webmail MTA hostname doesn't give any effect either.
I read through the posting here explaining how to migrate users to different hostnames but that's not what I'm trying to achieve. The domain names of each user is correct, it's just the SMTP server hostname that I'm trying to change. Changing the server hostname in /etc/sysconfig/network doesn't seem to do anything. Anyway, I tried to do some of the stuff advised in the article above and I seem to have screwed up something worse. Now, I see TWO servers in my server list: zimbra.mypersonal.com and zimbra.mycompany.com. Mails seem to still work ok but I'm rather concerned about what's going on behind the scenes here. Can anybody help? I would like to avoid having to reinstall anything as a couple of the domains create are already live and in use. It's just the main holding company's one that's holding out now.