sending mail using @mailsvr.domain and @domain

My linux mail server returns an error everytime I send a mail to our server as mymail@domain, however it is successful when I run it using mymail@mailserver.domain.
I already made our  dns to have an entry::
 domain.  IN MX 10 mailserver
And I thought that this would solve it, but still an error mail returns to me saying

 ----- The following addresses have delivery notifications -----
<rodney@addu.ph>  (unrecoverable error)

   ----- Transcript of session follows -----
554 MX list for addu.ph. points back to mailsrv.addu.ph
554 <rodney@addu.ph>... Local configuration error

What did I do wrong?  Any suggestion?

Thanks.

Alpha.
alphabugsAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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

timcCommented:
You need to add a line to /etc/sendmail.cf.  Somewhere in the local section, it may say something like:

Cwlocalhost

Add a line underneath which says:

Cwaddu.ph

(or whatever your domain name is) and restart sendmail.  It should now happily accept mail for the addu.ph domain. :-)

The Cw flag instructs sendmail to receive mail for those particular domains listed - in your case it sounds like this is not configured, so the mail reports an error.

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
alphabugsAuthor Commented:
Thank's a lot, the email system is now functioning properly.

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

From novice to tech pro — start learning today.