Hosting mail for external domains. Is this how you do it?

I have only two DNS entries added to my external site’s DNS:
MX box.MIAB.com 10 (This being the full name of my mail server)
TXT example.com v=spf1 a mx ~all (allows mail sent from my A record host (web servere) and MX record host (MIAB server)