It’s worth noting that hosting your own email server is more difficult than it might seem. The server aspects aren’t too difficult, but due to the proliferation of spam, there are a ton of other things you need to set up in order for your emails to not be constantly filtered or rejected by other mail servers. If you’re curious, feel free to mess around, but I wouldn’t switch to using it for critical stuff until you’ve tested it very thoroughly.
It’s worth noting that hosting your own email server is more difficult than it might seem. The server aspects aren’t too difficult, but due to the proliferation of spam, there are a ton of other things you need to set up in order for your emails to not be constantly filtered or rejected by other mail servers. If you’re curious, feel free to mess around, but I wouldn’t switch to using it for critical stuff until you’ve tested it very thoroughly.