I spent 1 or 2 days last year to set it up on my VPS, provided by OVH, using Dokploy and Stalwart, it was educational and fun to do, but useless, all my mails were ending up in the spam folder; even after implementing all the best practices and achieving a good score on mail scoring websites, there was nothing more I could do.