LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-28-2005, 04:43 AM   #1
pal
Member
 
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

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

Rep: Reputation: 271Reputation: 271Reputation: 271
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: http://www.linux-ha.org/
 
Old 09-02-2005, 10:28 AM   #3
evilchild
Member
 
Registered: Sep 2003
Location: 127.0.0.1
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:
pop3.foobar.com and imap.foobar.com 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.

Thanks
 
  


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:59 PM.

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