If you want to be "one of the good guys" and follow the rules by which spam is sorted out from other mail servers, you should follow some of these guidelines:
(Note that some basic knowledge isn't covered here; You should know what an MX record is, for example.)
curl ifconfig.meto retrieve your public IP address - for example, 123.45.67.89
host 123.45.67.89Reverse DNS is usually configured by your ISP.
host -t mx mail.yourdomain.com
host mail.yourdomain.comresolving to the correct IP address (such as in the above example, 123.45.67.89).