Get-Mailprotection
1.16
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
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.
Installation Options
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 Autodiscover Lynciscover Teamsfederation M365 TenantID Security.txt
Functions
Get-SPFLookupCount Invoke-STARTTLS Get-MailProtection
Dependencies
This script has no dependencies.
Release Notes
Version 1.16
- Addet -AppendCSVExport Parameter
- Added M365NameSpaceType and M365FederatedAuthURL to Output
FileList
- Get-Mailprotection.nuspec
- Get-Mailprotection.ps1
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 1.23 | 18 | 12/10/2025 |
| 1.22 | 16 | 12/7/2025 |
| 1.21 | 42 | 9/30/2025 |
| 1.20 | 23 | 9/12/2025 |
| 1.17 | 58 | 7/23/2025 |
| 1.16 (current version) | 165 | 3/15/2025 |
| 1.15 | 511 | 11/20/2024 |
| 1.14 | 59 | 9/28/2024 |
| 1.13 | 91 | 3/30/2024 |
| 1.12 | 87 | 1/13/2024 |
| 1.11 | 29 | 11/29/2023 |
| 1.10 | 22 | 11/8/2023 |
| 1.9 | 78 | 10/29/2023 |
| 1.8 | 97 | 9/30/2023 |
| 1.6 | 144 | 4/3/2023 |
| 1.4 | 152 | 10/8/2022 |