Mail/sendmail activation in Linux

Mail setup has to be activated in each linux server. So it can monitored for our regular use. Do mailx/sendmail from that linux server and if you don't receive email, check the basic setup requirement. This could be the probable cause if it's a new system. For this you have to know your internal mail server.

Change the file /etc/sysconfig/sendmail with the below information
DAEMON=no
Now you need your internal mail information
In file /etc/mail/submit.cf look for D{MTAHost}. Change that with your internal mail server
D{MTAHost}<internal-mail.company.com>

Use your mailx/sendmail to check the activation.