Hello, i'm testing PMG 6.2 and i active dkim for my domains, i create a selector : pmg, then, the gui generate in /etc/pmg/dkim/pmg.private the private key, and then i add the record in dns
pmg._domainkey IN TXT "v=DKIM1; h=sha256; k=rsa; "p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDCTZGJvrVIH7gcl6Lgr55xATxTcsWNvMQXIdpHzuI8tDpIQfDVOuCwZyJe1nZaL9t68rzqp4FIQiM0vCgL6gTQVXPDXETxYb4Bt5VLY9pbMIq0TE85vPJ8uS+8i1sIcj1m7dQkdPv3dqi7hqsLYdwws1w71XI4HvYQYqLmILFGLwIDAQAB"
dig txt pmg._domainkey.rosario.gov.ar
looks fine
i tested it with https://www.mailhardener.com/tools/dkim-validator
and it's ok
when I send emails to gmail and everywhere:
header in gmail:
dkim=fail header.i=@rosario.gov.ar header.s=pmg header.b=sWf9HTnX;
on the other hand, i execute :
openssl rsa -in /etc/pmg/dkim/pmg.private -pubout -outform der 2>/dev/null | openssl base64 -A
and the result is the exact key in the dns txt
Something is surely escaping me, what could it be?
pmg._domainkey IN TXT "v=DKIM1; h=sha256; k=rsa; "p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDCTZGJvrVIH7gcl6Lgr55xATxTcsWNvMQXIdpHzuI8tDpIQfDVOuCwZyJe1nZaL9t68rzqp4FIQiM0vCgL6gTQVXPDXETxYb4Bt5VLY9pbMIq0TE85vPJ8uS+8i1sIcj1m7dQkdPv3dqi7hqsLYdwws1w71XI4HvYQYqLmILFGLwIDAQAB"
dig txt pmg._domainkey.rosario.gov.ar
looks fine
i tested it with https://www.mailhardener.com/tools/dkim-validator
and it's ok
when I send emails to gmail and everywhere:
header in gmail:
dkim=fail header.i=@rosario.gov.ar header.s=pmg header.b=sWf9HTnX;
on the other hand, i execute :
openssl rsa -in /etc/pmg/dkim/pmg.private -pubout -outform der 2>/dev/null | openssl base64 -A
and the result is the exact key in the dns txt
Something is surely escaping me, what could it be?
Last edited: