mail server used by mailx/rmail

hi,
can someone tell me how to findout the email server/outgoing SMTP used by rmail or mailx program ?

Braindrain,
Did you ever figure out how to determine the SMTP server that is configured for sendmail? I have been looking through various files in /etc and I can't figure it out. I am on Solaris 9.
Thanks.

sendmail, especially on a sun box, is the MTA. Configuration files are in /etc/mail. The build files are in /usr/lib/sendmail I think. I don't have a box handy to verify it though.

When you use mail or mailx to send a message, it's sent out via sendmail. If sendmail is running as a server, then it's the incoming e-mail server as well.

Carl