I have a very simple configuration that I've setup to handle load balancing 
with my Sophos email gateway.

listen smtp_relay
bind IP:25
  mode tcp
  option smtpchk EHLO domain.com
  balance roundrobin
  server SMTPGATEWAY IP:25 check
  server ALTERNATEGATEWAY IP:25 backup check

According to the logs on the Sophos appliance the health checks are sending in 
this format

EHLO domain.com\r\n

Which throws an error "501 Syntactically invalid EHLO argument(s)"

If I telnet to the host, and manually use EHLO domain.com it works fine, but if 
I do EHLO domain.com\r\n it reproduces the error.

I also tested on my Postfix and Exchange servers, and they seem to handle the 
\r\n just fine, but the Email gateway freaks out.  I've sent a ticket in to 
them as well, but I was wondering if there was a way that I'm not seeing in 
documentation to surpress the \r\n in the health check without writing a custom 
check.

Thanks!

________________________________

Information in this e-mail may be confidential. It is intended only for the 
addressee(s) identified above. If you are not the addressee(s), or an employee 
or agent of the addressee(s), please note that any dissemination, distribution, 
or copying of this communication is strictly prohibited. If you have received 
this e-mail in error, please notify the sender of the error.

Reply via email to