I made sure to include the word correctly in the reply. Mox mailserver tells you exactly what to do. I think mailcow does as well. A lot of people don't do it and then tell others that selfhosting email with good deliverability is impossible. You set it up once and you're good to go
It depends on whether your IP address has good reputation or not. Don't act like we're idiots, we know what SPF, DKIM and DMARC are. We've seen perfect e-mails (rated 100/100 by deliverability services) get rejected by Microsoft because reasons.
You were lucky, congratulations.