e-mail problem --need computer name instead of just domain name

Hello

I'm a new one using linux, so i guess my problem is an easy one but hard for me. My friend configure a linux box to be a mail server, so i was using my e-mail as rafael@domain.org.  The machine's hard disk just crashed and i tried to rebuild the linux box from scratch.  It worked fine but know everytime i want to write e-mail i have to specify the machine name as rafael@machine.domain.org.
is there any way to just use the domain name instead of the machine name:
can i configure the machine to use name@domain.org instead or name@machine.domain.org?

thanks in advance
any help is greatly appreciated.
Rafael
rtt@ii-okinawa.ne.jp
LVL 1
rttAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

tknayakCommented:
In your /etc/sendmail.cf file change ur hostname as ur domainname and also in /etc/sendmail.cw file add a line
domainname.org

HTW
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
rttAuthor Commented:
Thank you.
I already found that answer after many hours of trying and trying.  Anyway i appreciate the help.
rtt
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.