dkim output is confusing

Discussion in 'Installation/Configuration' started by Sima86, Aug 1, 2022.

  1. Sima86

    Sima86 New Member

    upload_2022-8-1_22-38-16.png

    as shown above ISPConfig outputs this DKIM for my mail domain
    "v=DKIM1; t=s; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCkboodfbdcpyMil+NSYU/J20xopXRnpiqqKGsw6C8uF7kqCBOSwhFpKHnSVHvH6xBHlCO8c4KyIJIP1hL92PFm2MPhVvdtpmt2Q7JjJFky94NMGn4YrRgw8oO28dxAmLe7c7NBCR27ph2MR19O""Nf56xzmp1XpfFLpWB8gFWfvzlwIDAQAB"
    i shortened it to
    v=DKIM1; t=s; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCkboodfbdcpyMil+NSYU/J20xopXRnpiqqKGsw6C8uF7kqCBOSwhFpKHnSVHvH6xBHlCO8c4KyIJIP1hL92PFm2MPhVvdtpmt2Q7JjJFky94NMGn4YrRgw8oO28dxAmLe7c7NBCR27ph2MR19O""Nf56xzmp1XpfFLpWB8gFWfvzlwIDAQAB
    ( but my dns provider does not accept "" , the input field suggest to put a \ before the ")
    i shortended it a second time to
    v=DKIM1; t=s; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCkboodfbdcpyMil+NSYU/J20xopXRnpiqqKGsw6C8uF7kqCBOSwhFpKHnSVHvH6xBHlCO8c4KyIJIP1hL92PFm2MPhVvdtpmt2Q7JjJFky94NMGn4YrRgw8oO28dxAmLe7c7NBCR27ph2MR19O
    ( now the entry is valid for input, but seems to be not an valid RSA code)​

    provider DNS settings
    upload_2022-8-1_22-44-0.png

    on dkimcore.org/c/keycheck i get
    This doesn't seem to be a valid RSA public key: RSA.xs:178: OpenSSL error: too long at blib/lib/Crypt/OpenSSL/RSA.pm (autosplit into blib/lib/auto/Crypt/OpenSSL/RSA/new_public_key.al) line 91.
     
    Last edited: Aug 1, 2022
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

  3. till

    till Super Moderator Staff Member ISPConfig Developer

    DKIM keys become invalid, so shortening must break them. If your provider does not support split DKIM records, then just remove the "" inside the key, but do not shorten it!
     
    Sima86 likes this.
  4. Sima86

    Sima86 New Member

    i removed the "" , testing now - thank you in advance
     

Share This Page