sendmail with nameserver configuration

After i changed hosting company, the sendmail in script does not work.
It send email to admin but not to registered user. It use to work in previous hosting company.
Here is the setting i have now.

*.kaufff.com. MX 10 kaufff.com
*.kaufff.com. A   63.247.87.231
kaufff.com. MX 10 mail.kaufff.com
kaufff.com. MX 10 kaufff.com
kaufff.com. A   63.247.87.231
mail.kauff.com. A   63.247.87.231
pop3.kaufff.com. CNAME   kaufff.com
smtp.kaufff.com. CNAME   kaufff.com

in nameserver is not allow to enter 0 for MX. So i gave value 10.
tilmesAsked:
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.

periwinkleCommented:
The MX records are NOT why your script is having problems, but there are definitely some errors here.  You need to have varying MX values for the various mail servers.  In fact, the multiple MX records are highly redundant, as they all point to the same IP address:

kaufff.com. MX 10 mail.kaufff.com
kaufff.com. MX 10 kaufff.com

I'd remove the secondary MX record - you don't need it.  If you must keep it, you should raise one of the priority values, or else sendmail will be confused over which to use.

For your script, are you certain that you have the correct path to sendmail?  Can you contact your web hosting company to find out what the error is in the maillog for that outgoing email?

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

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.