User Tools

Site Tools


internet:mail:sender_auth

This is an old revision of the document!


DKIM and DMARC

FIXME Incomplete

SPF (sender policy framework), DKIM (domain keys identified mail) and DMARC (domain message authentication reporting and conformance) are sender authentication mechanisms that use DNS.

DKIM

DKIM is a standard for signing email messages so that the recipient can verify the sender's email address. This allows recipient mail servers to detect sender address forgery, which is often used by spammers to avoid sender domain blacklists.

Signing is done with a private key on the sender's server, which matches a public key added to in the sender's DNS domain. The recipient can lookup this key at the domain in the From address, and use it to ensure that the email signature was created using the corresponding private key, which proves that the message was really sent from that domain.

Testing

DKIM Test Tool: https://mxtoolbox.com/dkim.aspx

DMARC Test Tool: https://mxtoolbox.com/DMARC.aspx

A very useful test is to send a message from the domain under test to a Gmail address. Once the message is received in Gmail, perform a Show Original to view the message headers.

Virtualmin

:!: Only virtual servers that have both the DNS and email features enabled will have DKIM activated, as the mail server needs to be setup to use a private signing key whose corresponding public key is added to DNS.

https://www.virtualmin.com/documentation/email/dkim

Virtualmin uses a milter (daemon) to implement DKIM signing and verification.

Virtualmin → E-Mail Settings → DomainKeys Identified Mail

Enable DKIM in Virtualmin

Zimbra

internet/mail/sender_auth.1557248787.txt.gz · Last modified: 2019/05/07 11:06 by gcooper