Page 1 of 1

DKIM value different in Vesta GUI and command line

Posted: Tue Mar 14, 2017 2:07 pm
by vesta_mtl
I just wanted to mention that the DKIM values provided for mail._domainkey in the Vesta GUI (DNS tab) are slightly different than the ones outputted by the CLI (command line).

For example, in the Vesta GUI, my mail._domainkey looks like this:

Code: Select all

"k=rsa; p=...zko5w2EfBgM...YAGNnS...La59PAkKC..."
But when I use the CLI (v-list-mail-domain-dkim-dns user domain) I get this:

Code: Select all

"k=rsa; p=...zko5w\n2EfBgM...YAG\nNnS...La59P\nAkKC..."
So the command line has "\n" in some places, which don't show in the GUI version.

Interestingly, they both seem to work and give a DKIM "Pass". Anyone know why they would both work?

Re: DKIM value different in Vesta GUI and command line

Posted: Tue Mar 14, 2017 4:59 pm
by mehargags
a \n means line break (new line)... it is not a character so both seem exactly the same