Read How to set up your own email server (russian).

Learned How to Set PTR Records and Reverse DNS in DigitalOcean - it’s just about renaming a droplet to a fully qualified domain name.