When sending emails with a smart host, you may notice emails are not DKIM-signed when reviewing mail headers, despite having a valid DKIM record.
This typically occurs when the smart host is not configured to send emails with DKIM.
Configure your smart host to send emails with DKIM.
1. Connect to your server via SSH as the root user or use WHM >> Terminal.
2. Open the file /etc/exim.conf.local using any command-line text editor you prefer (vim, vi, nano, etc.)
3. In your smart host configuration, search for the following line:
transport = remote_smtp
4. Change this to the following:
transport = dkim_remote_smtp
5. Save and close the file.
6. Run the following scripts to load the change:
Emails should now be DKIM-signed when sending emails with a smart host. Optionally, you can use WHM >> Exim Configuration Manager >> Advanced Editor to edit your smart host configuration.