The user o_o1 experienced issues with DKIM signing for emails sent from Discourse, as they were not being signed properly when using an external SMTP server (DirectAdmin with Exim). Initially, emails sent via Thunderbird were successfully signed with DKIM, but those sent through Discourse showed no selector or domain in the DKIM check. supermathie clarified that Discourse acts as an SMTP client, so DKIM signing must be handled by the receiving SMTP server, not Discourse itself. Thomas_Rother reinforced this point. After updating DNS TXT records in Cloudflare and adjusting rDNS, the user retested and found DKIM signing working correctly. o_o1 speculated that the issue may have been resolved due to DNS propagation or cache clearing, and confirmed that the problem is now resolved.
You gave the answer yourself Discourse acts as an smtp client and the dkim signing must be provided by the smtp server receiving the mails from Discourse.