View FAQ

- Servers - Windows -


Installing Antispam in Exchange 2013 ...
(posted by Steven A on 2014-06-18 12:19:04)

Installing Antispam in Exchange 2013


Solution:

    From Powershell, run the commands below.  Microsoft removed all of the ability to manage antispam from Exchange 2013 it is all in powershell now only.

    ExchangeInstallPath\Scripts\Install-AntiSpamAgents.ps1

    Restart-Service MSExchangeTransport


    View list
    Get-IPBlockListProvider

    Add-IPBlockListProvider -Name bl.spamcop.net -LookupDomain bl.spamcop.net -AnyMatch $true -Enabled $true
    Add-IPBlockListProvider -Name zen.spamhaus.org -LookupDomain zen.spamhaus.org -AnyMatch $true -Enabled $true
    Add-IPBlockListProvider -Name cbl.abuseat.org -LookupDomain cbl.abuseat.org -AnyMatch $true -Enabled $true
    Add-IPBlockListProvider -Name b.barracudacentral.org -LookupDomain b.barracudacentral.org -AnyMatch $true -Enabled $true

    // if you want to set priority on one you can just add this to the end
    -Priority 1

    Restart-Service MSExchangeFrontEndTransport

    --- bypass domain from filtering
    First get a list of who is whitelisted

    Get-ContentFilterConfig | Format-List

    You have to add all the domain again as it replaces the old one.

    Set-ContentFilterConfig -BypassedSenderDomains *.guestdomain.com

    ---  To do multible domains

    $list = (Get-ContentFilterConfig).BypassedSenderDomains
    $list.add(“*.test.com”)
    set-contentfilterconfig -BypassedSenderDomains:$list


    Get-ContentFilterConfig | Format-List


Comments:


© 2024 TkFast, Inc.  |  main  |  public  |  FAQs