Get-Mailprotection

1.13

This Script checks diffrent DNS Records about a Domain - mostly about Mailsecurity Settings.
Most of the Querys are simple DNS Querys (NS, MX, SPF, DKIM, DMARC, BIMI, MTA-STS, TLSRPT).
The Script uses also DNS over HTTP for several checks (ZoneSigned, TLSA Record for DANE).
Also some Webrequests are required for MTA-STS, TenantID (OIDC), Security.txt.
And connects via
This Script checks diffrent DNS Records about a Domain - mostly about Mailsecurity Settings.
Most of the Querys are simple DNS Querys (NS, MX, SPF, DKIM, DMARC, BIMI, MTA-STS, TLSRPT).
The Script uses also DNS over HTTP for several checks (ZoneSigned, TLSA Record for DANE).
Also some Webrequests are required for MTA-STS, TenantID (OIDC), Security.txt.
And connects via SMTP to check if the Server supports STARTTLS.

Show more

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name Get-Mailprotection

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

Free to copy, inspire, etc...

Package Details

Author(s)

  • Andres Bohren Contact: a.bohren@icewolf.ch https://twitter.com/andresbohren

Tags

DNSSEC MX Reverse Lookup STARTTLS SPF DKIM DMARC DANE MTA-STS TLSRPT BIMI CAA M365 TenantID Security.txt

Functions

Invoke-STARTTLS Get-MailProtection

Dependencies

This script has no dependencies.

Release Notes

Version 1.13
- Fixed Bug in DANESupport when -SMTPConnect was set to $false

FileList

Version History

Version Downloads Last updated
1.13 (current version) 60 3/30/2024
1.12 82 1/13/2024
1.11 23 11/29/2023
1.10 17 11/8/2023
1.9 73 10/29/2023
1.8 83 9/30/2023
1.6 133 4/3/2023
1.4 145 10/8/2022
Show more