Listing 1: PowerShell cmdlets generated by the Anti-Spam Migration Tool #------------------------- Begin Connection Filtering Config ----------------------- Set-IPBlockListProvidersConfig - BypassedRecipients:postmaster@mojavemedia.com,ceo@mojavemedia.com Add-IPBlockListProvider -Name:"Spamhaus" -LookupDomain:"zen.spamhaus.com" -Priority:1 - Enabled:$true -AnyMatch:$true -RejectionResponse:"Your address is listed at Spamhaus RBL" #------------------------- End Connection Filtering Config ------------------------- #------------------------- Begin Sender Filter Config ----------------------- Set-SenderFilterConfig -BlockedSenders:bobby@clarke.com,angus@deyton.com -Action:Reject - BlankSenderBlockingEnabled:$true #------------------------- End Sender Filter Config ------------------------- #------------------------- Begin Recipient Filter Config ----------------------- Set-RecipientFilterConfig - BlockedRecipients:walter@mojavemedia.com,peter@mojavemedia.com -BlockListEnabled:$true -RecipientValidationEnabled:$true #------------------------- End Recipient Filter Config ------------------------- #------------------------- Begin Content Filter Cofig ------------------------ Set-ContentFilterConfig -SCLRejectEnabled:$false -SCLQuarantineEnabled:$false - SCLDeleteEnabled:$true -SCLDeleteThreshold:9 Add-ContentFilterPhrase -Phrase:"v|arga" -Influence:"BadWord" Add-ContentFilterPhrase -Phrase:"money" -Influence:"GoodWord" Add-ContentFilterPhrase -Phrase:"Special offer" -Influence:"BadWord" Add-ContentFilterPhrase -Phrase:"free stuff" -Influence:"GoodWord" Add-ContentFilterPhrase -Phrase:"Exchange Server" -Influence:"GoodWord" Add-ContentFilterPhrase -Phrase:"Offre spéciale" -Influence:"BadWord" 1