My Nginx works like tcp balancer between users and Exchange cluster. Every thing works fine, but I'd like to add active checks. For example IMAP service, after TCP session initiation service return banner: IMAP4 service is ready I'd like to monitor this banner, if it fail, than host will remove from upstream. How can I solve it? Thank you.
nginx tcp balancer + exchange
nginx;load balancing