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.

Can send emails to GMail but cannot receive

Discussion in 'E-mail Discussions' started by luuksa, Feb 16, 2016.

  1. luuksa

    luuksa Registered

    Joined:
    Feb 16, 2016
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Croatia
    cPanel Access Level:
    Root Administrator
    Hello,

    I've been struggling with this problem for a while, I have a VPS, rDNS should be working correctly (spent a week to solve that), hostname is set, I can send emails to any provider (GMail or other ones), I can receive emails from other websites (vizija.hr is example), but can't receive emails from GMail, which is important for me, I get an error:

    Code:
    Delivery to the following recipient failed permanently:
    
         filip@example.com
    
    Technical details of permanent failure:
    Google tried to deliver your message, but it was rejected by the server for the recipient domain example.com by aspmx.l.google.com. [2a00:1450:400c:c0b::1a].
    
    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  https://support.google.com/mail/answer/6596 ur9si53478289wjc.249 - gsmtp
    
    
    ----- Original message -----
    
    DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
            d=gmail.com; s=20120113;
            h=mime-version:in-reply-to:references:date:message-id:subject:from:to
             :content-type;
            bh=GJ9XaiGSuPwRlqrstzHsWCGxTbvzEiq/IVtQsW1UpL8=;
            b=OJpWGfYUbiTl1BSq+CYE203dCWZX/ygDKApFX89E0P7EiMUvwrsclOENBTsbn5Srxk
             /2JZPrHQ9JqFOe5yeDqI/9cIeBz3Q6caDeXUMO/xTSB0Hu1sE6i0/UAJYc8bBLoUJr4F
             dnrthK9l2w+VD+36cAUztvF+QG47w32lOeHZ4NKQR1OU3yajpWMwfYT/J87OxcIawsr6
             SrSTo+myq+j6O0VP5t17Rt8LWBJZ+9Bu7m+3XAjKB0seslm9ta6Enil7WqCVPkEGwk8I
             AZW2U4KzrBj/xgLd+4JAUNkKzPuCBM8q6NAAVpUJW/l4tBPINK6Rl/dM3BTx+L1diYat
             CNPA==
    X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
            d=1e100.net; s=20130820;
            h=x-gm-message-state:mime-version:in-reply-to:references:date
             :message-id:subject:from:to:content-type;
            bh=GJ9XaiGSuPwRlqrstzHsWCGxTbvzEiq/IVtQsW1UpL8=;
            b=TEgaq4b+D8ZseSdYWoJ0s0oONn1DveX4IhpttnsL+flHieoLHvxBaBve5v2xTZnjJb
             ki89q6AHqXZe+JH9/ANUSETKQBZ+G/b52qk5eJoVSHS4vVnideb4izJfw9GlSQyyi+T0
             +YtkSnbOS2bBrWH07HbdNpjAAIfg1ieK584t55FNIYazthowB4TJcW5UrJTf1InRak3e
             qn17oEmgj4ixioSzDdk2dqLI6MiakH9LPIRjgy833lERRemqI2Vxugy4fJzgZcTs5ZOK
             D6WcDRFWSJ5CBNjPHHXOPrB9ChgENcYXUQeL/2QBFnmkPXwPrl8hBgQU6pu8VEXxZ0CY
             nfjQ==
    X-Gm-Message-State: AG10YOR9Jiq87QE8TiTxaIu1SXcUHn7dPDvrySC6fNchssVukeSHdtVuBc+sWjbya71Q9wdhNOIbW0X6pMbQqw==
    MIME-Version: 1.0
    X-Received: by 10.194.189.71 with SMTP id gg7mr25867038wjc.127.1455683890024;
    Tue, 16 Feb 2016 20:38:10 -0800 (PST)
    Received: by 10.28.107.9 with HTTP; Tue, 16 Feb 2016 20:38:09 -0800 (PST)
    In-Reply-To: <85fe72be63a87b33150c6449e1062eeb@example.com>
    References: <85fe72be63a87b33150c6449e1062eeb@example.com>
    Date: Wed, 17 Feb 2016 05:38:09 +0100
    Message-ID: <CANm0KF43rkFB346GztHhKj0cxg96kZ0Xr+nMC6F91APsNFAAOA@mail.gmail.com>
    Subject: Re: WEKOQWEKOko
    From: =?UTF-8?B?RmlsaXAgTHVrxaFh?= <someusr@gmail.com>
    To: filip@example.com
    Content-Type: multipart/alternative; boundary=047d7bb03ac22b9740052befd12b
    I'm not expert in CPanel / WHM / Unix so yeah, I would be very grateful if you guys could help me. I have root access ofcourse.


    Thanks in advance.
     
    #1 luuksa, Feb 16, 2016
    Last edited by a moderator: Feb 17, 2016
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,146
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    India
    cPanel Access Level:
    Root Administrator
  3. luuksa

    luuksa Registered

    Joined:
    Feb 16, 2016
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Croatia
    cPanel Access Level:
    Root Administrator
    [Removed - Please Attach Images Directly to Posts]

    Everything seems to be okay.
     
    #3 luuksa, Feb 17, 2016
    Last edited by a moderator: Feb 17, 2016
  4. luuksa

    luuksa Registered

    Joined:
    Feb 16, 2016
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Croatia
    cPanel Access Level:
    Root Administrator
    Image is in attachment, thanks for your help.
     

    Attached Files:

  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,738
    Likes Received:
    661
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Could you let us know the output from /var/log/exim_mainlog for one of these messages? EX:

    Code:
    exigrep user@gmail /var/log/exim_mainlog
    Thank you.
     
  6. luuksa

    luuksa Registered

    Joined:
    Feb 16, 2016
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Croatia
    cPanel Access Level:
    Root Administrator
    Hey, thanks for reply :)

    Code:
    2016-02-17 04:59:50 1aVtHK-0004vp-Rr <= filip@example.com H=(example.com) [::1]:42562 P=esmtpa A=dovecot_login:filip@example.com S=626 id=980de2c6144d36f6b25c39766f4411f3@example.com T="Testam mail" for someusr@gmail.com
    2016-02-17 04:59:50 1aVtHK-0004vp-Rr SMTP connection outbound 1455681590 1aVtHK-0004vp-Rr example.com someusr@gmail.com
    2016-02-17 04:59:51 1aVtHK-0004vp-Rr => someusr@gmail.com R=dkim_lookuphost T=dkim_remote_smtp H=gmail-smtp-in.l.google.com [74.125.xxx.xx] X=TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128 CV=yes C="250 2.0.0 OK 1455681591 kv9si53229419wjb.199 - gsmtp"
    2016-02-17 04:59:51 1aVtHK-0004vp-Rr Completed
    
    2016-02-17 05:37:52 1aVts8-0000OH-Aq <= filip@example.com H=(example.com) [::1]:52010 P=esmtpa A=dovecot_login:filip@example.com S=600 id=85fe72be63a87b33150c6449e1062eeb@example.com T="WEKOQWEKOko" for someusr@gmail.com
    2016-02-17 05:37:52 1aVts8-0000OH-Aq SMTP connection outbound 1455683872 1aVts8-0000OH-Aq example.com someusr@gmail.com
    2016-02-17 05:37:52 1aVts8-0000OH-Aq => someusr@gmail.com R=dkim_lookuphost T=dkim_remote_smtp H=gmail-smtp-in.l.google.com [74.125.xxx.xx] X=TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128 CV=yes C="250 2.0.0 OK 1455683872 kb10si39024178wjb.118 - gsmtp"
    2016-02-17 05:37:52 1aVts8-0000OH-Aq Completed
    
    2016-02-17 05:39:38 1aVttq-0000QL-Ld H=prohost4.domain.net [91.234.xx.xxx]:53357 Warning: Message has been scanned: no virus or other harmful content was found
    2016-02-17 05:39:38 1aVttq-0000QL-Ld <= filip@vizija.hr H=prohost4.domain.net [91.234.xx.xxx]:53357 P=esmtps X=TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256 CV=no S=1367 id=fa622fa2a78f326a6439cd5bd93f91fe@vizija.hr T="TEST" for filip@example.com
    2016-02-17 05:39:38 1aVttq-0000QL-Ld SMTP connection identification D=example.com O=filip@example.com E=someusr@gmail.com M=1aVttq-0000QL-Ld U=kronusstudio ID=500 B=redirect_resolver
    2016-02-17 05:39:38 1aVttq-0000QL-Ld SMTP connection outbound 1455683978 1aVttq-0000QL-Ld example.com someusr@gmail.com
    2016-02-17 05:39:38 1aVttq-0000QL-Ld => filip <filip@example.com> R=virtual_user T=virtual_userdelivery
    2016-02-17 05:39:39 1aVttq-0000QL-Ld => someusr@gmail.com (filip@example.com) <filip@example.com> R=lookuphost T=remote_smtp H=gmail-smtp-in.l.google.com [74.125.xxx.xx] X=TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128 CV=yes C="250 2.0.0 OK 1455683979 n187si38021710wmb.74 - gsmtp"
    2016-02-17 05:39:39 1aVttq-0000QL-Ld Completed
    
    I tried to send few times, and also did send to GMail and from GMail (filip@example.com -> someusr@gmail.com and someusr@gmail.com -> filip@example.com)
     
    #6 luuksa, Feb 17, 2016
    Last edited by a moderator: Feb 17, 2016
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,738
    Likes Received:
    661
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    The output you provided are for messages you sent "to" Google, from the cPanel server. We need to see the output for messages sent "from" Google, to your cPanel server (You can check /var/log/exim_rejectlog as well). Also, ensure your domain name is in the /etc/localdomains file on the cPanel server, and not the /etc/remotedomains file.

    Thank you.
     
Loading...

Share This Page