I am a noob and this is my first time setting up an email and web server so please forgive the lack of expertise. I have a webserver running at example.com with an A record pointing towards my ip address. This works great. Then I have a dovecot/postfix email server running mail.example.com on the same ip address (same server + same router + same ISP + same ip address etc.).
I have been through multiple guides which all seem to give different instructions as none of them are particular to cloud flare. My question is,
What is the proper way to configure my records (MX, A, C, etc.) to point towards my mail server for emails?
Please help, and be very specific, as I am very unfamiliar with Record pointing.