Site icon Franky's Web

PowerShell script for testing a mail domain

At the weekend there is a PowerShell script with which a domain can be tested in the event of mail problems:

The script returns the MX, PTR, SPF and DMARC entries of a domain and checks whether one of the IPs is on a blacklist. It also checks whether port 25 (SMTP) is accessible.

The script is simply called with the domain to be checked as a parameter:

.\Test-MailDomain.ps1 -Domain name frankysweb.de

The script can be downloaded here:

Exit mobile version