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!

DKIM check not signed

Discussion in 'E-mail Discussion' started by m.eid, May 10, 2019.

  1. m.eid

    m.eid Well-Known Member

    Joined:
    Jun 4, 2014
    Messages:
    50
    Likes Received:
    7
    Trophy Points:
    83
    Location:
    Jordan
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hi, I am hosting my domains at CloudFlare and VPS is on Godaddy (If that useful), I've configured the spf for the domain and checked it by mail-tester.com and it gave me an authorized mail sender, while for DKIM gave me "Your message is not signed with DKIM" despite it is installed and checked by the same tester and mxtoolbox and when use default selector it gave me correct signiture, but why email tester both mail-tester.com and appmaildev.com/en/dkim gave me the same issue that the message is not signed with DKIM!!

    Hope find a solution for emails don't sign with DKIM, is there any missing configuration? .. I've searched too much at google but couldn't find any solution there, thank you.
     
    #1 m.eid, May 10, 2019
    Last edited by a moderator: May 13, 2019
  2. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,164
    Likes Received:
    474
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hello @m.eid

    Are you using a different selector when checking? What do you get when you query the TXT:

    Code:
    dig txt default._domainkey.yourdomain.tld
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. m.eid

    m.eid Well-Known Member

    Joined:
    Jun 4, 2014
    Messages:
    50
    Likes Received:
    7
    Trophy Points:
    83
    Location:
    Jordan
    cPanel Access Level:
    Root Administrator
    Twitter:
    I use the default selector, and I tested DKIM record with many tools such as mxtoolbox and others, al of them returned success, here result when I tested your command

    Code:
    [root@hs01 ~]# dig txt default._domainkey.domain.com
    
    ; <<>> DiG 9.9.4-RedHat-9.9.4-73.el7_6 <<>> txt default._domainkey.domain.com
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1438
    ;; flags: qr rd ra ad; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
    
    ;; OPT PSEUDOSECTION:
    ; EDNS: version: 0, flags:; udp: 1452
    ;; QUESTION SECTION:
    ;default._domainkey.domain.com. IN TXT
    
    ;; ANSWER SECTION:
    default._domainkey.domain.com. 300 IN TXT  "v=DKIM1\; k=rsa\; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtVWSDeGG1ClQB2/0z74KotOcndDDTO02MP96msNJVoZtOXOPctvOjAAk9e+rD020iBioZdSJabakhrX348Uey/eRLHTL01elp3WPaE1G0ViOT2Ab8ANL35nUiWMNsLG2ppOzBf1dVhYLzCsZXpXdKT4ZA7tLRqZNjqdCQYMUsPGUoiSlyhiEQr7lDaXPOKp3R" "LzhtVyG/DEE9lOw0SdjXoA57CnO7sOzMeIkPuBekviCY8YzgJJN4Xcu/2AmIszTVWxDNqBxcNVbNiSQp2x+FsriAMd1FC+DQ58DdRu5eAibo3M6IRPW80Lymg8GKpnMMoF8chzd0j773+5M+NTtnwIDAQAB"
    
    ;; Query time: 15 msec
    ;; SERVER: 1.1.1.1#53(1.1.1.1)
    ;; WHEN: Tue May 14 02:18:58 EEST 2019
    ;; MSG SIZE  rcvd: 487
     
    #3 m.eid, May 13, 2019
    Last edited by a moderator: May 14, 2019
  4. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,164
    Likes Received:
    474
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @m.eid

    And when you checked this with the services that told you it wasn't signed properly was that shortly after adding it? I see no reason why the dkim signature wouldn't be recognized.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. m.eid

    m.eid Well-Known Member

    Joined:
    Jun 4, 2014
    Messages:
    50
    Likes Received:
    7
    Trophy Points:
    83
    Location:
    Jordan
    cPanel Access Level:
    Root Administrator
    Twitter:
    I've checked it manually with source of email, and didn't find DKIM signature too, it is not there.
    Note: DNS is hosted by CloudFlare and txt record added there as suggested in Email Deliverability section at CPanel
     
  6. m.eid

    m.eid Well-Known Member

    Joined:
    Jun 4, 2014
    Messages:
    50
    Likes Received:
    7
    Trophy Points:
    83
    Location:
    Jordan
    cPanel Access Level:
    Root Administrator
    Twitter:
    Is there any required header has to be added for exim or such that? .. or is there any log file I have to check if there is an error logged?
     
  7. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,164
    Likes Received:
    474
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    There's no log file that would record this, and nothing should need to be added as far as headers are concerned with the DKIM signature.

    When I query the domain, I get the TXT record for the DKIM Signature, it should be recognized when you send mail. Because this issue will be difficult to troubleshoot through the forums can you please open a ticket using the link in my signature? Once open please reply with the Ticket ID here so that we can update this thread with the resolution once the ticket is resolved.


    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. m.eid

    m.eid Well-Known Member

    Joined:
    Jun 4, 2014
    Messages:
    50
    Likes Received:
    7
    Trophy Points:
    83
    Location:
    Jordan
    cPanel Access Level:
    Root Administrator
    Twitter:
    Ticket ID: 12307521 Missing DKIM Signature at outgoing emails
     
  9. m.eid

    m.eid Well-Known Member

    Joined:
    Jun 4, 2014
    Messages:
    50
    Likes Received:
    7
    Trophy Points:
    83
    Location:
    Jordan
    cPanel Access Level:
    Root Administrator
    Twitter:
    It has been solved by CPanel Technical Guy, where he found in Exim configuration
    send_to_smart_host:
    driver = manualroute
    route_list = !+local_domains example.prod.123.secureserver.net
    transport = remote_smtp

    the last line has to be like that
    transport = dkim_remote_smtp

    Don't know if it is Godaddy's faulty or what, but what is the difference?
     
    #9 m.eid, May 16, 2019
    Last edited by a moderator: May 16, 2019
  10. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,164
    Likes Received:
    474
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Ahh I wouldn't have had a way to know that you were using a smarthost, I'm really glad the analyst was able to help you get it resolved.

    The difference between the transports? One is just doing remote smtp the other is sending with your DKIM through remote smtp - when the smarthost was setup this should have been configured to include your dkim from the beginning.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. m.eid

    m.eid Well-Known Member

    Joined:
    Jun 4, 2014
    Messages:
    50
    Likes Received:
    7
    Trophy Points:
    83
    Location:
    Jordan
    cPanel Access Level:
    Root Administrator
    Twitter:
    I think it is a Godaddy faulty where they have to either mention that in their documentation, mention that with their support team when talking with them (rather than say it is a CPanel resposibility) or to include it by default so if server admin enabled it it will be attached and if not it will not affect their system.
    Anyway I appreciate your effort and your great team for helping in this case, thank you so much :D
     
    cPanelLauren 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