linux restart sendmail

C++
/etc/init.d/sendmail restart
/etc/init.d/sendmail stop
/etc/init.d/sendmail start
Source

Also in C++: