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.

Cannot receive Emails from Gmail

Discussion in 'E-mail Discussions' started by Seyton Dennis, Aug 9, 2017.

  1. Seyton Dennis

    Seyton Dennis Member

    Joined:
    Aug 9, 2017
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    cPanel Access Level:
    Root Administrator
    Hello,

    I am rather a novice with this, but am at my wits end.

    CENTOS 6.9, cPanel and WHM 64.0.

    Whenever an email is sent from gmail or a google related service, the following bounceback occurs:

    Final-Recipient: rfc822;
    Action: delayed
    Status: 4.0.0
    Diagnostic-Code: smtp; DNS Error: 20779749 DNS type 'mx' lookup of responded with code SERVFAIL
    Last-Attempt-Date: Wed, 09 Aug 2017 00:44:21 -0700 (PDT)
    Will-Retry-Until: Thu, 10 Aug 2017 23:43:34 -0700 (PDT)

    As far as I can see, the MX and PTR records look correct. I have tried disabling SpamAssassin, and have checked that CSF is not blocking these. No Joy.

    When I look for these in the Mail Delivery Reports, they are not even reaching the server.

    I found another thread with a similar issue and attempted renewing SSL amongst other things but to no avail.

    Could someone point me in the right direction on this?! If someone has previous experience with this or can check the listings of the MX/PTR records for the domain and point out any glaring errors, I would be most grateful.
     
  2. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    260
    Likes Received:
    76
    Trophy Points:
    28
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    #2 rpvw, Aug 9, 2017
    Last edited: Aug 9, 2017
  3. Seyton Dennis

    Seyton Dennis Member

    Joined:
    Aug 9, 2017
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    cPanel Access Level:
    Root Administrator
    Thanks. I will get that checked and come back with the results.
     
  4. Seyton Dennis

    Seyton Dennis Member

    Joined:
    Aug 9, 2017
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    cPanel Access Level:
    Root Administrator
    Code:
    ; <<>> DiG 9.8.3-P1 <<>> example.co.uk MX
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37252
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;example.co.uk.            IN    MX
    
    ;; ANSWER SECTION:
    example.co.uk.        3599    IN    MX    10 mail.example.co.uk.
    
    ;; Query time: 48 msec
    ;; SERVER: 8.8.8.8#53(8.8.8.8)
    ;; WHEN: Wed Aug  9 12:58:39 2017
    ;; MSG SIZE  rcvd: 51
     
  5. Seyton Dennis

    Seyton Dennis Member

    Joined:
    Aug 9, 2017
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    cPanel Access Level:
    Root Administrator
    As far as I can tell the above looks in order... would you agree?
    I have previously checked intoDNS and MX Toolbox and all seems acceptable.
    Just cant work out why only Google has an issue!
     
  6. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    260
    Likes Received:
    76
    Trophy Points:
    28
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    Since you are using a Google public NS 8.8.8.8 it is indeed strange - the only thing I would have expected to see is another line with the data
    ;; ADDITIONAL SECTION:
    mail.example.co.uk. 3599 IN A 123.456.789.123

    So it might be worth you checking to see if the mail. record is an A or a CNAME and does resolve to an IP
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,287
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    As mentioned in the previous post, check to ensure "mail.example.co.uk" resolves to the correct IP address.

    Thank you.
     
  8. Seyton Dennis

    Seyton Dennis Member

    Joined:
    Aug 9, 2017
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    cPanel Access Level:
    Root Administrator
    Hi,
    I have checked all of the above and it is resolving to the correct IP address. The domain seems to not have a problem with receiving email from anywhere else, just from Google.

    New Development - When I disable CSF, and attempt a test from a gmail account it comes through.

    I flushed the blocked IP addresses from CSF and reenabled it, and about an hour later I am back to not receiving them at all.

    What is there in CSF that could possibly be causing this?

    Thanks in advance
     
  9. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,287
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    There are a few threads on this topic at the ConfigServer support forums that you may want to look into. To find them, search for a term like this on the Google search engine:

    Code:
    CSF Blocking Gmail site:forum.configserver.com
    Let us know if this helps.

    Thank you.
     
Loading...

Share This Page