I've been installing, upgrading and reinstalling Zimbra FOSS for a while, trying to get it just right.. Right now I'm starting from scratch again and would like some input on how to plan my installation. My main issue has to do with getting zimbra to co-exist with apache in an elegant way.
What I would like to get in the end is this:
* a server, domain.tld, with email@example.com
* my MX for domain.tld points to mail.domain.tld (same server/ip)
* apache running on www.domain.tld (and domain.tld)
* Zimbra (for webmail, desktop, dav etc) running on https://z.domain.tld
My problems have been
1. ajp doesn't work (for admin and desktop) as the responses apparently are too large, so thats abandoned in favor of just mod_proxy
2. redirections when using proxy to http://z.domain.tld or http(s)://domain.tld, I'm guessing that there are several places in the configuration where the domain is explicitly stated (?)
During the trials I have followed the wiki (and others), creating a zimbra.conf (mungled in the post) for apache, changing ports, modes and URLs using zmprov, zmtlsctl etc. I've realised that I'm not sure I understand what domain and server means in Zimbra and that I should probably start from a clean system with some help from you guys!
Is there a way to get Zimbra to understand that all http communication should go through https://z.domain.tld but the user domain is still domain.tld, preferably in a way that survives updates.. One thought is to install Zimbra as z.domain.tld but that seems to give me firstname.lastname@example.org. I would like to avoid that even if I guess I could then create another zimbra-domain giving me email@example.com. But if that is the only way to consistently make Zimbra not redirect the user to domain.tld, OK then!
What port to use when installing/zmprov-ing is also an issue. If I tell zimbra to use, say, 8443 then it seems to want to redirect the user there and of course 443 gives a port conflict (if apache is running at the time).
So my questions are: So is installing with z.domain.tld and then customizing the domain and port easiest and most permanent or should I use domain.tld and customize the redirects etc? What would need to be customized for z.domain.tld to achieve the setup I want? What would need to be customized for domain.tld? How can I do it so I won't need to redo it with every point upgrade?
I'm mostly interested in the high level idea, the details I can dig up or, failing that, ask about in another thread.. Hope you guys have some thoughts!