selinux was enabled
you need to add the port 587 to http_port_t
semanage port -m -t http_port_t -p tcp 587 # so that haproxy can bind to port 587
also need to open port 587 in firewall
firewall-cmd --permanent --add-port=587/tcp
you need to add the port 587 to http_port_t
semanage port -m -t http_port_t -p tcp 587 # so that haproxy can bind to port 587
also need to open port 587 in firewall
firewall-cmd --permanent --add-port=587/tcp
firewall-cmd --reload
本文转自chenzudao51CTO博客,原文链接: http://blog.51cto.com/victor2016/1928037,如需转载请自行联系原作者