Help Center

Cpanel - DKIM Configuration Guide

DKIM is not generally required in order to make our service work with cPanel clients. DKIM is a message signing protocol that can either be enabled or disabled; email delivery will not suffer either way. Our service does not modify parts of the messages that you sign with DKIM, so messages still validate just fine.

 To include your DKIM key to cpanel:

1) Add the following lines into the Exim configuration already in place (Our main cpanel guide should be used for the base configuration with MailChannels). In the TRANSPORTSTART section at the end of "mailchannels_smtp" transport:

dkim_domain = $sender_address_domain
dkim_selector = default
dkim_canon = relaxed
dkim_private_key = "/var/cpanel/domain_keys/private/${dkim_domain}"

2) The final "mailchannels_smtp" transport section will look as follows

mailchannels_smtp:
driver = smtp
hosts_require_auth = *
tls_tempfail_tryclear = true
headers_add = X-AuthUser: ${if match {$authenticated_id}{.*@.*}\
{$authenticated_id} {${if match {$authenticated_id}{.+}\
{$authenticated_id@$primary_hostname}{$authenticated_id}}}}
dkim_domain = $sender_address_domain
dkim_selector = default
dkim_canon = relaxed
dkim_private_key = "/var/cpanel/domain_keys/private/${dkim_domain}"

3) Ensure that you restart your mail server application after making changes to the configuration files so that your changes are implemented and send some test traffic using your new DKIM key to ensure proper signing and readability with receivers.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Please sign in to leave a comment.

Powered by Zendesk