1

Topic: Can I use DKIM selector in iRedMail

I am using CentOS 8 stream, iRedMail 1.6.2. We are want to add one more server, e.g. host2.mydomain.com, together with existing sever host1.mydomain.com to provide mail service.

Can I use DKIM selector in iRedMail? by default, the DKM had been set up during installation. Can I modify it? it is because we need to dkim selector to indicate the email headers sent by each servers.

how to do it?
"host1", my public key record will be "host1._domainkey.mydomain.com";
"host2", my public key record will be "host2._domainkey.mydomain.com".

Thanks

----

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

2

Re: Can I use DKIM selector in iRedMail

another server, or another domain? the domainkey can be the same (in both cases)
if you really mean another server, the domain keyfiles MUST be the same either the signing will mismatch your public key

3

Re: Can I use DKIM selector in iRedMail

same domain, but different host.

by using dkim selector, the dns record need to modify. for example:

host1._domainkey      IN     TXT  ( "v=DKIM1; k=rsa; "
          "p=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" )  ; ----- DKIM key host1 for –D
host2._domainkey      IN     TXT  ( "v=DKIM1; k=rsa; "
          "p=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" )  ; ----- DKIM key host2 for –D

in the local server, the key would be host1._domainkey.mydomain.com,host2._domainkey.mydomain.com as shown in my question.

However, by default, by default, the DKM had been set up during installation. Therefore, if I want to use dkim selector, i need to run dkim generator to generate a new key.

How can I configure my new key into iRedMail?