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
firewall-cmd --reload
本文轉自chenzudao51CTO部落格,原文連結: http://blog.51cto.com/victor2016/1928037,如需轉載請自行聯系原作者