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 (
How can I add second key so it shows up on this list?