The Microsoft Exchange Server Intelligent Message Filter (IMF) evaluates incoming messages for recognizable patterns. Then, the IMF assigns a spam confidence level (SCL) rating to the message. This rating is based on the probability that the message is unsolicited commercial e-mail ("spam"). This SCL rating is used to determine how the Exchange IMF handles messages.
Sometimes you may have to know whether the IMF works by checking the SCL rating of incoming messages. This article describes how to verify IMF functions by checking messages' SCL rating values in Microsoft Office Outlook 2003 and in Microsoft Office Outlook 2007. This article discusses the following topics:
How to install the SCL Extension Form in Outlook 2003 and in Microsoft Office Outlook 2007
How to add the SCL rating field into the column header of Outlook folders
Start Outlook 2003 by using a profile that is configured for the mailbox on the server that is running Microsoft Exchange Server 2003 together with IMF.
On the Tools menu, click Options.
On the Other tab, click Advanced Options.
In the Advanced Options dialog box, click Custom Forms.
In the Options dialog box, click Manage Forms.
In the Forms Manager dialog box, click Install.
Locate the Scl.cfg file. Then, click OK to confirm that the file was installed. If you successfully installed it, the SCL Extension Form item is listed in the Personal Forms library.
How to add the SCL rating field into the column header of Outlook folders
After you install the SCL extension Form, you still will not see the messages' SCL rating values right away. You have to add the SCL rating field to the column header. When you do this, you can automatically check the messages' SCL rating values that are listed in the SCL column in Outlook 2003.
To add the SCL rating field, follow these steps:
In Outlook 2003, click Inbox.
On the View menu, click Arrange By, and then click Custom.
In the Customize View: Messages dialog box, click Fields.
In the Show Fields dialog box, click the Select available fields from list, and then click Forms.
In the Select Enterprise forms for this folder dialog box, click Personal Forms on the list.
Locate SCL Extension From in the left pane, and then click Add to add it to the right pane. Click Close.
In the Show Fields dialog box, locate the SCL in the left pane, and then click Add to add it to the right pane.
Click OK two times.
In the Inbox, you will see a new column that is named SCL in the column header. All the messages in the Inbox show their SCL rating values under the SCL column.
Note You can also use this procedure in folders that are separate from the Inbox to check the SCL rating values for the messages in these folders.
Alternative method to view the SCL Rating in Microsoft Office Outlook 2007
Start Outlook 2007.
Click Tools, point to Macro, and then click Security.
Select the Warnings for all macros option, and then click OK.
Restart Outlook 2007.
Click Tools, point to Macro, and then click Visual Basic Editor.
In the Visual Basic Editor, click Module on the Insert menu.
Enter the following code.
Sub getSCL()
Dim inbox As Outlook.Folder
Set inbox = Outlook.ActiveExplorer.CurrentFolder
Dim items As Outlook.items
Dim item As Object
Dim mail As Outlook.MailItem
Dim sclProp As Outlook.UserProperty
Dim strSCL As String
Set items = inbox.items
On Error Resume Next
'should it encounter an error, it will proceed to the next item.
For Each item In items
If item.Class = olMail Then
Set mail = item
Set sclProp = mail.UserProperties.Add("SCL Rating", olText, True)
'creates a user property called “SCL Rating” and adds the property to the folder.
strSCL = mail.PropertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x40760003")
'schema value for PR_CONTENT_FILTER_SCL
sclProp.Value = strSCL
mail.Save
'saves the prop to the mail item
End If
Next
Set sclProp = Nothing
End Sub
Name the module Get_SCL.
On the File menu, click Save Project1 in order to save the project as VbaProject.OTM.
On the File menu, click Close and Return to Microsoft Office Outlook.
In Outlook 2007, right-click the toolbar, and then click Customize.
On the Commands tab, click Macros in the Categories list.
Note You will see the module that you created in step 6 in the Commands list.
Drag the module to the toolbar.
Right-click the new command on the toolbar, and then name the command Get_SCL.
Click the mail folder in which you want to check the SCL rating of the e-mail messages, and then click the Get_SCL command.
Note You can see the SCL rating for each e-mail message in the mail folder's table view.
Note To see the SCL rating for each e-mail message, add a field to the mail folder's table view to display the SCL rating. To do this, follow these steps:
On the View menu, point to Current View, and then click Customize Current View.
In the Customize View: Messages dialog box, click Fields.
In the Select available fields from list, click User-defined fields in Inbox, click SCL Rating in the Categories list, click Add, and then click OK two times.