My VPS cannot send email

Posted by ifdion on Pro Webmasters See other posts from Pro Webmasters or by ifdion
Published on 2012-11-02T11:17:12Z Indexed on 2012/11/02 17:32 UTC
Read the original article Hit count: 420

Filed under:
|

Webmaster Newbie Question

I have a low end vps (128MB RAM)running on Debian.I used a bash script by ilevkov to setup the site. After some trial and error, I managed to set up a WordPress on it. Just now I found out that my VPS can't send any email. I tested using the WordPress reset password email, and it shows

The e-mail could not be sent. Possible reason: your host may have disabled the mail() function...

After some Google session I noticed that I can send email from ssh. So I tried

mail [email protected]
Subject: Halo dion
some message
.

and the result said

EOT
/usr/lib/sendmail: No such file or directory
"/root/dead.letter" 9/243
. . . message not sent.

The question

How can I fix my VPS mail setting?

© Pro Webmasters or respective owner

Related posts about email

Related posts about vps