My wordpress does not send email, I also do not get email to change the password, how to proceed?
checkin here could help. https://easyengine.io/tutorials/php/test-email-sending/
Do you know a command to install EE + Postfix automatic?
Check your mailbox spam settings, or display the content in /var/mail/root or /var/mail/www-data
first of all, check whether the port 25 is open using command
telnet <IP>:25 .
also check if the service is running and binded on port 25 using
netstat -ntlp|grep :25
if postfix is not installed you can use
ee stack install --postfix
if all the above conditions met and still issue is there, try sending mail from command line using
(you may need to install mail utilities using.
apt install mailutils)
and check whether the mail is delivered or not.
To debug further, check mail queue using
and also you may check the logs for better idea.
tail -f /var/log/mail.log
When I execute (mailq) I have as a result.
When I execute (tail -f /var/log/mail.log) I have as a result.
No solution so far. Thank you for your help.
@alexjunio77 the mentioned error can be because of many reasons. first you can follow https://easyengine.io/tutorials/mail/postfix-queue/ and clear mails in the queue (if you are okay with clearing) and try sending mail from terminal using above mentioned commands.
Also refer following links for further debugging. https://community.runabove.com/kb/en/instances/how-to-relay-postfix-mails-via-smtp.gmail.com-on-ubuntu-14.04.html
I hope this would help you.