Topic: New DKIM key for additional domain?
One question, how do I add another DKIM key for another domain I have added?
I created a new domain and added to iRedMail. dns is working, everything correctly set up. However - I am now wondering how to add new DKIM key for the domain I just added?
I did this: amavisd-new genrsa /var/lib/dkim/mykey.pem
but when I execute: amavisd-new showkeys
I only see one key - the original key that was generated with the domain name I set up iRedMail for. How can I ensure DKIM sees my new key? It's in the right folder. I've tried restarting amavisd-new, but it still was not there.
This is what I see when I run showkeys:
; key#1, domain domain1.com, /var/lib/dkim/domain1.com.pem
dkim._domainkey.domain1.com. 3600 TXT (
"v=DKIM1; p="
"MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC4M3+y52SgOxVskiM3bR656StS"
"7rkMW692o/GoEMLnXnx5TA1zzT4nIMnYLtjQIpleXlvlSuV5OfRedejx5xG8M6Hc"
"Va7gYvq9Ih1lcRaVNVjFJtsH4ZE5SG3HgetyVnXzkqMIHzFFASae57tjsAsNTQlP"
"asrG4xxqRsEzN+R8+QIDAQAB")
How can I add second key so it shows up on this list?
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.