Thanks for the response, I had a feeling you were going to respond with 
something like that :)

I've opened a ticket with Sophos to get a resolution.

-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Friday, September 28, 2018 7:33 AM
To: Gibson, Brian (IMS) <[email protected]>
Cc: haproxy <[email protected]>
Subject: Re: Problems setting up SMTP health checks with Sophos email gateway

Hello,


On Thu, 27 Sep 2018 at 19:05, Gibson, Brian (IMS) <[email protected]> wrote:
>
> 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 don't know why Sophos would reject this. All (E)SMTP commands are supposed to 
be terminated by \r\n (CRLF), including EHLO:

https://tools.ietf.org/html/rfc1869#section-4.2


> 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.

No, there is not.


Regards,
Lukas

________________________________

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