LEMP and Varnish: Sending mail not working

February 26, 2014 3.7k views
Move my wordpress site from another hosting (lamp) to digitalocean (lemp + varnish). All nice, but mail sending dont work. If i check by trying reset my password, i have message "Possible reason: your host may have disabled the mail() function". If i check by wp-mail-smtp plugin, i have message "Could not instantiate mail function." (if use mail() function) or "SMTP Error: Could not connect to SMTP host" (if use SMTP) But and mail(), and smtp is ok http://drugoyhiphop.ru/info.php
2 Answers
Is sendmail running?
sudo netstat -plutn
If not, start it:
sudo service sendmail start
If that doesn't work, it's probably not installed:
sudo apt-get install sendmail

Help, not found.

Have another answer? Share your knowledge.