1 (edited by kaplink 2012-05-22 23:17:47)

Topic: DKIM invalid (public key: not available)

Hello,

I cannot verify the DKIM key.
The key matches the TXT record as shown with (verified with dig from the same host) :

$ amavisd-new showkeys

I deleted the old key and regenerated a new one with :

$ amavisd-new genrsa

Any ideas?

Than you.

iRedMail-0.8.0 MySQL
Debian GNU/Linux 6.0
Kernel: 2.6.18-028stab099.3 x86_64

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: DKIM invalid (public key: not available)

Do you have DNS record correctly configured for DKIM?

3

Re: DKIM invalid (public key: not available)

Hi,

ZhangHuangbin wrote:

Do you have DNS record correctly configured for DKIM?

I can confirm that the TXT DNS record for the subdomain matches the correct key as shown in the output of:

$ amavisd-new showkeys

Thanks for your reply.

4

Re: DKIM invalid (public key: not available)

The problem is we're not sure whether you have correct format in the DNS record.
What's the output of command:

# amavisd-new testkeys

Reference: http://code.google.com/p/iredmail/wiki/DNS_DKIM

5

Re: DKIM invalid (public key: not available)

TESTING#1: dkim._domainkey.XXXXXXXXXXXX => invalid (public key: not available)

where XXXXXXXXXXXX is the subdomain name.

I have triple checked the Documentation. I have passed the TXT record according to the DNS_DKIM documentation.
Additionally while manually issuing a dig request I can verify that the TXT record matches with the record of the

amavisd-mew showkeys

6

Re: DKIM invalid (public key: not available)

The weird thing is that I can verify that the DKIM request have been correctly configured via unlocktheinbox.com

Still amavisd-new testkeys retuns:  invalid (public key: not available)