1

Topic: Dkim help please?

I know this question (through searching) has been posted a lot however, I was unable to find a solution.
When using amavisd-new testkey command, I'm getting a => invalid (public key: invalid data) message. (yes I posted it to my dns. I bought my domain through godaddy)
sorry for the repeat question but I'm still learning all this stuff.
I am using:
iRedMail-0.9.8
Ubuntu 16.04
Mysql
Apache
not using pro
==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

----

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

2

Re: Dkim help please?

Run command below to check whether your DKIM DNS record is actually published AND correct:

dig -t txt dkim._domainkey.<domain>

Replace <domain> by the domain part of your email address.

3

Re: Dkim help please?

jeffda wrote:

I know this question (through searching) has been posted a lot however, I was unable to find a solution.
When using amavisd-new testkey command, I'm getting a => invalid (public key: invalid data) message. (yes I posted it to my dns. I bought my domain through godaddy)
sorry for the repeat question but I'm still learning all this stuff.
I am using:
iRedMail-0.9.8
Ubuntu 16.04
Mysql
Apache
not using pro
==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

You have posted it wrongly then. Please share the record

4

Re: Dkim help please?

Hi. Did you create a 2048 bit dkim key? Some DNS providers accept only 1024 bit keys unfortunately.