Heres my plan:
I am starting a Web Design and Hosting company. I have decided to use Virtualmin & Zimbra for Hosting CP's and Mail servers, respectively. Now, I have 3 VPS's right now (Linode) but I can purhase more, if need be.
My basic idea is to do the following:
Have one VPS set up with Virtualmin as main1.mydomain.com (With an A record pointing to the correct server from the main1 subdomain)
Have another vOS setup exactly the same as the first, only called main2.
Both of these VPS's (main1 & main2) will use LDAP, so that users can login at either URL and still get theyre account settings, as well as so that the Zimbra mail server can retrieve mail settings.
Have the third VPS setup with Zimbra mail server, and configure it for multi-domain support and logins (so users would login with user@fulldomain.com and they're password) to get there email.
Now, onto the questions:
Can I do this?
Is it possible so that any user can go to mail.customerdomain.com and be forwarded to the mail server?
Can I re-direct mail from the virtualmin servers to the zimbra server?
Can a user go to mail.mydomain.com and be forwarded to the zimbra server?
Can I use LDAP to accomplish some/all of these tasks?
Thanks a million, Adam Del Vecchio
Can I do this?
There's very little you can't do with Linux; it's just a matter of the complexity of the setup :-)
Is it possible so that any user can go to mail.customerdomain.com and be forwarded to the mail server?
Sure! Virtualmin has some options to handle that (though it uses "webmail" rather than "mail").
You can set that up in System Settings -> Server Templates -> Apache Website -- it sounds like you'll want to tweak "URL for webmail redirect" to point to your Zimbra server.
Can I re-direct mail from the virtualmin servers to the zimbra server?
Sure -- what you'd need to do is disable the mail feature within Virtualmin (In System Settings -> Features and Plugins) -- and then go into the Server Templates, and setup an MX record to point to your Zimbra server.
Can a user go to mail.mydomain.com and be forwarded to the zimbra server?
If you setup mydomain.com as a Virtual Server, and you've setup the URL for webmail redirect above, then that'll work without a problem.
Can I use LDAP to accomplish some/all of these tasks?
Well, LDAP simply makes users, and potentially some settings, available in a daemon.
That's only part of the puzzle -- you still have to work on getting your tools to either query ldap, and/or you have to sync data/settings between the servers.
What you're after is a pretty involved setup, and you certainly have your work cut out for you! ;-)
But, with some persistence, you should be able to get what you need :-)
Have a good one!
-Eric
Thanks a million, I am going to have to start on this tonight :D
Where can I setup the MX record in Virtualmin?
bump