I updated my mail config for SPF, DKIM and DMARC using this article.
https://scaron.info/blog/debian-mail-spf-dkim.html
There's a very clear explanation of the set up process as well as testing the configuration. Highly recommend.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!