Re: Couple of issues with SMTP_CHECK
Alexey Andrianov <[email protected]>
| Newsgroups | gmane.linux.keepalived.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello, Chris. To proceed with the second issue, please provide the section of your keepalived.conf corresponding to an SMTP real-server. 25.03.2015 16:59, Chris Adams wrote: > I'm running keepalived 1.2.13 on CentOS 6, and I have a couple of issues > with SMTP_CHECK (I checked the changelog for 1.2.14 and 1.2.15 but > didn't see these addressed; please let me know if I missed them). > > First, SMTP_CHECK doesn't quite follow the SMTP standard when testing. > It looks for a response code by looking at the first three characters of > a line, and then sends a response. However, if the fourth character is > a "-", it is a continuation line, and you are supposed to keep reading > for a line with 3 digits followed by a " ". I ran into this when > checking a Postfix server running postscreen (solved on the Postfix side > by whitelisting the keepalived servers). > > The second issue is a bigger problem. The SMTP_CHECK always connects to > port 25, no matter the configured real_server port, or even connect_port > setting in the SMTP_CHECK config section. For example, port 587 is used > by clients, 10025 is common with Postfix and spam filtering, etc. Right > now, the only way to handle those cases is with an external checker or > just a TCP_CHECK. > -- Best regards, Alexey ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/