Configure mailx or sendmail

hi,

I would like to configure mailx or sendmail to send out some mails to some users. I tried searching online for the configuration but it was kinda confusing. I thought that posting here might get someone to work with me step by step

I tried sending out mail but i did not receive in my exchange inbox.
This is the command.
echo "This is the body."| mailx -s "mailx Test1" abc@abc.com

If i use this command, which config file do i need to amend? mailx.rc? or sendmail.cf ?

Appreciate any kind soul.

are you trying to configure mail host ? if yes then you've to modify sendmail.cf

You should allow relay host on exchange server too.

hi,

What should i configure on the sendmail.cf

i have a smtprelay over here.
where do i put this setting.

Please checkout this BigAdmin doc here :- BigAdmin Feature Article: Configuring Sendmail on the Solaris 9 Platform