sendmail with nameserver configuration

Posted on 2004-11-09
Last Modified: 2010-05-18
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.

* MX 10

in nameserver is not allow to enter 0 for MX. So i gave value 10.
Question by:tilmes
    1 Comment
    LVL 15

    Accepted Solution

    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: MX 10 MX 10

    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?


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
    Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now