Hi everyone, I had this problem, i searching and searching I found no answer, but in my case the problem was the firewall on my local server (CSF) was blocking ports post, so I fixed it as follows form:
In the Firewall settings sigueinte find the line:
SMTP_PORTS = 25, 465, 587
change it
SMTP_PORTS = 25