Configuring send mail client in solaris 10

Dear all,

We have SMTP server in our organization & i want to send e-mails from solaris machine using sendmail ... in which file i need to put the smtp server ip, username & passwd..

kindly help .......

check this file /etc/sendmail.cf or /etc/mail/sendmail.cf

this is output of sendmail.mc file

divert(0)dnl
VERSIONID(\`@\(\#\)sendmail.mc 1.11 (Sun) 06/21/04')
OSTYPE(`solaris8')dnl
DOMAIN(`solaris-generic')dnl
FETURE(`nocanonify')dnl
define(`SMART_HOST', `[xyz.co.in].)dnl

can u elobararate the steps to configure sendmail client using SMTP server..where to define authentification details like username & passwd ...

Sendmail is SMTP servet at all.
This should help for task you are asking.
Sendmail mit SMTP-Auth unter Solaris und OpenSolaris Foo Blog

Thanx for your reply...

But i got below error while compiling .mc file

root@obcbkpsrv # /usr/ccs/bin/make main.cf
test ! -f main.cf || /usr/bin/mv main.cf main.cf.prev
/usr/ccs/bin/m4 ../m4/cf.m4 main.mc > main.cf

/usr/ccs/bin/m4:main.mc:31 can't open file
include(../feature/authinfo.m4)
*** Error code 1
make: Fatal error: Command failed for target `main.cf'