Also known as: sender policy framework
SPF lets receiving servers check whether a message came from an authorised server. A domain must have exactly one SPF record, starting with v=spf1, and evaluation must not exceed 10 DNS lookups.
SPF works best together with DKIM and DMARC.