how to start sendmail - WP email turned off

Posted by wejrowski on Pro Webmasters See other posts from Pro Webmasters or by wejrowski
Published on 2012-06-04T23:41:57Z Indexed on 2012/06/05 16:48 UTC
Read the original article Hit count: 356

Filed under:

I have a WP site on a linux box. Our email was working fine in Wordpress but recently it stopped, I think because of a restart. All I could think of was to restart sendmail.

I couldn't find sendmail in the normal directory (/etc/init.d/sendmail restart) but that didn't exist. I found another directory for sendmail in the sbin but every time I try running it it doesn't respond and I have to exit. This is all what I tried. Any ideas?

[root@li209-134 ~]# /etc/init.d/sendmail restart
-bash: /etc/init.d/sendmail: No such file or directory

[root@li /]# find . -name sendmail -print
./usr/sbin/sendmail
./usr/lib/sendmail
[root@li /]# ./usr/sbin/sendmail restart
^C
[root@li /]# sudo /usr/sbin/sendmail restart
^C
[root@li /]# sudo service sendmail start
sendmail: unrecognized service
[root@li /]# /usr/sbin/sendmail start
^C
[root@li /]# /usr/sbin/sendmail
^C
[root@li /]# /usr/lib/sendmail start
^C

© Pro Webmasters or respective owner

Related posts about linux