DKIM (DomainKeys Identified Mail) is an electronic signature for email. The server signs the message when it is sent, and the recipient verifies the signature with a public key stored in the domain's DNS. This confirms that the message has not been altered and that it comes from the given domain.
See SPF, DKIM and DMARC.