#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2007
    Posts
    15
    Rep Power
    0

    Is This A DNS Issue - Confused?


    I have a domain www.domain.co.uk live on my webserver at the moment. Its nameservers point to this server.

    I also have a 2nd webserver that I am preparing to take live. Once testing is complete I plan to shutdown the first server and point the nameservers to the ips of the 2nd one.

    So I have setup the domain www.domain.co.uk in the DNS on the 2nd server and given it an A record with this servers ip. This site is just a static HTML page with a Contact Form which sends me an email. But despite having setup SMTP the (2nd) webserver is not sending emails - they just sit in the Queue.

    My ISP tells me that the problem lies because the 'website should point to the webserver ip' but I dont know what this means.

    I have tried to research this subject online but cannot find any specific information about how an SMTP server decides whether it can SEND an email from a specific address. I understand that the MX record tells a a mail server where to send an email but is there a similar record which a mail server checks as regards the originating email?

    Thanks

    Chris
  2. #2
  3. No Profile Picture
    Lost in code
    Devshed Supreme Being (6500+ posts)

    Join Date
    Dec 2004
    Posts
    8,316
    Rep Power
    7171
    Doesn't sound like a DNS issue to me. The sending SMTP server needs to be able to correctly resolve the IP of the receiving SMTP server. It doesn't need to do anything with the sender address.

    It sounds more like you have a problem on either of the mail servers or possibly with a firewall.
    PHP FAQ

    Originally Posted by Spad
    Ah USB, the only rectangular connector where you have to make 3 attempts before you get it the right way around
  4. #3
  5. They're coming to take me away

    Join Date
    Jan 2005
    Location
    Florida
    Posts
    5,105
    Rep Power
    5049
    So you have both servers set up for the same domain, but at the domain registrar, the 1st server is where the nameservers point to? I'm guessing you are not actually able to send from the 2nd server because of this. You are attempting to send mail from domain.co.uk which references a different IP's nameservers. You can set up your 2nd server to send mail locally, but until the nameservers are referenced correctly, you wont be able to send mail.
    "I don't need to get a life. I'm a gamer. I have lots of lives!"

IMN logo majestic logo threadwatch logo seochat tools logo