The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

No Mail Receiving Hostname error

Discussion in 'E-mail Discussions' started by Dradden45, Sep 7, 2012.

  1. Dradden45

    Dradden45 Active Member

    Joined:
    Sep 7, 2012
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Just setup a fresh cpanel/whm install on a vps. During the initial setup I chose "Bind" and for the assigned IP for the VPS as I only have one. I checked add a record for nameservers and for the hostname. I don't want to use my own name servers I prefer to just use namecheaps where the domain was purchased. I created a new package and account and and set nameservers to namecheaps.

    Everything works except I receive a e-mail about the hostname not being resolvable to a IP and I cannot receive e-mails but can send. but both the hosts and resolv.conf look fine. If I ping the domain it goes to the right IP. I reset the Exim settings as well just to make sure. I also disabled IPTables to make sure.

    I can't find the exact /scripts I ran to try and fix but one was for exim, and one was to force check files and update. This is not my first install probably my 20th but I am stumped I can see nothing wrong.
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    What is the hostname and does the hostname return a record on digs?

    Code:
    dig +short hostname.domain.com
    Please replace hostname.domain.com with the fully qualified hostname.

    If you aren't using your own private nameservers, the hostname must have an A record setup at the location handling the DNS.
     
  3. Dradden45

    Dradden45 Active Member

    Joined:
    Sep 7, 2012
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi Tristan,

    Yeah that seems to be the issue I wanted to not use my own private nameservers because I have only 2 IPs and one needs to be dedicated to an account I will make on the server for ssl. Guess I will need to buy 2 more IPs for the nameservers?
     
  4. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    you do not need buy to more IP's for your nameservers your 2 ip's can be used for nameservers and one for your dedicated account and one for your shared ip
     
  5. Dradden45

    Dradden45 Active Member

    Joined:
    Sep 7, 2012
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    How exactly do i assign them?

    Nameservers -->> use same IP for both nameserver? Which IP would I use the main server (shared) IP or the dedicated IP?

    Edit ok I used one of each IP and set a records for them. Than registered the servers at my registar and set the domain to use them. I tried to ping them but they can't be found. Maybe need time to propogate?
     
    #5 Dradden45, Sep 8, 2012
    Last edited: Sep 8, 2012
  6. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    yes you need to wait for propagation
     
Loading...

Share This Page