- Posts: 178
- Thank you received: 0
Spamfilter på Exchange Server
- JudgeFredd
- Topic Author
- Offline
- Administrator
Less
More
10 months 3 weeks ago #144
by JudgeFredd
Spamfilter på Exchange Server was created by JudgeFredd
Tilretning af spamfilter på mail server (exchange 2007, 2010, 2013).
Nedenstående kan bruges hvis man f.eks. vil Whiteliste et eller flere domæner.
Original side: woshub.com/manage-domains-and-email-address-whitelist-in-exchange-server-2013/
Eksempel på tilretning jeg selv har udført:
Start Exchange Management Shell.
Indtast: Set-ContentFilterConfig -BypassedSenderDomains balle-mail.dk,fjordvangefterskole.dk
Se evt. om det er trådt igennem ved at indtaste følgende: get-ContentFilterConfig
Uddrag hjemmeside hvor information kommer fra:
Manage Domains and Email Address Whitelist in Exchange Server 2013
Anti-spam protection in Exchange Server 2013, like in previous versions, gives an opportunity to create a whitelist of trusted email addresses and senders domains, mail from which regardless of their contents should always be received.
The mail from the whitelist senders (individuals or entire domains) is considered safe and the end users receive it even if it falls within the filtering rules. The whitelist of senders in Exchange Server 2013 can only be managed from Powershell command prompt (Exchange Management Shell).
Note. The whitelist of senders in Exchange 2007 and 2010 is configured in the same way.
The whitelist in Exchange 2013 is configured on Mailbox or Edge Transport server with the installed Exchange anti-spam protection.
The spam filter based on the content filtering checks if the address is in the white list. To edit the white list of addresses, the cmdlet ContentFilterConfig is used. The command has the following syntax:
Set-ContentFilterConfig -BypassedSenderDomains microsoft.com
After running this command, all messages from senders in Microsoft.com domain will be received by the Exchange users regardless of their contents or attachments. (Further scanning with the Content Filter won’t take place.)
You can view the current contents of domains whitelist using this command:
get-ContentFilterConfig
If you have to add several domains to the white list at once, the command will look like this:
Set-ContentFilterConfig -BypassedSenderDomains microsoft.com,woshub.com,gmail.com
To add a certain email address to the Content Filter white list, use BypassedSenders parameter:
Set-ContentFilterConfig -BypassedSendersThis email address is being protected from spambots. You need JavaScript enabled to view it.
The main problem of using Set-ContentFilterConfig cmdlet is that each time it is run, it completely rewrites (clears) the current white list of the safe senders. To avoid it, each time you have to add a new address/domain to this list, get the current white list of addresses, add a new one to it and upload it back to Exchange.
To add several domains to the Exchange white list (without clearing current list entries), you can use the following script:
$list = (Get-ContentFilterConfig).BypassedSenderDomains
$list.add("domain1.com")
$list.add("domain2.com")
$list.add("domain3.com")
Set-ContentFilterConfig -BypassedSenderDomains $list
If you are adding individual addresses:
$list = (Get-ContentFilterConfig).BypassedSenders
$list.add("This email address is being protected from spambots. You need JavaScript enabled to view it. ")
$list.add("This email address is being protected from spambots. You need JavaScript enabled to view it. ")
Set-ContentFilterConfig -BypassedSenders $list
To delete one entry from the white list of senders, run this command:
Set-ContentFilterConfig -BypassedSenderDomains @{Remove="gmail.com"}
Or:
Set-ContentFilterConfig -BypassedSenders @{Remove="This email address is being protected from spambots. You need JavaScript enabled to view it. "}
Nedenstående kan bruges hvis man f.eks. vil Whiteliste et eller flere domæner.
Original side: woshub.com/manage-domains-and-email-address-whitelist-in-exchange-server-2013/
Eksempel på tilretning jeg selv har udført:
Start Exchange Management Shell.
Indtast: Set-ContentFilterConfig -BypassedSenderDomains balle-mail.dk,fjordvangefterskole.dk
Se evt. om det er trådt igennem ved at indtaste følgende: get-ContentFilterConfig
Uddrag hjemmeside hvor information kommer fra:
Manage Domains and Email Address Whitelist in Exchange Server 2013
Anti-spam protection in Exchange Server 2013, like in previous versions, gives an opportunity to create a whitelist of trusted email addresses and senders domains, mail from which regardless of their contents should always be received.
The mail from the whitelist senders (individuals or entire domains) is considered safe and the end users receive it even if it falls within the filtering rules. The whitelist of senders in Exchange Server 2013 can only be managed from Powershell command prompt (Exchange Management Shell).
Note. The whitelist of senders in Exchange 2007 and 2010 is configured in the same way.
The whitelist in Exchange 2013 is configured on Mailbox or Edge Transport server with the installed Exchange anti-spam protection.
The spam filter based on the content filtering checks if the address is in the white list. To edit the white list of addresses, the cmdlet ContentFilterConfig is used. The command has the following syntax:
Set-ContentFilterConfig -BypassedSenderDomains microsoft.com
After running this command, all messages from senders in Microsoft.com domain will be received by the Exchange users regardless of their contents or attachments. (Further scanning with the Content Filter won’t take place.)
You can view the current contents of domains whitelist using this command:
get-ContentFilterConfig
If you have to add several domains to the white list at once, the command will look like this:
Set-ContentFilterConfig -BypassedSenderDomains microsoft.com,woshub.com,gmail.com
To add a certain email address to the Content Filter white list, use BypassedSenders parameter:
Set-ContentFilterConfig -BypassedSenders
The main problem of using Set-ContentFilterConfig cmdlet is that each time it is run, it completely rewrites (clears) the current white list of the safe senders. To avoid it, each time you have to add a new address/domain to this list, get the current white list of addresses, add a new one to it and upload it back to Exchange.
To add several domains to the Exchange white list (without clearing current list entries), you can use the following script:
$list = (Get-ContentFilterConfig).BypassedSenderDomains
$list.add("domain1.com")
$list.add("domain2.com")
$list.add("domain3.com")
Set-ContentFilterConfig -BypassedSenderDomains $list
If you are adding individual addresses:
$list = (Get-ContentFilterConfig).BypassedSenders
$list.add("
$list.add("
Set-ContentFilterConfig -BypassedSenders $list
To delete one entry from the white list of senders, run this command:
Set-ContentFilterConfig -BypassedSenderDomains @{Remove="gmail.com"}
Or:
Set-ContentFilterConfig -BypassedSenders @{Remove="
Please Log in to join the conversation.
Time to create page: 0.538 seconds