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!

Issue with receiving email

Discussion in 'E-mail Discussion' started by kenrin, Oct 5, 2014.

  1. kenrin

    kenrin Registered

    Joined:
    Oct 5, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I admin a dedicated with cpanel installed. previously it worked fine before we did a clean install of 6.5 centos. Now when I setup a new email account it rejects e-mail. I'm trying to send one from xxx@gmail.com to xxx@domain.com.

    Logs say temporarily rejected from RCPT: remote host address is the local host. Not sure what this means as it previously worked fine before. I've checked the MX records for the host, Do I need to include the hostname in the MX records ?
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,888
    Likes Received:
    90
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello,

    I think there is an issues with the MX record setup of your domain, Can you please provide me full mail logs so that I can check that and try to assist you in correct way.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,777
    Likes Received:
    93
    Trophy Points:
    353
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    run
    /scripts/checkalldomainsmxs --yes

    that should set your local email exchanger correctly
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. John

    John Active Member

    Joined:
    Jan 1, 2014
    Messages:
    25
    Likes Received:
    2
    Trophy Points:
    3
    cPanel Access Level:
    Root Administrator
    Try running

    /scripts/updateuserdomains
    /scripts/mailperm
     
  5. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,442
    Likes Received:
    1,961
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    Please check to ensure the domain name exists in the /etc/localdomains file if email is handled locally. You can ensure it remains in that file by selecting "Local Mail Exchanger" under "Email Routing" via "WHM Home » DNS Functions » Edit DNS Zone" or "cPanel - MX Entry".

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. kenrin

    kenrin Registered

    Joined:
    Oct 5, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Still having the same issue after re-checking everything and running those scripts.

    Logs are still saying the same RCPT errors. Here is the google rejection message:

    Code:
    Delivery to the following recipient failed permanently:
    
         kenrin@domain.com
    
    Technical details of permanent failure: 
    Google tried to deliver your message, but it was rejected by the server for the recipient domain domain.com by aspmx.l.google.com. [2607:f8b0:400d:c00::1b].
    
    The error that the other server returned was:
    550-5.1.1 The email account that you tried to reach does not exist. Please try
    550-5.1.1 double-checking the recipient's email address for typos or
    550-5.1.1 unnecessary spaces. Learn more at
    550 5.1.1 http://support.google.com/mail/bin/answer.py?answer=6596 p8si27664584qax.109 - gsmtp
    I also think it is due to MX records. The odd thing is it draws the records from our provider into cpanel and we did not change anything on that end we just did a format and reinstall.

    Can you run a check on domain.com via mxtoolbox and see if you can find anything?
     
    #6 kenrin, Oct 6, 2014
    Last edited by a moderator: Oct 7, 2014
  7. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,442
    Likes Received:
    1,961
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    The domain name in question uses Google's MX records. Thus, email is not handled on the cPanel server. You will need to update the MX records to point to the cPanel server if you want email handled there.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. kenrin

    kenrin Registered

    Joined:
    Oct 5, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Well I feel stupid. the records were updated in cpanel but inside our providers dns records (which pulls into cpanel) were wrong. It should be fine in a few hours. Thanks for the help!, now if I could only find a decent fix for wordpress to stop getting DDoS'd
     
  9. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,442
    Likes Received:
    1,961
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    I am happy to see the issue is now resolved. Thank you for updating us with the outcome.
     
    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