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!

SOLVED SMTP server could not receive issue

Discussion in 'E-mail Discussion' started by Samet Chan, Jul 15, 2018.

  1. Samet Chan

    Samet Chan Well-Known Member

    Joined:
    Jun 24, 2016
    Messages:
    351
    Likes Received:
    31
    Trophy Points:
    103
    cPanel Access Level:
    Root Administrator
    Twitter:
    I've tested lost password after doesn't get receive email. I've checked many error emails.
    Code:
    2018-07-16 02:08:54 SMTP connection from [IPHIDDEN]:41530 (TCP/IP connection count = 1)
    2018-07-16 02:08:54 1fer4Q-000503-Uk <= official+a0f44fc8+unknownusername=gmail.com@domain.net H=(localhost) [IPHIDDEN]:41530 P=esmtpsa X=TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128 CV=no A=dovecot_login:official@domain.net S=4249 id=a80a36da5f5607b9efcac216d80341fb713ddd9d@forum.domain.net T="Forum - DKS Password Reset Request" for unknownusername@gmail.com
    2018-07-16 02:08:54 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1fer4Q-000503-Uk
    2018-07-16 02:08:54 SMTP connection from (localhost) [IPHIDDEN]:41530 closed by QUIT
    2018-07-16 02:08:55 1fer4Q-000503-Uk Sender identification U=username D=domain.net S=official@domain.net
    2018-07-16 02:08:55 1fer4Q-000503-Uk SMTP connection outbound 1531699735 1fer4Q-000503-Uk domain.net unknownusername@gmail.com
     
  2. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    720
    Likes Received:
    123
    Trophy Points:
    168
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    That doesn't show everything, or the email is still sitting in the queue.


    Code:
    grep 1fer4Q-000503-Uk /var/log/exim_mainlog
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Samet Chan

    Samet Chan Well-Known Member

    Joined:
    Jun 24, 2016
    Messages:
    351
    Likes Received:
    31
    Trophy Points:
    103
    cPanel Access Level:
    Root Administrator
    Twitter:
    Here,
    Code:
    2018-07-16 02:08:54 1fer4Q-000503-Uk <= official+a0f44fc8+unknownusername=gmail.com@domain.net H=(localhost) [IPHIDDEN]:41530 P=esmtpsa X=TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128 CV=no A=dovecot_login:official@domain.net S=4249 id=a80a36da5f5607b9efcac216d80341fb713ddd9d@forum.domain.net T="Forum - DKS Password Reset Request" for unknownusername@gmail.com
    2018-07-16 02:08:54 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1fer4Q-000503-Uk
    2018-07-16 02:08:55 1fer4Q-000503-Uk Sender identification U=someusr D=domain.net S=official@domain.net
    2018-07-16 02:08:55 1fer4Q-000503-Uk SMTP connection outbound 1531699735 1fer4Q-000503-Uk domain.net unknownusername@gmail.com
    2018-07-16 02:08:55 1fer4Q-000503-Uk == unknownusername@gmail.com R=dkim_lookuphost T=dkim_remote_smtp defer (-53): retry time not reached for any host for 'gmail.com'
    2018-07-16 03:01:59 1fer4Q-000503-Uk Sender identification U=darks0ftw4r3 D=domain.net S=official@domain.net
    2018-07-16 03:01:59 1fer4Q-000503-Uk == unknownusername@gmail.com R=dkim_lookuphost T=dkim_remote_smtp defer (-53): retry time not reached for any host for 'gmail.com'
    
     
    #3 Samet Chan, Jul 15, 2018
    Last edited by a moderator: Sep 24, 2018
  4. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    720
    Likes Received:
    123
    Trophy Points:
    168
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    Not helping.

    Can you try to force send it and then post logs again:

    Code:
    exim -M 1fer4Q-000503-Uk
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Samet Chan

    Samet Chan Well-Known Member

    Joined:
    Jun 24, 2016
    Messages:
    351
    Likes Received:
    31
    Trophy Points:
    103
    cPanel Access Level:
    Root Administrator
    Twitter:
    Doesn't work. It's been 30 minutes nothing show command.
    Code:
    [root@unknown ~]# telnet alt4.gmail-smtp-in.l.google.com 25
    Trying 2607:f8b0:400e:c09::1b...
    Connected to alt4.gmail-smtp-in.l.google.com.
    Escape character is '^]'.
    220 mx.google.com ESMTP s9-v6si3340392pfm.85 - gsmtp
    
    I used 465 for SSL only. It was trying to connect. It's nothing show command also.
     
  7. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @Samet Chan,

    Can you confirm the specific steps you took before running the command again? Also, can you use telnet to check with other remote mail servers aside from Google to see if the issue is isolated to their mail servers?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. Samet Chan

    Samet Chan Well-Known Member

    Joined:
    Jun 24, 2016
    Messages:
    351
    Likes Received:
    31
    Trophy Points:
    103
    cPanel Access Level:
    Root Administrator
    Twitter:
    Here,
    Code:
    [root@unknown ~]# telnet smtp.gmail.com 465
    Trying 2a00:1450:400c:c00::6d...
    Connected to smtp.gmail.com.
    Escape character is '^]'.
    Connection closed by foreign host.
    
     
  9. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @Samet Chan,

    Can you confirm the specific steps/commands you took on your server upon reviewing the thread linked in my earlier response? I'm referring to the manual workaround as opposed to the telnet command.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. Samet Chan

    Samet Chan Well-Known Member

    Joined:
    Jun 24, 2016
    Messages:
    351
    Likes Received:
    31
    Trophy Points:
    103
    cPanel Access Level:
    Root Administrator
    Twitter:
    I have followed your command and step. It doesn't work.

    I've checked error mail logs
    Code:
    2018-07-18 17:56:00 SMTP connection from [IPHIDDEN]:46226 (TCP/IP connection count = 1)
    2018-07-18 17:56:00 1ffoo4-0006sh-IC <= contacto+5e2bd6da+userunknown=gmail.com@domain.com H=(localhost) [IPHIDDEN]:46226 P=esmtpsa X=TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128 CV=no A=dovecot_login:contacto@domain.com S=4255 id=9136388a605af369a5d88e3c1fb7ec10aa292532@domain.com T="Confirmaci\363n de cuenta en Domain Tu Foro Gaming requerida" for userunknown@gmail.com
    2018-07-18 17:56:00 SMTP connection from (localhost) [IPHIDDEN]:46226 lost (error: Connection reset by peer) D=0s
    2018-07-18 17:56:00 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1ffoo4-0006sh-IC
    2018-07-18 17:56:00 1ffoo4-0006sh-IC Sender identification U=g4m3xlxgtx D=domain.com S=contacto@domain.com
    2018-07-18 17:56:00 1ffoo4-0006sh-IC SMTP connection outbound 1531929360 1ffoo4-0006sh-IC domain.com userunknown@gmail.com
    2018-07-18 17:56:01 1ffoo4-0006sh-IC => userunknown@gmail.com R=dkim_lookuphost T=dkim_remote_smtp H=gmail-smtp-in.l.google.com [173.194.76.26] X=TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128 CV=yes C="250 2.0.0 OK 1531929361 h12-v6si2872215wre.414 - gsmtp"
    2018-07-18 17:56:01 1ffoo4-0006sh-IC Completed
    2018-07-18 17:56:01 SMTP connection from [IPHIDDEN]:46234 (TCP/IP connection count = 1)
    2018-07-18 17:56:01 1ffoo5-0006sr-9r <= official+6a1333ab+userunknown=gmail.com@domain.net H=(localhost) [IPHIDDEN]:46234 P=esmtpsa X=TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128 CV=no A=dovecot_login:official@domain.net S=9320 id=1404255bbb1d7a1ef2047ac3c404f4517131a1da@forum.domain.net T="[PS4] How to Install OMSK on 5.55 OFW - New reply to watched thread" for userunknown@gmail.com
    2018-07-18 17:56:01 SMTP connection from (localhost) [IPHIDDEN]:46234 closed by QUIT
    2018-07-18 17:56:01 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1ffoo5-0006sr-9r
    2018-07-18 17:56:01 1ffoo5-0006sr-9r Sender identification U=darks0ftw4r3 D=domain.net S=official@domain.net
    2018-07-18 17:56:01 1ffoo5-0006sr-9r SMTP connection outbound 1531929361 1ffoo5-0006sr-9r domain.net userunknown@gmail.com
    2018-07-18 17:56:01 1ffoo5-0006sr-9r H=gmail-smtp-in.l.google.com [173.194.76.26]: SMTP error from remote mail server after end of data: 421-4.7.0 This message does not have authentication information or fails to pass\n421-4.7.0 authentication checks. To best protect our users from spam, the\n421-4.7.0 message has been blocked. Please visit\n421-4.7.0  https://support.google.com/mail/answer/81126#authentication for more\n421 4.7.0 information. i70-v6si1698693wmf.171 - gsmtp
    2018-07-18 17:56:02 1ffoo5-0006sr-9r H=alt1.gmail-smtp-in.l.google.com [74.125.205.27]: SMTP error from remote mail server after end of data: 421-4.7.0 This message does not have authentication information or fails to pass\n421-4.7.0 authentication checks. To best protect our users from spam, the\n421-4.7.0 message has been blocked. Please visit\n421-4.7.0  https://support.google.com/mail/answer/81126#authentication for more\n421 4.7.0 information. s68-v6si1387245lfs.376 - gsmtp
    2018-07-18 17:56:06 1ffoo5-0006sr-9r H=alt2.gmail-smtp-in.l.google.com [74.125.68.27]: SMTP error from remote mail server after end of data: 421-4.7.0 This message does not have authentication information or fails to pass\n421-4.7.0 authentication checks. To best protect our users from spam, the\n421-4.7.0 message has been blocked. Please visit\n421-4.7.0  https://support.google.com/mail/answer/81126#authentication for more\n421 4.7.0 information. 9-v6si3765348pgu.130 - gsmtp
    2018-07-18 17:56:09 1ffoo5-0006sr-9r H=alt3.gmail-smtp-in.l.google.com [108.177.125.27]: SMTP error from remote mail server after end of data: 421-4.7.0 This message does not have authentication information or fails to pass\n421-4.7.0 authentication checks. To best protect our users from spam, the\n421-4.7.0 message has been blocked. Please visit\n421-4.7.0  https://support.google.com/mail/answer/81126#authentication for more\n421 4.7.0 information. x10-v6si3496116plv.1 - gsmtp
    2018-07-18 17:56:11 1ffoo5-0006sr-9r => userunknown@gmail.com R=dkim_lookuphost T=dkim_remote_smtp H=alt4.gmail-smtp-in.l.google.com [74.125.195.26] X=TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128 CV=yes C="250 2.0.0 OK 1531929371 m18-v6si3572757pgg.693 - gsmtp"
    2018-07-18 17:56:11 1ffoo5-0006sr-9r Completed
    
     
  11. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Thanks for confirming. This indicates it's unrelated to the issue on that thread.

    This log output shows that Google rejected the message because it detected the message as SPAM or the server is not configured the way Google suggests. Can you review the document below and confirm your server and the sending domain name are meeting the requirements?

    How to Keep your Email Out of the Spam Folder - cPanel Knowledge Base - cPanel Documentation

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. Samet Chan

    Samet Chan Well-Known Member

    Joined:
    Jun 24, 2016
    Messages:
    351
    Likes Received:
    31
    Trophy Points:
    103
    cPanel Access Level:
    Root Administrator
    Twitter:
    It is my fault wrong a thread to replies.

    But this is not helpfully me. Could you tell me to step from DMARC and SPF default on my server add to Cloudflare DNS?
     
  13. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Since the DNS is handled through CloudFlare, you'll need to manually add the SPF, DKIM, and DMARC records through the CloudFlare interface. CloudFlare's support team should be able to help you with this if you encounter any problems with their interface.

    Here's the option in cPanel to generate the SPF/DKIM records:

    Authentication - Version 72 Documentation - cPanel Documentation

    Here's the option in cPanel to generate a DMARC record:

    Zone Editor - Version 72 Documentation - cPanel Documentation

    For the DKIM record, note the information in the following thread:

    SOLVED - Error in DKIM core record

    For the DMARC record, note the following thread:

    Gmail DMARC Policy Issue

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. Samet Chan

    Samet Chan Well-Known Member

    Joined:
    Jun 24, 2016
    Messages:
    351
    Likes Received:
    31
    Trophy Points:
    103
    cPanel Access Level:
    Root Administrator
    Twitter:
    Could I Enable DKIM/SPF Globally from WHM?
     
  15. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. Samet Chan

    Samet Chan Well-Known Member

    Joined:
    Jun 24, 2016
    Messages:
    351
    Likes Received:
    31
    Trophy Points:
    103
    cPanel Access Level:
    Root Administrator
    Twitter:
    #16 Samet Chan, Jul 18, 2018
    Last edited by a moderator: Jul 18, 2018
  17. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    You'll need to manually view the key file at it's /var/cpanel/domain_keys/public/domain.tld location. EX:

    Code:
    # cat /var/cpanel/domain_keys/public/domain.tld
    -----BEGIN PUBLIC KEY-----
    MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzYrRWuN6UJMtiML7RLYP
    LjDY4j/iXrU1h++0/C2k+y40aXd3nAQmL/DRDBgeHUQjbfd0eycUfO9AlrMFMA+4
    P6teINmef1Vtm+LVixJ2RfY1KVt2j5+dH1LRVhGzI+ieZukLc3AT7ASXK/XP29Wg
    zgBgov2C3UHHpmtVbwXj+JSkbw+zBCUFAhAQSY+zPN5I1o4d5tiBqPb/1z8uxWDQ
    xrspZYOv5nWsCY3NidWCMoys9I8bND6W5731mTWc/m4/ttMCSqcdiFxtid/tk/5g
    zX7Z5s8ijcejbt3YqKLA0wvYPIFb29wkL8CSLOtp2gHo9QB2+NZ/o8i5Dp/Zd8t3
    mwIDAQAB
    -----END PUBLIC KEY-----
    At CloudFlare, you'd enter the key from the above command after the "p=" part of the TXT record. Don't include "-----BEGIN PUBLIC KEY-----" or "-----END PUBLIC KEY-----" in the entry.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. Samet Chan

    Samet Chan Well-Known Member

    Joined:
    Jun 24, 2016
    Messages:
    351
    Likes Received:
    31
    Trophy Points:
    103
    cPanel Access Level:
    Root Administrator
    Twitter:
    I got the error: Invalid TXT record. Record may only contain printable ASCII
    Code:
    v=DKIM1; k=rsa; p=KEY
    
     
  19. Samet Chan

    Samet Chan Well-Known Member

    Joined:
    Jun 24, 2016
    Messages:
    351
    Likes Received:
    31
    Trophy Points:
    103
    cPanel Access Level:
    Root Administrator
    Twitter:
    Never mind, I got it.

    But I could use forum.domain.ltd, without domain.ltd, I would need to use key in forum.domain.ltd or just a domain.ltd?
     
  20. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    You could remove the subdomain and then add it as an addon domain name on the cPanel account so it's own separate local DNS zone is created with it's own DKIM and SPF records. You'd then need to apply those records (viewable via WHM >> Edit DNS Zone) at the DNS provider of the parent domain name.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Samet Chan likes this.
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