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 email

Discussion in 'E-mail Discussions' started by grava69, May 9, 2012.

  1. grava69

    grava69 Member

    Joined:
    May 8, 2012
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    My domain nameservers are on the company I used to register it.
    I changed the A record to point to the IP address of my server.
    I just realized that I cannot receive email. I updated all the email
    entries of the A record to point to my server's IP address. I thought
    this would solve the problem but it didn't. What could be the problem?
     
  2. mtindor

    mtindor Well-Known Member

    Joined:
    Sep 14, 2004
    Messages:
    1,281
    Likes Received:
    37
    Trophy Points:
    48
    Location:
    inside a catfish
    cPanel Access Level:
    Root Administrator
    What's the MX record look like? If one exists, it is probably pointing to some other host. If one does not exist, that can be problematic [although you'd still receive mail].

    Example: your mailserver IP is 1.2.3.4

    You should have DNS records similar to these:

    Code:
    mail.yourdomain.com.    IN    A    1.2.3.4
    yourdomain.com.         IN    MX   10 mail.yourdomain.com.
    
    And, on the cPanel server where your mail is actually hosted, you should log into the /cpanel account, click on MX Entry, and make sure that the server is set as the Local Mail Exchanger.

    m
     
  3. grava69

    grava69 Member

    Joined:
    May 8, 2012
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    On the cpanel server it is correctly set as the Local Mail Exchanger on MX Entry

    On the remote server where the domain is registered the MX record under DNS has 3 fields:
    PRIORITY : 30
    HOST: @
    POINTS TO: mx.mydomain.com

    These fields are editable but what values do I enter?

    Also on the remote server I updated in the A record all IP addresses that are mail related
    to point to the IP of my server but it didn't help.
     
  4. mtindor

    mtindor Well-Known Member

    Joined:
    Sep 14, 2004
    Messages:
    1,281
    Likes Received:
    37
    Trophy Points:
    48
    Location:
    inside a catfish
    cPanel Access Level:
    Root Administrator
    Ok, on the remote server where the nameservice is being performed you have the MX record listed as mx.mydomain.com.

    But do you have an A-record for mx.mydomain.com that resolves to the IP address of cPanel server that is handling mail?

    If so, then at this point I think you need to contact the support staff for the server that is acting as your mailserver. You'll need to have them look in the logs to see what's going on. If you have root access to the cPanel server that is handling your mail, then you need to look at the mail logs -- /var/log/exim_mainlog, /var/log/exim_rejectlog, /var/log/exim_rejectlog and check and see what is happening with mail that is coming in for your domain.

    M
     
  5. grava69

    grava69 Member

    Joined:
    May 8, 2012
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    I checked the exim_rejectlog and all the emails have this message

    Access denied - Invalid HELO name (See RFC2821 4.1.3)
     
Loading...

Share This Page