LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-06-2011, 10:57 AM   #1
jhoc
LQ Newbie
 
Registered: Apr 2011
Posts: 2

Rep: Reputation: 0
Dual exim boxes in front of a single smarthost


I'm currently running Exim4 on Debian as my primary MTA, which sits in front of my windows email server (they are on the same lan). Mail comes into the MTA which is the main (lowest) MX record for the domain, it processes the mail, does a few spam checking routines and then if it all checks it out opens an SMTP connection to the windows box and delivers the mail. My problem is the load on my MTA (Debian) is so high that I need to look into a second local MTA to alleviate some of the traffic.

Would it be possible to build another near identical Debian box, with the same exim4 config set to pass mail on the the windows box (again on the same LAN), and assign it an equally low MX record as the primary MTA? Am I correct in assuming it would "randomly" choose which MX to deliver to?

I don't need anything complex like load balancing I just want approximately half of the mail to reach each of the MTAs and can't think of a simple way to do it.

Thanks for any insight anyone can provide.
 
Old 04-18-2011, 03:30 AM   #2
adymcc
Member
 
Registered: Dec 2006
Posts: 31

Rep: Reputation: 17
Yes you can do that though it's not true load balancing, it will provide you with a rough split of traffic. It will also depend on your top talkers and which server they have resolved and cached.

Are you handling spam/av at SMTP time, i.e. not accepting the email if SpamAssassin thinks its spam?

How are you handling load balancing your traffic outbound?
 
Old 04-19-2011, 08:13 AM   #3
jhoc
LQ Newbie
 
Registered: Apr 2011
Posts: 2

Original Poster
Rep: Reputation: 0
I've decided to go with round robin DNS instead of equal MX records. That way both incoming and outgoing email get balanced across both MTAs. Seems to be working well so far. For spam the debian MTAs do clamav, greylisting, general rfc compliance checks, dns-bl, and blacklisting of many large foreign CIDR blocks. Anything that gets past that gets sent on to the windows server which is running spamassassin, kaspersky av and various content filters. I have recently removed our greylisting as I couldn't find a proper way to share the triplet cache across both mtas and in general it seems to have caused us more grief than benefit since we started using it a few years ago.
 
  


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
[SOLVED] Exim smarthost with DKIM Tornado_Shanks Linux - Server 1 05-13-2010 06:14 AM
LXer: Exim Authenticated Smarthost LXer Syndicated Linux News 0 07-07-2008 10:00 AM
Exim smarthost ? prixone Linux - Server 2 01-01-2008 05:05 AM
Dual processor vs. Dual core cs. single on home machine fincher69 Linux - Hardware 3 03-04-2005 01:37 PM
Using SPEWS with EXIM, can I white list a single email address? m3kgt Linux - Software 0 01-23-2004 12:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:04 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