Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using DNS load balancing in my centOs 5 server.The mail sent to the load balancer server are balanced by sending them to 4 more servers who then pass the mails to their destinations in the network.The mails are generated by a Php script which gives all the mail to the load balancer server. Now i want sasl and tls authentication in the load balancer server so that i can prevent the mail server from spammers,Can anyone tell me how to do this. The load balancer pass the mails to other servers based on equal mx record preference,so i want sasl authentication with Dns load balancing.

share|improve this question
up vote 0 down vote accepted

Your description is confusing. Are you using DNS-based load balancing or using a dedicated server as load balancer which receives the emails and forwards them to other email servers?

Anyway, the load balancer can not implement authentication mechanisms unless it understands email protocols (SMTP). So, you need to implement the authentication mechanisms on the real SMTP servers.

For TLS, it also depends on your load balancer capabilities. If you are using just a TCP-level load balancing, you should be implement it on the email servers side. The load balancer should be able to just forwards the traffic it receives. If the load balancer can understand SMTP and SMTP over SSL/TLS, you should be able to find a way to configure it on the load balancer itself.

share|improve this answer
I am using DNS-based load balancing in my server.i just want to know where should i follow the sasl authentication mechanism on load balancer server or on mail load balancer unserstands SMTP and SMTP over SSL/TLS. – achal tomar Apr 14 '12 at 9:18

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.