multiple exims for load balance

icepick

Verified User
Joined
Aug 19, 2005
Messages
112
Location
Auckland, New Zealand
Hey guys,

Not sure if this has been discussed, I know at least the reason for my question has been discussed. I require the running of multiple exim instances to scan the messages for spam and then forward them to the DA box if clean due to higher load on our servers.

I'm wondering if anyone has setup multiple exim instances where it can talk back to the directadmin server to see if the user exists, i.e. maybe make a smtp connect to see if it gets rejected or not if not then accept the mail from the user.

I plan on setting up the 2 frontend MX servers with a smarthost to forward the mail to the actual DA mail server which clients fetch mail from, this can be done with the following:

Code:
smarthost:
driver = manualroute
domains = *
transport = remote_smtp
route_data = “mta3.somewhere.com”

The problem with the above is the frontend MX servers will accept any mail, be it incorrect receipts or whatever, it will then forward the mail to the actual DA box which will reject the mail causing the Frontends to bounce the message which could often be fake receipts.

I'd like the 2 frontends to connect to DA exim and see if the address is:

valid = accept
invalid = don't accept
cant connect = defer (if the front ends cant connect to DA exim, defer, dont reject)

Any help appreciated.
 
Back
Top