Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Email server issue.

Discussion in 'E-mail Discussion' started by iLearner_, Aug 3, 2018.

  1. iLearner_

    iLearner_ Member

    Joined:
    Jun 29, 2017
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Italy
    cPanel Access Level:
    Website Owner
    Hello,

    I have setup an email account named info@domain.com and added a forwarder to my email however I noticed the email server is somehow not even working as I tried sending an email to info@domain.com however email delivery system replied saying it was not possible to reach the mail server (and will retry).

    According to my host its a cloydflare issue (as I am using cloudflare) and they (- removed -) Asked me to give them my cloudflare credentials however I declined and showed them my records on cloudflare and they asked me to change a record (from CNAME pointing to host name server (mail) to MX pointing to an IP they gave me) however its still not working somehow.
    What could be causing it?


    (Side note: I am not hosting cpanel, I am using a webhost but they're unable to help)

    Screenshot below show the changed made.
     

    Attached Files:

    #1 iLearner_, Aug 3, 2018
    Last edited by a moderator: Aug 3, 2018
  2. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,799
    Likes Received:
    131
    Trophy Points:
    343
    cPanel Access Level:
    Root Administrator
    I can't make heads or tails out of these images.

    But...

    If they are telling you to set your MX records to an IP address, that is hilariously wrong.

    If they are telling you to set your MX records to mail.%yourdomain.tld% and then setting mail.%yourdomain.tld% to a CNAME record, that is also wrong.

    MX records have to be set to a hostname.

    MX records have to be set to a hostname that uses an A record.

    You need to set mail.%yourdomain.tld% to an A record that points to your server's IP address (or the IP address of the server that will be handling mail for the domain name).

    Then you need to set the MX record for %yourdomain.tld% to mail.%yourdomain.tld%
     
  3. iLearner_

    iLearner_ Member

    Joined:
    Jun 29, 2017
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Italy
    cPanel Access Level:
    Website Owner
    Is this correct? If not please tell what do I have to change, if it is, sadly the issue still remains.
     

    Attached Files:

  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,584
    Likes Received:
    439
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. iLearner_

    iLearner_ Member

    Joined:
    Jun 29, 2017
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Italy
    cPanel Access Level:
    Website Owner
    @Infopro That's exactly what I have right now, look the image attached above.
     
  6. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,584
    Likes Received:
    439
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Actually I don't think you do. Look at the top of your image. The main quote on that link I posted says:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. iLearner_

    iLearner_ Member

    Joined:
    Jun 29, 2017
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Italy
    cPanel Access Level:
    Website Owner
    Oh sorry...
    Just changed that. Is it correct now?
     

    Attached Files:

  8. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,799
    Likes Received:
    131
    Trophy Points:
    343
    cPanel Access Level:
    Root Administrator
    I think where it says MX record, it should say:

    mail handled by mail.%yourdomain.tld%

    Although, I'm not really sure if you have mail.%yourdomain.tld% resolving correctly. That IP address does not appear to be accepting SMTP connections.

    Or maybe the domain name in your images isn't your real domain name. I'm purposefully referring to it as %yourdomain.tld% in case your domain name needs to be redacted.
     
  9. iLearner_

    iLearner_ Member

    Joined:
    Jun 29, 2017
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Italy
    cPanel Access Level:
    Website Owner
    That's my real domain name @sparek-3 and when I write mail.example.com it automatically turns into mail.

    The IP I am using is my host's name server IP.
     
    #9 iLearner_, Aug 4, 2018
    Last edited by a moderator: Aug 4, 2018
  10. iLearner_

    iLearner_ Member

    Joined:
    Jun 29, 2017
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Italy
    cPanel Access Level:
    Website Owner
    Also I tried resolving hostname mail.example.com:

    Lookup Hostname: mail.example.com
    Lookup IPv4 Address: 185.61.xxx..xx
     
    #10 iLearner_, Aug 4, 2018
    Last edited by a moderator: Aug 4, 2018
  11. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,799
    Likes Received:
    131
    Trophy Points:
    343
    cPanel Access Level:
    Root Administrator
    You probably need to use the IP address of your actual account, not the nameservers.

    If you aren't using your host's nameservers, then all of the information related to their nameservers is irrelevant to you.

    The MX record still doesn't look right.

    Maybe you need to enter it as:

    mail.%yourdomain.tld%.

    Note the period at the end.

    I really don't know how CloudFlare works in regards to this.
     
  12. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,838
    Likes Received:
    276
    Trophy Points:
    193
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    I agree with @sparek-3 and I can confirm that my own CloudFlare account shows that mail is handled by mail.mydomain.tld when I add the MX record through the CloudFlare UI
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice