Hi Everyone,
Here is my another Microsoft Exchange post “BlackList Sender domains and individual senders”
Hi Everyone,
Here is my another Microsoft Exchange post “BlackList Sender domains and individual senders”
IMPORTANT:The main problem of using Set-SenderFilterConfig cmdlet is that each time it is run, it completely rewrites (clears) the current block list. To avoid it, each time you have to add a new address/domain to this list, get the current Block List of addresses, add a new one to it and upload it back to Exchange.
The blacklist in Exchange 2013 is configured on Mailbox or Edge Transport server with the installed Exchange anti-spam protection.
The filter based on the Sender filtering checks if the address is in the black list. To edit the black list of addresses, the cmdlet SenderFilterConfig is used. The command has the following syntax:
After running this command, all messages from senders in Marketion.com domain will not be received by the Exchange users regardless of their contents or attachments.
You can view the current contents of domains blacklist using this command:
If you have to add several domains to the BlackList at once, the command will look like this:
To add a certain email address to the SenderFilter block list, use BlockedSenders parameter:
To add several domains to the Exchange white list (without clearing current list entries), you can use the following script:
$list.add("domain1.com")
$list.add("domain2.com")
$list.add("domain3.com")
Set-SenderFilterConfig -BlockedDomains $list
If you are adding individual addresses:
$list.add("bob@gmail.com")
$list.add("john@gmail.com")
Set-SenderFilterConfig -BlockedSenders $list
To delete one entry from the white list of senders, run this command:
Or:
IMPORTANT:The main problem of using Set-SenderFilterConfig cmdlet is that each time it is run, it completely rewrites (clears) the current block list. To avoid it, each time you have to add a new address/domain to this list, get the current Block List of addresses, add a new one to it and upload it back to Exchange.
The blacklist in Exchange 2013 is configured on Mailbox or Edge Transport server with the installed Exchange anti-spam protection.
The filter based on the Sender filtering checks if the address is in the black list. To edit the black list of addresses, the cmdlet SenderFilterConfig is used. The command has the following syntax:
After running this command, all messages from senders in Marketion.com domain will not be received by the Exchange users regardless of their contents or attachments.
You can view the current contents of domains blacklist using this command:
If you have to add several domains to the BlackList at once, the command will look like this:
To add a certain email address to the SenderFilter block list, use BlockedSenders parameter:
To add several domains to the Exchange white list (without clearing current list entries), you can use the following script:
$list.add("domain1.com")
$list.add("domain2.com")
$list.add("domain3.com")
Set-SenderFilterConfig -BlockedDomains $list
If you are adding individual addresses:
$list.add("bob@gmail.com")
$list.add("john@gmail.com")
Set-SenderFilterConfig -BlockedSenders $list
To delete one entry from the white list of senders, run this command:
Or: