ispCP - Board - Support
Separating Mail Web and maybe mysql - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: General discussion (/forum-11.html)
+--- Thread: Separating Mail Web and maybe mysql (/thread-1104.html)



Separating Mail Web and maybe mysql - rsmithgs - 08-03-2007 04:57 PM

Hi Everybody,
Is it possible to separate Mail and Web (And even MySql) onto different physical servers but manage them through the same Omega interface?

I.E. Set up a mail server and a Webserver with Omega control panel, when creating, administering, using webmail it would create, edit, use the mail accounts on the server?

If so would you have a quick guide?

Many Thanks Smile


RE: Separating Mail Web and maybe mysql - RatS - 08-03-2007 07:41 PM

Try it with VFS or NFS.


RE: Separating Mail Web and maybe mysql - rsmithgs - 08-03-2007 09:47 PM

Wouldn't that still be dependant on the processing power of the web server when processing email?


RE: Separating Mail Web and maybe mysql - kilburn - 08-03-2007 10:54 PM

rsmithgs Wrote:Wouldn't that still be dependant on the processing power of the web server when processing email?

It wouldn't, but it also won't be that easy to set-up.... I would go this way:

mail.domain.tld
- Courier config (/etc/courier) database should be NFS exported
- So should be postfix config (/etc/postfix) with an aditional warning: ispcp will configure it as web.domain.tld fqdn so you will have to replace it manually.

web.domain.tld
- Mount /etc/courier & /etc/postfix from mail.domain.tld
- Modify DNS templates to point MX, mail, pop3, stmp, etc. to mail.domain.tld instead of web.tomain.tld

db.domain.tld
- This is the easiest of all, just enter the db server IP on ispcp installation (and tell your customers that they need to use "db.domain.tld" when connecting to their mysql databases)

Once this is all working you would get:
- Dedicated mail server that processes all mail including pop3/imap and authentication locally
- Dedicated db server (this is optional, you may choose to run this at the web machine)
- Web/panel/ftp server that manages the mail server through NFS access to it's config/userdbs files


This *might* work, but I'm sure that some problems will arise... be ready to fight a bit Wink


RE: Separating Mail Web and maybe mysql - BioALIEN - 08-04-2007 12:29 AM

We really need a HOWTO for multi server setup! It would help a lot of people because this is not the first time this question has been asked.


RE: Separating Mail Web and maybe mysql - RatS - 08-04-2007 12:58 AM

should work as kilburn wrote. But how to write a HowTo, if you never tried; maybe rsmithgs can do this.

kilburn Wrote:be ready to fight a bit Wink

The poor Bit.


RE: Separating Mail Web and maybe mysql - rsmithgs - 08-04-2007 01:01 AM

Anything I can do to help the community, I will see if I can do it first lol


Cheers guys


RE: Separating Mail Web and maybe mysql - rsmithgs - 08-16-2007 06:56 PM

OK so I have managed to separate the email and web servers. Was a bit fiddly but got it in the end. The control panel created and deletes email users and the webmail component works.

I'm having issues separating the mysql and web server. ISPCP has placed it's database on the database server which is good but I cannot create databases from the control panel. Is there a change I have to make somewhere to tell the control panel to create databases on my database server rather then attempting to create them on the web server?

Many Thanks Smile

Once I have this all done and tested I will create a nice howto


RE: Separating Mail Web and maybe mysql - raphael - 08-17-2007 01:29 AM

Quote: Is there a change I have to make somewhere to tell the control panel to create databases on my database server rather then attempting to create them on the web server?

I'll try to remove some hard-coded stuff; hope that's all it is required


RE: Separating Mail Web and maybe mysql - rsmithgs - 08-17-2007 01:31 AM

raphael Wrote:
Quote: Is there a change I have to make somewhere to tell the control panel to create databases on my database server rather then attempting to create them on the web server?

I'll try to remove some hard-coded stuff; hope that's all it is required
Cool, cheers Raphael Smile