Why is my DKIM signature invalid? (The p= field must be base64 encoded)

Discussion in 'Mail Server Support' started by popowich, May 8, 2015.

  1. popowich

    popowich EQ Forum Admin Staff Member

    Joined:
    Aug 12, 2008
    Messages:
    9,215
    Likes Received:
    137
    Are you troubleshooting why your DKIM signature is not passing validation tests?

    If you are getting the error "The p= field must be base64 encoded" that is most likely because of extra lines or white space, for example:

    DKIM base64 errors.jpg

    In this case it appears the p= was broken into multiple lines. Try removing the white space and retesting.
     


    Last edited: Nov 30, 2017
  2. postcd

    postcd New Email

    Joined:
    Nov 30, 2017
    Messages:
    2
    Likes Received:
    2
    Hello, i got this error too. Can you please give example of where to "moving the white space"?
     

    popowich likes this.
  3. postcd

    postcd New Email

    Joined:
    Nov 30, 2017
    Messages:
    2
    Likes Received:
    2
    I am unable to edit my previous post because of this forum limits, so here is my update. i solved this and got working (pass) DKIM when i removed all spaces, quotation marks (") and remove backslash ( \ ) that is before last letter ( ; ) of whole DKIM record value.
     
    popowich likes this.
  4. popowich

    popowich EQ Forum Admin Staff Member

    Joined:
    Aug 12, 2008
    Messages:
    9,215
    Likes Received:
    137
    Thanks for pointing out the typo. You're right, it's "removing the white space".
     

    postcd likes this.

Want to reply or ask your own question?

It only takes a minute to sign up (and it's free!). Click the orange sign up button to choose a username and then you can ask your own questions on the forum.
Loading...