We have a testing server with its own domain name. We don't want any email to be sent from this domain. We don't want any email to be received on this domain.

Is it ok to remove the MX record from the DNS?


Yes, an MX record is there only for incoming mail.