The biggest problem with running your own hosted email server
is that the giants (Google, Microsoft, Yahoo ...⁾ tend to block
all the incoming mail.
Sometimes you can contact them and ask to be removed from whatever list or be allowed.
In my experience that lasts about a week, then blocks again.
I eventually gave up.
Tons of bots out there looking for SMTP serveres too, .