SPAM - content Filtering Exch 2007
Hello, I know from a prior question asked in the forum how to block list of senders from a notepad list:Set-SenderFilterConfig -BlockedSenders (Get-Content C:\BlockedList.txt)However, I would need to get the same type of shell command by blocking the words or phrases from theCustom Words tab (Messages containing these words or phrases will be blocked, unless the message contains a word or phrase from the list above:)Could you please help me to generate that command from a list of words, urls, phrases to be blocked (same as the above command)?MAYBE:Add-ContentFilterPhrase -Phrase (Get-Content C:\BlockedList.txt) -Influence BadWordThanks in advance for your input.Gregory
May 15th, 2009 12:04pm

Hello,It is suppose to be like this.Add-ContentFilterPhrase -Phrase:"This is a bad phrase" -Influence:BadWordSource:Add-ContentFilterPhrasehttp://technet.microsoft.com/en-us/library/bb124135.aspxArun Kumar | MCSE - 2K3 + Messaging | ITIL-F V3
Free Windows Admin Tool Kit Click here and download it now
May 18th, 2009 9:49am

Hello Arun,Thank you for your answer but I would need to block loads of "badword". I have entered them in a notepad document. I would like to block them all with one shell command. As the one used below for blocking senders:Set-SenderFilterConfig -BlockedSenders (Get-Content C:\BlockedList.txt)
May 18th, 2009 11:34am

Hello,I did not find any answer on Forum and web pages... Maybe what is possible for blocking a bunch a senders from a notepad document [Set-SenderFilterConfig -BlockedSenders (Get-Content C:\BlockedList.txt)] is not possible for contents..Therefore, I thought about insering the formula + "bad words" in an Excel sheet and then createa *.ps1 file. E.g: Add-ContentFilterPhrase -Phrase: "This is a bad phrase1" c-Influence:BadWord Add-ContentFilterPhrase -Phrase: "This is a bad phrase2" c-Influence:BadWord Add-ContentFilterPhrase -Phrase: "This is a bad phrase3" c-Influence:BadWord How do I create a ps1 file with same command but different bad words? I can generate the above table..Can you please help me to either blcok bunch of bad words a prior done for the senders? or creating a *.ps1 for bloking bunch of command line?
Free Windows Admin Tool Kit Click here and download it now
May 21st, 2009 11:19am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics