Skip to content

mail-relay: Verify backend domains before relaying

Accept as verified:

  • domains with MX records pointing to the cluster nodes' FQDNs
  • domains without MX records and unresolvable to IP addresses

Currently that is a one-time verification valid forever; later we could maybe implement periodic rechecks.

Also allow domains for which the cluster is configured with a proxy for external delivery, but require re-verification if that configuration is later removed.

In particular, this aims to prevent backends from usurping existing domains, whether for receiving or sending mail.

Edited by Xavier Thompson

Merge request reports