I'm running Wordpress and the mail doesn't work. I installed Configure SMTP plugin to wordpress and I had error.
SMTP Error: Could not connect to SMTP host.
SMTP Host: Localhost
Port: 25.
I tried Port 587 and 2525, it didn't work.
I checked the postfix and dovecot and they are running. I also send email via server and it work.
I disabled Firewall and it still didn't work.
NOTE: I solved this temporarily by using external SMTP such as smtp.google.com, my own smtp server and
https://sendgrid.com/any help is greatly appreciate.