DKIM Config Manual - Microsoft
What is DKIM?
DKIM (DomainKeys Identified Mail) is a method used to verify the authenticity of email messages. It adds a digital signature to outgoing emails, allowing the recipient's email server to verify that the email was indeed sent by the claimed domain and that it hasn't been modified in transit. Using DKIM helps to protect against email spoofing and phishing attempts, enhancing the overall security and trustworthiness of your email communications.
DKIM is one of the trio of Authentication methods (SPF, DKIM and DMARC) that help prevent attackers from sending messages that look like they come from your domain.
Rotate’s Recommendation
Our cybersecurity experts recommend that your DKIM record will consist of the following:
- Encryption key should be rsa-sha256.
- DKIM encryption key length should be at least 2048 bits long.
Configure Your DKIM
-
Log in to your Microsoft 365 admin center
-
Go to Policies & rules > Threat policies >DomainKeys Identified Mail (DKIM), or go to the following link: https://security.microsoft.com/dkimv2
-
Click on the domain you would like to configure, then click on Create DKIM keys.
-
Copy the created host names and values, or leave the page open.
-
Go to your DNS provider and add a CNAME record:
- Type: CNAME
- Host:
selector1._domainkey - Value: Paste the matching value from the previous DKIM panel
- Example:
selector1-example-com._domainkey.example.onmicrosoft.com
- Example:
- Proxy (if exists): Disable proxy option
- TTL: Leave it as Default (Automatic)
-
Do the same for the the presented selector2.
-
Enable the DKIM signatures for domain and close the opened drawer.
Frequently Asked Questions
What is the Email Add-On?
The Email Add-On is a tool designed for Gmail and Outlook that helps you identify and manage malicious emails, including spam, phishing attempts, and malware. It enhances your email security by reporting suspicious emails and managing your personal spam list.
Why are mail rules a security risk?
Mail rules can be exploited to exfiltrate data, hide security alerts, or modify incoming messages. Attackers often use forwarding rules to silently send emails to external accounts or create rules that auto-delete security notifications, making it harder to detect compromises.
Why is email security important?
Email is a common attack vector for phishing, spoofing, and other cyber threats. Properly configured DMARC, DKIM, and SPF records help prevent unauthorized parties from sending emails on behalf of your domain, protecting your organization from email-based attacks.
What actions can I take on a malicious email?
When a malicious email is detected, you can take the following actions:
- Block the email to remove it from the user’s inbox.
- Release the email after it’s been blocked, putting it back in the inbox.
Can I deactivate Rotate Mail Scanning on a specific mailbox?
Yes, you can exclude specific mailboxes from Rotate Mail Scanning. This can be configured in the Configurations tab in the Email Hub under the Users and choose the users to exclude.
What does Email Threats mean?
- Phishing: A type of cyberattack where attackers impersonate legitimate organizations via email or websites to steal sensitive information like passwords or credit card numbers.
- Financial Fraud: Illegally obtaining money or assets through deceptive means, such as credit card fraud, investment scams, or identity theft.
- BEC (Business Email Compromise): A type of cybercrime where attackers impersonate company executives or employees to trick others into transferring money or sensitive information, often through email.
- Malware: Malicious software designed to harm, exploit, or otherwise compromise the data or functionality of a computer, network, or device. Examples include viruses, trojans, and ransomware.
- Spam: Unsolicited and often irrelevant or inappropriate messages, typically sent in bulk, usually through email. Often used for advertising or spreading malicious content.