

I’ve set up postfix and dovecot on my VPS a few weeks ago and it was pretty simple. From my testing, popular email providers (outlook, gmail and proton) accept my mail, but corporate mail might bounce because of av (trendmicro in particlular seems to mark VPS host ips as residential/dynamic, you might be able to request removal tho).
Guidelines recommend setting up rDNS and SPF with DMARC for all mail and additionally DKIM for bulk senders. Mail will still be sent to spam, but shouldn’t be blocked. If you are not using it to send mailing lists and writing only to people that are ok with receiving your mail, it’s probably not a problem.
Make sure you configure postfix properly and don’t make it an open relay, as it could be used to send spam.
For receiving, set up something like rspamd to check for inbound spam, verify other sender’s SPF and DKIM. Test your server to make sure they actually work as intended.
For instructions: check mail provider guidelines and read the documentation for your servers before deploying them. Also be careful to not lock yourself out of accounts if you move things to this new mail.
Email was surprisingly plug and play. Research took a bit, because there’s a lot of options, but postfix and dovecot were incredibly easy to set up how I wanted to.
With that said, it’s the only service I’m running on a VPS and honestly can’t justify spending 7 €/mo on it. Keeping it running feels like a waste of hardware and money.