Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-28-2005, 04:43 AM   #1
Registered: Dec 2004
Location: india
Posts: 60

Rep: Reputation: 15
mail server load balancing-------------

hello sir,
We are a group of administrators working on a mail server project.
We will try to explain our project completely as below:-

We are making 2 mailservers each having different hard disk. We want that Both the mail servers combiningly form a raid1 configuration.Each mail server is having their own mail boxes.Both Mailservers should point to only one hard disk .

Our main aim is that at a perticular time both hard disks should synchronise so that the mailboxes data will be same in both the mail servers.

So that if any mailserver fails the other mailserver should take the load (as it happens in raid1 configuration).

Kindly help us

Old 08-28-2005, 09:47 AM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 250Reputation: 250Reputation: 250
Unless you can afford very expensive load balancing hardware that does these types of things for you when one fails, the other picks it up, your probably better off creating a cluster of some kind or the like.

A quick google search found this project that might help:
Old 09-02-2005, 10:28 AM   #3
Registered: Sep 2003
Distribution: *bsd, solaris, gentoo
Posts: 86

Rep: Reputation: 15
I'm in the same scenario ....

I have two servers running postfix/courier/mysql doing virtual hosting of email accounts/domains. I have the first mail server (mail1) doing mysql data replication and acting as a master mysql server, while the second mail server (mail2) is a slave mysql server and is instantaneously synced with the mail1's database. I'm also having to some how sync the actual user mailbox files (probably over nfs on remote file server) located in /usr/local/virtual on both servers. So I have one way mirroring mail servers, (mail1 is mirrored to mail2). As far as load balancing I'm still doing some research, but it seems like a pop3/imap proxy server would be the solution.

The proxy server is the solution for load balancing user logins: and both point to the proxy server which then decides which mail server to forward the pop3/imap user to.

And for load balancing incoming emails I believe setting in the domain's mail exchange records both mail servers with the same priority would balance the incoming mail.

Mainly the current problems i'm having is finding a pop3/imap proxy server that can implement rules not based on specific email accounts, and finding a way to instantaneously sync the directory /usr/local/virtual between both servers with using another server for nfs, and allow both servers to make changes to it.

If I'm wrong about anything, or you know of any solutions or have suggestions please let me know. And I will keep you posted on what I figure out.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LVS is load balancing ok but it does not recognize a server as down if it goes down abefroman Linux - Networking 0 09-04-2005 10:23 PM
mail server load balancing kanwar_rajan Linux - Networking 1 09-24-2004 05:23 AM
same: load balancing of mail servers. bswrj Linux - General 1 05-12-2003 07:41 AM
load balancing: mail server bswrj Linux - Networking 5 05-12-2003 05:29 AM
project on Load balancing of Mail servers deepagodkhindi Linux - Newbie 5 04-30-2003 02:34 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:01 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration