Ability to disable DKIM on a per-User account or per-Domain basis

Version 1.513


When dkim=1 is set in the directadmin.conf, this is globally set for all Users, and cannot be turned off when a domain is created. Some Users might not want this (eg: external DNS servers), so this override allows you to shut off dkim processing for their account. Regardless of the directadmin.conf setting, you can now edit their: /usr/local/directadmin/data/users/username/user.conf and add: dkim=0 to override the global setting. Any domains created under this account will not have dkim created, even if dkim=1 is set in the directadmin.conf. You can also do the same thing on a per-Domain basis in: /usr/local/directadmin/data/users/username/domains/domain.com.conf but if you set dkim=0 in the user.conf, the domain.com.conf won't be checked. If you want per-Domain control, you shouldn't set dkim=1 in the user.conf Also, if you have dkim=0 set globally, neither the user.conf nor the domain.com.conf file will be checked. The global dkim=0 setting fully shuts off everything. ============= Note, if DKIM is already enabled for the User/Domain, to disable it: 1) Delete the files: /etc/virtual/DOMAIN.COM/dkim.public.key /etc/virtual/DOMAIN.COM/dkim.private.key 2) Delete the TXT records: _domainkey x._domainkey

Interested to try DirectAdmin? Get a 30-day Free Trial!