DNS MX record and SMTP server

Solution 1:

Your SPF record specifies two mechanisms, and the source IP for mail must match at least one of them:

  • Either the A record for the domain (in this case the apex, since you don't specify anything after a), and/or
  • One of the MX records must resolve to the source IP.

Assuming mail and smtp resolve to different IP addresses, removing the MX record for smtp means that it is no longer satisfies the mx mechanism.