Hi,
To setup DNS for external email hosting, simply add the “MX”, “SPF”, “DKIM” and “DMARC” records for the external provider to your DNS records in Virtualmin.
*** SPF, DKIM and DMARC are optional, however they are seriously recommended due to industry standards which are rapidly changing. ***