Gerben Wierda:
> The only minor thing left is that postscreen keeps logging the
> health check attempts as such:
>
> Jan 15 17:20:09 snape postfix/postscreen[277]: warning: haproxy read: EOF
Postfix should not simply ignore such errors. How would Postfix
distinguish this from haproxy crashing or configuration error?
I think you need a better health check, not something that only
talks to the server's TCP/IP stack, but something that actually
talks to the server's SMTP engine. Does the server send the expected
greeting banner? If yes, send QUIT<CR><LF> and return a successful
health check status.
haproxy has hooks to specify external health checks.
option external-check
external-check command /path/to/command
This runs the command with arguments that specify the virtual address
and port, and so on.
Wietse