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.

I can send but cannot receive e-mails

Discussion in 'E-mail Discussions' started by serlex, Nov 24, 2009.

  1. serlex

    serlex Well-Known Member

    Joined:
    Oct 20, 2009
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    6
    I can send out e-mails, but cannot receive anything

    I'm using CPanel 11.24.5-STABLE. Created an account through WHM, an e-mail account through CPanel. I also have the following MX records in DNS:

    domain.com MX 10 mail.domain.com
    mail.domaini.com A n/a XX.XXX.XXX

    I've looked in /var/log/exim_maillog and only see messages regarding sent out mails.

    Regards,
     
  2. DirectHorizon

    DirectHorizon Member

    Joined:
    Nov 24, 2009
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    There are many reasons why you cannot receive.
    I would start with checking your filters first.
    Make sure that the mail ip is correct as well.

    You could try restarting exim, if that doesn't work I would try running
    /scripts/upcp --force
     
  3. serlex

    serlex Well-Known Member

    Joined:
    Oct 20, 2009
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    6
    I've no user level filtering and SpamAssassin is not enabled.
    This was totally wrong, I've changed the IP address and changed the DNS records, I now have:

    domain.com
    Type:MX
    Priority:10
    Points to Address: mail.domain.com

    is this correct? or do I need more MX records?

    After making the changes to DNS and IP addresses, I've restarted exim and run
    Code:
    /scripts/upcp --force
    I'm still unable to receive any emails

    Regards,
     
  4. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Via root SSH access, what is the output from the following commands, where "domain.tld" should be replaced by the applicable domain involved:
    Code:
    # grep "^mail\|MX" /var/named/domain.tld.db
    # dig domain.tld MX +noall +answer
    # dig mail.domain.tld A +noall +answer
     
  5. serlex

    serlex Well-Known Member

    Joined:
    Oct 20, 2009
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    6
    grep "^mail\|MX" /var/named/domain.com.db
    domain.com. 14400 IN MX 0 domain.com.
    mail 14400 IN CNAME domain.com.

    dig domain.com MX +noall +answer

    ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5 <<>> domain.com MX +noall +answer
    ;; global options: printcmd
    domain.com. 1780 IN MX 10 mail.domain.com.

    dig mail.acarsulalesi.com A +noall +answer

    ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5 <<>> mail.domain.com A +noall +answer
    ;; global options: printcmd
    mail.domain.com. 1800 IN A 89.XXX.XXX.XXX


    domain.com equals my domain name
     
  6. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    The output from "grep" does not match the DNS query results via "dig".

    Via root SSH access, what is the output from the following command:
    Code:
    # /scripts/setupnameserver --current
    What method is being used to edit the DNS zone?

    Is the defined IP address for the "mail." sub-domain located on the same physical machine as the server being used to send e-mail from?

    When sending a test message to your own e-mail address, both from a locally-hosted e-mail account and from a remotely-hosted e-mail account, what messages are logged by Exim? If there are not any from a remote test as indicated earlier, there definitely should be log detail when testing from a local e-mail account.

    It is difficult to diagnose further without knowing more verbose information about the setup involved; if you're able to share more information about the custom or unique setup involved that may help to troubleshoot further.
     
  7. serlex

    serlex Well-Known Member

    Joined:
    Oct 20, 2009
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    6
    Current nameserver type: disabled
    I edit them through the providers portal (web page) which I'm assuming edits their nameservers.

    I'm not sure what you mean here, everything is running on the same machine

    When i send out an email from the machine to outside, /var/log/exim_mainlog
    Code:
    2009-12-09 16:14:49 H=localhost (acarfaa1.miniserver.com) [127.0.0.1] Warning: Sender rate 1.8 / 1h
    2009-12-09 16:14:49 1NIPBh-00049Q-Eg <= test@acarlar H=localhost (acar.server.com) [127.0.0.1] P=esmtpa A=dovecot_login:test@acarlar.com S=815 id=46633.195.194.62.10.1260375289.squirrel@acar.server.com
    2009-12-09 16:14:50 1NIPBh-00049Q-Eg => aslan@hotmail.com R=lookuphost T=remote_smtp H=mx2.hotmail.com [65.55.37.72]
    2009-12-09 16:14:50 1NIPBh-00049Q-Eg Completed
    I just cant receive anything, I dont get anything in /var/log/exim_mainlog
     
    #7 serlex, Dec 9, 2009
    Last edited: Dec 9, 2009
  8. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Thank you for the new information and log detail.

    Via root SSH access, what is the output of the following command?
    Code:
    # grep -Hin domain.tld /etc/localdomains /etc/remotedomains
    When you send a test message to a domain hosted on the server with cPanel, does your sender e-mail account receive an error from the e-mail attempt bouncing back?

    If there is a bounce message available indicating an error message it would help greatly to provide the full e-mail headers of that bounce message.

    If there is no information in the Exim log file for the incoming test messages, that would indicate to me they're not reaching the mail server and that the issue may need to be escalated to the upstream service provider.
     
  9. serlex

    serlex Well-Known Member

    Joined:
    Oct 20, 2009
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    6
    /etc/localdomains:2:acarlar.com
    /etc/localdomains:6:test.acarlar.com

    It is getting bounced back:

    Code:
    Delivery to the following recipient failed permanently:
    
        test@acarlar.com
    
    Technical details of permanent failure:
    The recipient server did not accept our requests to connect. Learn more at http://mail.google.com/support/bin/answer.py?answer=7720
    [mail.acarlar.com. (10): Connection timed out]
    
    ----- Original message -----
    
    MIME-Version: 1.0
    Received: by 10.216.89.8 with SMTP id b8mr3381208wef.180.1260374180233; Wed,
           09 Dec 2009 07:56:20 -0800 (PST)
    In-Reply-To: <53738.195.194.62.10.1260374017.squirrel@acar.server.com>
    References: <53738.195.194.62.10.1260374017.squirrel@acar.server.com>
    Date: Wed, 9 Dec 2009 15:56:20 +0000
    Message-ID: <34dddcf80912090756o10d41abag42c37081981a9402@mail.gmail.com>
    Subject: Re: aaaa
    From: sercan acar <acar@googlemail.com>
    To: test@acarlar.com
    Content-Type: multipart/alternative; boundary=0016e6d7e6a34c0546047a4dbb7d
     
  10. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Given the provided details up to this point I believe we will be able to better assist in further diagnosis via a ticket; we would need direct access to accurately troubleshoot more thoroughly. Please submit a support request so that we may investigate directly and examine the situation and related configurations; when available, please PM me referencing this forums thread and your new ticket ID number so I may follow-up internally. If needed, the link in my forums signature may be used to initiate a support request (ticket) submission.
     
Loading...

Share This Page