For hosted solution such as Office 365 and G Suite (formerly Google Apps for Work) Gmail
Configure the hosted email server to accept email from Metadefender Email server.
Configure Metadefender Email to relay out to hosted email server and use port 25.
Update MX record to point to Metadefender Email server.
SPF enforcement will be skipped on the hosted email server