diff --git a/Examples/Example-GenerateMailReport.ps1 b/Examples/Example-GenerateMailReport.ps1 index b7ec271..0aed546 100644 --- a/Examples/Example-GenerateMailReport.ps1 +++ b/Examples/Example-GenerateMailReport.ps1 @@ -4,11 +4,11 @@ $ExcelReport = "$PSScriptRoot\Output\MailSystemSummary.xlsx" $HTMLReport = "$PSScriptRoot\Output\MailSystemSummary.html" $Domains = @( - 'evotec.pl' - 'evotec.xyz' - 'google.com' - 'gmail.com' - 'microsoft.com' + @{ DomainName = 'evotec.pl'; Selector = 'selector1' } + @{ DomainName = 'evotec.xyz'; Selector = 'selector1' } + @{ DomainName = 'microsoft.com'; Selector = 'selector2' } + @{ DomainName = 'gmail.com'; Selector = 'selector2' } + @{ DomainName = 'google.com'; Selector = 'selector2' } ) $MXRecords = Find-MxRecord -DomainName $Domains diff --git a/Examples/Output/MailSystemSummary.html b/Examples/Output/MailSystemSummary.html index 13db5fa..b596943 100644 --- a/Examples/Output/MailSystemSummary.html +++ b/Examples/Output/MailSystemSummary.html @@ -1,6 +1,6 @@  -
NameCountPreferenceTimeToLiveMXIPAddress
evotec.pl11060evotec-pl.mail.protection.outlook.com104.47.10.36; 104.47.8.36
evotec.xyz1059evotec-xyz.mail.protection.outlook.com104.47.8.36; 104.47.9.36
google.com520; 40; 30; 10; 50196; 195; 193; 192; 191alt1.aspmx.l.google.com; alt3.aspmx.l.google.com; alt2.aspmx.l.google.com; aspmx.l.google.com; alt4.aspmx.l.google.com108.177.97.26; 173.194.200.27; 209.85.146.27; 64.233.162.26; 74.125.28.27
gmail.com55; 20; 30; 40; 103359; 3357; 3356; 3355; 3353gmail-smtp-in.l.google.com; alt2.gmail-smtp-in.l.google.com; alt3.gmail-smtp-in.l.google.com; alt4.gmail-smtp-in.l.google.com; alt1.gmail-smtp-in.l.google.com108.177.97.27; 173.194.200.27; 173.194.73.27; 209.85.146.26; 209.85.146.27; 74.125.28.26
microsoft.com1102555microsoft-com.mail.protection.outlook.com104.47.53.36
NameCountPreferenceTimeToLiveMXIPAddress
NameCountPreferenceTimeToLiveMXIPAddress
evotec.pl11059evotec-pl.mail.protection.outlook.com104.47.8.36; 104.47.9.36
evotec.xyz1059evotec-xyz.mail.protection.outlook.com104.47.8.36; 104.47.9.36
microsoft.com110686microsoft-com.mail.protection.outlook.com104.47.53.36
gmail.com530; 40; 5; 20; 103574; 3572; 3570; 3568; 3567alt3.gmail-smtp-in.l.google.com; alt4.gmail-smtp-in.l.google.com; gmail-smtp-in.l.google.com; alt2.gmail-smtp-in.l.google.com; alt1.gmail-smtp-in.l.google.com108.177.112.26; 108.177.112.27; 108.177.14.26; 108.177.14.27; 108.177.97.27; 173.194.223.26; 173.194.223.27; 64.233.161.26; 64.233.162.26; 74.125.28.27
google.com520; 50; 40; 30; 10296; 295; 293; 291; 290alt1.aspmx.l.google.com; alt4.aspmx.l.google.com; alt3.aspmx.l.google.com; alt2.aspmx.l.google.com; aspmx.l.google.com108.177.112.26; 108.177.112.27; 108.177.97.27; 173.194.221.27; 173.194.223.26; 173.194.223.27; 64.233.163.27; 64.233.165.26; 74.125.28.26; 74.125.28.27
NameCountPreferenceTimeToLiveMXIPAddress
NameCountTimeToLiveSPF
evotec.pl159v=spf1 a mx ip4:77.55.95.155 ip4:37.59.176.138 ip4:37.59.176.137 include:spf.protection.outlook.com -all
evotec.xyz160v=spf1 include:spf.protection.outlook.com -all
google.com1300v=spf1 include:_spf.google.com ~all
gmail.com168v=spf1 redirect=_spf.google.com
microsoft.com12443v=spf1 include:_spf-a.microsoft.com include:_spf-b.microsoft.com include:_spf-c.microsoft.com include:_spf-ssg-a.microsoft.com include:spf-a.hotmail.com include:_spf1-meo.microsoft.com -all
NameCountTimeToLiveSPF
NameCountTimeToLiveSPF
evotec.pl160v=spf1 a mx ip4:77.55.95.155 ip4:37.59.176.138 ip4:37.59.176.137 include:spf.protection.outlook.com -all
evotec.xyz160v=spf1 include:spf.protection.outlook.com -all
microsoft.com1299v=spf1 include:_spf-a.microsoft.com include:_spf-b.microsoft.com include:_spf-c.microsoft.com include:_spf-ssg-a.microsoft.com include:spf-a.hotmail.com include:_spf1-meo.microsoft.com -all
gmail.com1299v=spf1 redirect=_spf.google.com
google.com13448v=spf1 include:_spf.google.com ~all
NameCountTimeToLiveSPF
NameCountSelectorDKIM
evotec.pl1evotec.pl:selector1v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCqrIpQkyykYEQbNzvHfgGsiYfoyX3b3Z6CPMHa5aNn/Bd8skLaqwK9vj2fHn70DA+X67L/pV2U5VYDzb5AUfQeD6NPDwZ7zLRc0XtX+5jyHWhHueSQT8uo6acMA+9JrVHdRfvtlQo8Oag8SLIkhaUea3xqZpijkQR/qHmo3GIfnQIDAQAB;
evotec.xyz1evotec.xyz:selector1v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDhI50wSneU7XBAY5e/L0EYs7DtoEN2MV4S9nZt9LpSIliNvlOXM2hJ9N4ks1dga5HwnfLH8LCudOQD/m+Me8S8V+xQXEAd6uHFOKiZiup8VLor07eBs5A6OqmQ4hnJ0ioo54KHfhqRAHnC5e/oo26wuntHAzQsaTuQEIRPY8v1aQIDAQAB; n=1024,1449053169,1
google.com0google.com:selector1
gmail.com0gmail.com:selector1
microsoft.com0microsoft.com:selector1
NameCountSelectorDKIM
NameCountTimeToLiveDMARC
evotec.pl160v=DMARC1;p=none;rua=mailto:dmarc_agg@vali.email;sp=none;aspf=s;
evotec.xyz0
google.com1299v=DMARC1; p=reject; rua=mailto:mailauth-reports@google.com
gmail.com1598v=DMARC1; p=none; sp=quarantine; rua=mailto:mailauth-reports@google.com
microsoft.com1324v=DMARC1; p=reject; pct=100; rua=mailto:d@rua.agari.com; ruf=mailto:d@ruf.agari.com; fo=1
NameCountTimeToLiveDMARC
+ });
NameCountTimeToLiveDMARC
evotec.pl160v=DMARC1;p=none;rua=mailto:dmarc_agg@vali.email;sp=none;aspf=s;
evotec.xyz0
microsoft.com13599v=DMARC1; p=reject; pct=100; rua=mailto:d@rua.agari.com; ruf=mailto:d@ruf.agari.com; fo=1
gmail.com1139v=DMARC1; p=none; sp=quarantine; rua=mailto:mailauth-reports@google.com
google.com1300v=DMARC1; p=reject; rua=mailto:mailauth-reports@google.com
NameCountTimeToLiveDMARC
diff --git a/Examples/Output/MailSystemSummary.xlsx b/Examples/Output/MailSystemSummary.xlsx index 1142348..c57e45e 100644 Binary files a/Examples/Output/MailSystemSummary.xlsx and b/Examples/Output/MailSystemSummary.xlsx differ