1 (edited by chuck 2018-07-06 02:06:37)

Topic: DKIM for new domain without editing avavisd.conf

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.8
- Linux/BSD distribution name and version: centos 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? no
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Under @dkim_signature_options_bysender_maps = ({

THis was noted
[b}# catch-all (one dkim key for all domains{/b}
    '.' => {d => 'mydomain.com',
            a => 'rsa-sha256',
            c => 'relaxed/simple',
            ttl => 30*24*3600 },


I took this to mean that this was a catch-all and I did not need to add additional domains here for this server. It seemed to be correct. I duplicaed mydomain's dkim entry into new_domain DNS and tested the dkim over at mail-tester.com. And it passed. 

Does this sound right??

----

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

2

Re: DKIM for new domain without editing avavisd.conf

Yes it's right. One DKIM key for all domains.

3

Re: DKIM for new domain without editing avavisd.conf

Zhang take a look at https://docs.iredmail.org/sign.dkim.sig … omain.html it makes it sound like it's necessary to add new_domain to the amavisd.conf . I didn't do that and it passed

4

Re: DKIM for new domain without editing avavisd.conf

- Some sysadmins prefer every domain has its own key, so this tutorial is necessary.
- iRedMail default setting is using one key for all domains.