REDHAT 6.5 SendMail 8.9


I have installed sendmail on my linux machine. the machine has these parameters:
Hostname: internet

i create a user toto on this machine to receive the mail.

I use outlook mail from my pc to send a mail.
when i send a mail to it's work fine
but when i send a mail to it's not work.
how i configure my sendmail in order to use the second address.?
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.

  First of all, is your machine connected to the internet, or just within you private LAN (with private IP numbers).
  If it is on the internet, consult your ISP (or whomever) is hosting your domain to add an MX entry to point to  
  If your Linux box is the only machine in the network (private), you somehow must have a DNS server somewhere, and I assume that you have bind running in the same machine and you PC is pointing to that machine ( - whatever the IP number is), as the DNS server.  Then, in the DNS database (normally /var/named/named.hosts), and an entry  IN MX 10

and you should configure you to have a line


I hope this help.  Or maybe you might want to take a look at and for reference.


To use the second form of addressing there has to be an MX record for the domain that looks something like:    IN MX  10

Whoever is responsible for DNS records for your domain (your ISP or local DNS admin) will have to add the record.

Next you have to tell sendmail that it's supposed to accept mail for The "Cw" directive does this and it should look like:


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
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

From novice to tech pro — start learning today.