Export and Import Content Filter Words or Phrases
Posted by Bharat Suneja at 9:26 AM

Figure 1: Adding a custom word or phrase to Content Filtering configuration
To add a good or bad phrase to the custom words list using the EMC:
- Go to Organization Configuration | Hub Transport | Anti-spam tab
- Select Content Filtering and click Properties in the action pane
- In Content Filtering Properties, select the Custom Words tab
- Add a word or phrase in the following fields as required:
- Messages containing these words or phrases will not be blocked:To add a good word or phrase, type it in this field
- Messages containing these words or phrases will be blocked, unless the message contains a word or phrase from the list above: To add a bad word or phrase, type it in this field.
- Messages containing these words or phrases will not be blocked:To add a good word or phrase, type it in this field
Add-ContentFilterPhrase "bad word" -Influence Badword
You can get a list of words or phrases added to Exchange by using the Get-ContentFilterPhrase cmdlet:Get-ContentFilterPhrase | Select phrase,influence
Exporting and Importing Custom Words and Phrases
On the Edge Transport server, configuration information is stored in the local instance of Active Directory Application Mode (ADAM) on Windows Server 2003. In Windows Server 2008, ADAM is renamed to Active Directory Lightweight Directory Service (ADLDS). Unlike Exchange Server configuration information stored in Active Directory, which is replicated to all domain controllers in the AD forest, Edge Transport configuration information stored in ADAM/ADLDS is not replicated to other Edge Transport servers.
You can configure an Edge Transport server using a cloned configuration. See Using Edge Transport Server Cloned Configuration.
You can also export only the content filter phrases from one Edge Transport and import it to another Edge Transport server. To export the phrases, use the Get-ContentFilterPhrase cmdlet:
Get-ContentFilterPhrase | Select Phrase,Influence | Export-CSV "C:\MyFolder\CFPhrases.txt"
To import the phrases on another Edge Transport server, use the Add-ContentFilterPhrase cmdlet:Import-Csv "C:\MyFolder\CFPhrases.txt" | foreach {Add-ContentFilterPhrase -Phrase $_.phrase -Influence $_.influence}
Labels: AD/LDAP, Administration, Anti-Spam, Exchange 2010, Exchange Server 2007, Exchange Shell, HowTo, IMF, SMTP

Exchangepedia Blog is read by visitors from all 50 US States and 150 countries world-wide

One of the more annoying types of spam is the one that seems to be coming from your own domain; or worse— from your own email address! Of course, users from your own domain don't generally spam each other— unless you're using one of the free web-based email services. And most of us don't spam ourselves.

To renew the certificate for server e12postcard.e12labs.com, a server with CAS and HT roles installed:
The old certificate is enabled for IIS, POP, IMAP and SMTP. The new certificate generated using the above command is enabled only for POP, IMAP and SMTP - IIS is missing.
Test services are working with the new certificate. If it works as expected, the old certificate can be removed:










However, not only is resolving anonymous senders a bad idea, it's also a security risk. SMTP, the protocol, allows senders to easily spoof headers. Anonymous senders can send mail to your users, using your CEO's email address for instance, and the message will actually appear as if it was sent by an internal/authenticated sender. A spam message, or one with malicious code - if it gets by anti-spam & anti-virus scanners - buys instant credibility by getting the sender's address resolved to a valid internal sender.

