I am trying to setup haproxy in front of 2 CentOS 7 cPanel servers with SSL termination. I have hit the following problem with the cPanel provided Exim package.
It seems like the Exim version provided with cPanel is not built with the option enabled for “PROXY” support.
I am concerned that there maybe nothing I can do to get this working. Exim does not seem to accept the authentication or commands sent by the proxy. I tried with the haproxy backend config enabled for proxy-support and no proxy-support.
Is the build option “PROXY” really required for Exim to function behind haproxy? Is there any workaround anyone can think of? I would prefer not to mess with cPanel RPMs or swap out cPanel entirely but there may be no choice.
Somebody suggested using nginx in this case but it adds a lot of complications for authentication etc and I am thinking there will still be issues if Exim is not proxy aware.
Thanks to anyone who can provide a bit of info or ideas.