Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ($i) {
- if ($i.Name -eq "STS-Exclude-Sender"){
- $x = $i.HeaderMatchesPatterns;
- $ExceptionsEmail += $x
- } elif ($i.Name -eq "STS-Domain-Spoof-Protection"){
- $x = $i.ExceptIfSenderIpRanges;
- $ExceptionsIP += $x
- } else {
- $x = $i.ExceptIfFrom -ErrorAction SilentlyContinue;
- $ExceptionsEmail += $x
- }
- Write-Host "'.$yellowO.'[info]'.$cspan.' '.$row['name'].' exists, updating exceptions."
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement