Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Exchange13/16 enables spam and whitelist settings

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

1. Run Exchange's powershell with administrator privileges

2. Enable anti-spam function

X\:ExchangeInstallPath\Scripts\Install-AntiSpamAgents.ps1

Note: If you are prompted to restart the transmission service after entering it, it proves that the activation is successful.

3. Restart transmission service

run the following command

Restart-Service MSExchangeTransport

Note: For Exchange2016, restart the front-end and back-end transport services.

4. Specify SMTP server

run the following command

Set-TransportConfig -InternalSMTPServers @{Add="",""...}

Example: Set-TransportConfig -InternalSMTPServers @{Add="192.168.1.100"}

Note: You can specify multiple smtp servers. The function of this command is to add smtp servers. Because some companies use other smtp servers as proxies, third-party smtp servers as proxies. Then they cannot use anti-spam functions. Therefore, it is recommended to exchange the anti-spam functions that come with it. It is necessary to remove other third-party smtp servers.

5. Enable sender filtering

run the following command

Set-SenderFilterConfig -Enabled $true

Note: Verify that the following commands were successfully run

Get-SenderFilterConfig | Format-List Enabled

Returns true to indicate that the function is enabled

6. Disable messages with empty senders. This function is very important. It can isolate many spam messages and prevent them from being relayed.

enter the following command

Set-SenderFilterConfig -BlankSenderBlockingEnabled $true

=====================================

the second part

1. Set white list: single mailbox

Set-ContentFilterConfig -BypassedSenders test@qq.com

2. Set whitelist: whole domain

Get-ContentFilterConfig

Set-ContentFilterConfig -BypassedSenderDomains qq.com

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report