Topic: [Solved] DKIM questions
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.2
- Linux/BSD distribution name and version: Debian 8
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): Mysql
- Web server (Apache or Nginx): Nginx
- Related log if you're reporting an issue:
====
Hi,
I start to be a bit confused with DKIM.
amavisd-new showkeys:
; key#1 2048 bits, i=zobe, d=domain.ltd, /var/lib/dkim/domain.ltd.pem
zobe._domainkey.domain.ltd. 3600 TXT (
"v=DKIM1; p="
"MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA8Eu79PPDQN9xBg0kFViM"
"Ezg5BEyLUsr1EEoqz2SqOCxTBadHZgMdNuUz4htkx8pT+LECJSnUObSvAMYPfv4u"
"IjtLMKPcAt3F9E9uobu7JF8wR5M+795FJ2k1xcioREPF3mOXggY+Mm8MF/UGlRNr"
"ej1TFze3BiTjBTZbYdVD4on7Brl8oo5st2B1c6Hj3Hl69GDx11ctXy0bdIExRGYX"
"1u3KueY3TbOcFpWEQUYYAXmHNAdopUdkTqzZgwniri9S/TQWEOHkgwp0NcJqkV3C"
"A1lWaly80ixzyrRk2lHypn95Ao5lmA2uAJSaMiTj9B5CL7+N8iQ/XJXmEpi0dXnm"
"QQIDAQAB")
; key#2 2048 bits, i=dkim, d=domain.ltd, /var/lib/dkim/domain.ltd.pem
dkim._domainkey.domain.ltd. 3600 TXT (
"v=DKIM1; p="
"MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA8Eu79PPDQN9xBg0kFViM"
"Ezg5BEyLUsr1EEoqz2SqOCxTBadHZgMdNuUz4htkx8pT+LECJSnUObSvAMYPfv4u"
"IjtLMKPcAt3F9E9uobu7JF8wR5M+795FJ2k1xcioREPF3mOXggY+Mm8MF/UGlRNr"
"ej1TFze3BiTjBTZbYdVD4on7Brl8oo5st2B1c6Hj3Hl69GDx11ctXy0bdIExRGYX"
"1u3KueY3TbOcFpWEQUYYAXmHNAdopUdkTqzZgwniri9S/TQWEOHkgwp0NcJqkV3C"
"A1lWaly80ixzyrRk2lHypn95Ao5lmA2uAJSaMiTj9B5CL7+N8iQ/XJXmEpi0dXnm"
"QQIDAQAB")
amavisd-new testkeys:
TESTING#1 maelenn.org: zobe._domainkey.maelenn.org => invalid (public key: not available)
TESTING#2 maelenn.org: dkim._domainkey.maelenn.org => pass
I have now 2 dkim keys .... one is valid (dkim._domainkey), not the second one (zobe._domainkey).
How to remove the wrong key ?
Thx
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.