Where can I find steps for setting up email with my own SMTP server?

Check out “Mail in a Box”. There is at least one topic here about it. I’ve not used it but one thing I remember is a lot of people recommend not to use Digital Ocean as they say it is a spammers’ paradise.