dsampaio

Member
Mar 14, 2004
23
0
151
Hi,

As most of you, my Exim is runig on the same server as Apache, MySQL, PgSQL, etc. I want to setup a new server just for Exim and them change all my domains MX. I´ll have two servers: SERVER 1 will run Exim + cPanel, SERVER 2 will run all the other services.

I need to know how to calculate the bandwith as if there were at the same server (and how cPanel do now!).

Example: One of my users have 5 Gb of monthly bandwidth for HTTP, MAIL, FTP (SERVER 1) because they are at the same server. But if I create a mail only server with cPanel (SERVER 2), how do I make the bandwidth quota work as if it was only one server (SERVER 1 + 2)?

Have I been clear?

Any help will be welcome.

Thanks.

 

webignition

Well-Known Member
Jan 22, 2005
1,876
2
166
One possible method:

Server A: Mail and cPanel
Server B: Everything else

Run a script on server A, every so often, to retrieve server B's bandwidth usage information and suitably adjust server A's information.

You'd then need a script to automatically suspend/unsuspend the services on server B when server A's cPanel account is suspended. And cancelled. And created. And modified in any way.

How are you planning on managing Apache configuration changes, as requested from server A, on server B?
 

dsampaio

Member
Mar 14, 2004
23
0
151
Thanks webignition!

But I need A + B = TOTAL BANDWIDTH and I think that wht you send me would use only bandwidth from one server.

About Apache, I don´t think that I need to change anything since server A will only run Exim and cPanel.

Thanks!