Home Apache PHP Ubuntu MySQL Linux HTML Win CSS Perl Javascript Rants Retro
 
Print This Page
Date Posted: Saturday 20th of March 2010 | Category: Ubuntu
Sendmail not found in Ubuntu. Send mail is slow.
Unable to send mail through Lamp server using PHP. Most likely cause is that you do not have sendmail installed.

In the apache error log you might have the following error
sh: /usr/sbin/sendmail: not found

You need to Install sendmail. Enter the following command in the terminal:
sudo apt-get install sendmail

To restart, stop, start sendmail
/etd/init.d/sendmail restart
/etd/init.d/sendmail stop
/etd/init.d/sendmail start

Related Links:
- http://ubuntuforums.org/showthread.php?t=658381
- http://www.flogiston.be/blog/2009/05/11/sendmail-painfully-slow-on-ubuntu/