bash# linuxconf
From Linuxconf select the Control tab in GUI mode or scroll down to the Control section in text mode. Select Configure Linuxconf Modules. A lot of these look interesting, but the one we want is the mailconf module. Make sure that one is selected, then exit linuxconf.
bash# mailconf
Next start mailconf. Configure your machine to present mail as from itself. This is either in the basic information section or the configure section. That is about all you need to do to configure sendmail. Now exit and type this command:
bash# /etc/rc.d/init.d/sendmail restart
If that command fails at shutting down mail, then you might need to see if the mail server is starting at startup. You will most likely get one of the two following situations:
bash# chkconfig --list sendmail sendmail 0:off 1:off 2:on 3:on 4:on 5:on 6:off
Which is a good sign. Or:
bash# chkconfig --list sendmail sendmail 0:off 1:off 2:off 3:off 4:off 5:off 6:off
Which is a also a good sign. If you get the second one you can use chkconfig to get your server to run regularly:
bash# chkconfig sendmail on
This should do the trick.