Top Deliverability’s Blog
A Powershell script to help you validate your DKIM config in Office 365
- March 7, 2016
- Posted by: Terry Zink
- Category: DKIM Email Authentication Terry Zink
A Powershell script to help you validate your DKIM config in Office 365
- March 7, 2016
- Posted by: Terry Zink
- Category: DKIM , Email Authentication , Terry Zink ,
One of our support engineers (not me, so let’s give credit where credit is due) wrote a script to help you, as a customer of Office 365, validate for DKIM configuration once you have enabled it in the Admin Portal. We’ve added a few more checks to make it more clear, but you can also use this.
To verify your DKIM configuration:
1. Copy/paste the below script into a file, Validate-DkimConfig.ps1
2. Connect to Exchange Online using Powershell, making sure that the directory you are in is the same as where you saved the script above.
3. Type the following command in Powershell:
. .\Validate-DkimConfig.ps1.
4. To check the config for a single domain, run the following command:
Validate-DkimConfig
To show the full signing config, use the –showAll switch:
Validate-DkimConfig –showAll
To validate all domains for your organization, run the following command:
Validate-DkimConfig
You will be able to see if anything is wrong because the output is color coded.
Update on May 12, 2016 – This script now lives on GitHub (instead of you having to copy/paste it here), and it fixes some key/dns missing errors https://github.com/carlnolan/scripting/blob/master/Validate-DkimConfig.ps1
Thanks to Carl Nolan for putting this up.
ORIGINALLY POSTED ON “TERRY ZINK: SECURITY TALKS” ON MARCH 7, 2016
Author: Terry Zink
Leave a Reply Cancel reply
- Term: DomainKeys Identified Mail (DKIM)
- Term: Authentication
- Term: Domain Name System (DNS)
- Term: Sender Policy Framework (SPF)
- Term: Domain Message Authentication Reporting & Conformance (DMARC)
- Term: Postmaster
- Term: Email Service Provider (ESP)
- Term: Allowlist
- Term: SpamAssassin
- Term: Simple Mail Transfer Protocol (SMTP)
- Term: Deliverability
- Term: Hyper text markup language (HTML)
- Term: Classless Inter-Domain Routing (CIDR)
- Term: Campaign
- Term: Contact
- Term: Engagement
- Term: Email Marketing
- Term: Spam
Author:Terry Zink
Leave a Reply Cancel reply
A Powershell script to help you validate your DKIM config in Office 365
- March 7, 2016
- Posted by: Terry Zink
- Category: DKIM , Email Authentication , Terry Zink ,
One of our support engineers (not me, so let’s give credit where credit is due) wrote a script to help you, as a customer of Office 365, validate for DKIM configuration once you have enabled it in the Admin Portal. We’ve added a few more checks to make it more clear, but you can also use this.
To verify your DKIM configuration:
1. Copy/paste the below script into a file, Validate-DkimConfig.ps1
2. Connect to Exchange Online using Powershell, making sure that the directory you are in is the same as where you saved the script above.
3. Type the following command in Powershell:
. .\Validate-DkimConfig.ps1.
4. To check the config for a single domain, run the following command:
Validate-DkimConfig
To show the full signing config, use the –showAll switch:
Validate-DkimConfig –showAll
To validate all domains for your organization, run the following command:
Validate-DkimConfig
You will be able to see if anything is wrong because the output is color coded.
Update on May 12, 2016 – This script now lives on GitHub (instead of you having to copy/paste it here), and it fixes some key/dns missing errors https://github.com/carlnolan/scripting/blob/master/Validate-DkimConfig.ps1
Thanks to Carl Nolan for putting this up.
ORIGINALLY POSTED ON “TERRY ZINK: SECURITY TALKS” ON MARCH 7, 2016
Author: Terry Zink
Leave a Reply Cancel reply
document.getElementById( "ak_js_3" ).setAttribute( "value", ( new Date() ).getTime() );
- Term: DomainKeys Identified Mail (DKIM)
- Term: Authentication
- Term: Domain Name System (DNS)
- Term: Sender Policy Framework (SPF)
- Term: Domain Message Authentication Reporting & Conformance (DMARC)
- Term: Postmaster
- Term: Email Service Provider (ESP)
- Term: Allowlist
- Term: SpamAssassin
- Term: Simple Mail Transfer Protocol (SMTP)
- Term: Deliverability
- Term: Hyper text markup language (HTML)
- Term: Classless Inter-Domain Routing (CIDR)
- Term: Campaign
- Term: Contact
- Term: Engagement
- Term: Email Marketing
- Term: Spam