in /var/log/messages i have below entry please help me
Oct 22 19:40:39 ramaraju dhclient: DHCPREQUEST on eth0 to 192.168.142.254 port 67
Oct 22 19:40:39 ramaraju dhclient: DHCPACK from 192.168.142.254
Oct 22 19:40:39 ramaraju dhclient: bound to 192.168.142.132 -- renewal in 694 seconds.
Oct 22 19:46:05 ramaraju sshd(pam_unix): session opened for user root by (uid=0)
Oct 22 19:49:10 ramaraju sshd(pam_unix): session opened for user root by (uid=0)
Please provide steps to configure sendmail in rhel4.
There is no specific sendmail configuration for crontab. Your mail system either works or does not, or cannot route emails to other smtp gateways. How to configure your sendmail daemon depends on your mail and mail routing requirements. It is far too complex and out of the scope of a forum to explain or teach you all the possible configuration options. You need to provide some basic information and details or check the Internet or sendmail documentation. The later might be a good start if you have absolutely no clue.
Did you send the test mail I suggested? Did you check your email account?
Since there was no error in your syslog, your sendmail daemon is running and already configured. The next thing you can do is to check the email of the account under which your crontab job is running. You can also check /var/log/maillog for any clues. You might also want to check if your crontab configuration has mailing disabled, e.g.