This guide was a great help in configuring my mail server to use DMARC and DKIM – https://www.systemajik.com/implementing-dkim-with-exim/
I run EXIM and have done for years, but recently gmail stopped accepting mail as I didn’t have SPF and DMARC in place. So, to get with the times, I do so.
Saving here for future reference.