For a home setup I only have 1 public IPv4. So I have to use it for all my hosts. Luckily I have only one. So in the DNS I use the at sign @ to define the origin, example.com with an A record where I put the IPv4.
That works fine, but for the mail server I need the reverse DNS to match the name of the MX. In this case the reverse for this IP is the origin, example.com. So I can't setup something different like mail.example.com since it won't match the reverse DNS.
Can I use the origin, example.com as an MX so the reverse points to the right host? and how?
Can I do something like:
@ 10800 IN MX 5 @