<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Exchange-Genie &#187; Install-AntispamAgents.ps1</title>
	<atom:link href="http://www.exchange-genie.com/category/install-antispamagentsps1/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.exchange-genie.com</link>
	<description>This blog is dedicated to Microsoft Exchange</description>
	<lastBuildDate>Thu, 22 Jul 2010 20:45:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Exchange 2007 Anti Spam</title>
		<link>http://www.exchange-genie.com/2007/12/exchange-2007-anti-spam/</link>
		<comments>http://www.exchange-genie.com/2007/12/exchange-2007-anti-spam/#comments</comments>
		<pubDate>Fri, 28 Dec 2007 20:48:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Install-AntispamAgents.ps1]]></category>
		<category><![CDATA[Anti Spam]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[exchange 2007]]></category>
		<category><![CDATA[Exchange 2007 SP1]]></category>
		<category><![CDATA[spam]]></category>

		<guid isPermaLink="false">http://www.exchange-genie.com/?p=33</guid>
		<description><![CDATA[Exchange 2007 has continued to improve upon its Anti Spam features with each version of the product. In this article I want to focus on installing and configuring the antispam agent on a hub transport server. By default the agents are not installed on the hub role since this server is intended to be a [...]]]></description>
			<content:encoded><![CDATA[<p>Exchange 2007 has continued to improve upon its Anti Spam features with each version of the product. In this article I want to focus on installing and configuring the antispam agent on a hub transport server.</p>
<div>By default the agents are not installed on the hub role since this server is intended to be a down stream server behind an Exchange Edge Server. Throughout the article you will see that some features can be manged via EMC and a number of features must be managed via EMS.</div>
<p><strong>Installing Anti Spam Agents</strong><br />
By default the Anti Spam agents are not installed on the hub servers ***these must be installed on each hub that you want to utilze the agents ****</p>
<p>Open EMC<br />
Organizational Configuration<br />
Select the Hub Transport Server<br />
<a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R3lZmwqgtjI/AAAAAAAAAh8/EDWUG9V3-jk/s1600-h/defaulthub.jpg"><img id="BLOGGER_PHOTO_ID_5150246171307980338" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R3lZmwqgtjI/AAAAAAAAAh8/EDWUG9V3-jk/s320/defaulthub.jpg" border="0" alt="" /></a><br />
As you can see there is no reference to the anti spam agents</p>
<p>Lets go ahead and install the Agents&#8221;</p>
<p>1. Open EMS<br />
2. you can change to the directory or input the path to the powershell script (I chose to change to the directory) Change to <span style="color: #33cc00;">C:\progroam files\Microsoft\Exchange Server\Scripts </span><span style="color: #000000;">(assuming install directory is default)</span><br />
3. <span style="color: #33cc00;">./install-AntiSpamAgents.ps1 </span><br />
<a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R3lZ_wqgtkI/AAAAAAAAAiE/hCCN0_Pc8Fo/s1600-h/install.jpg"><img id="BLOGGER_PHOTO_ID_5150246600804709954" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R3lZ_wqgtkI/AAAAAAAAAiE/hCCN0_Pc8Fo/s320/install.jpg" border="0" alt="" /></a></p>
<p>After the agents are installed the Transport Service needs to be restarted</p>
<p>Lets go back to EMC&#8211;Organizational Configuration &#8212; Hub Transport<br />
<a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R3lanQqgtlI/AAAAAAAAAiM/0jHbGrCIMV8/s1600-h/new-antispamtab.jpg"><img id="BLOGGER_PHOTO_ID_5150247279409542738" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R3lanQqgtlI/AAAAAAAAAiM/0jHbGrCIMV8/s320/new-antispamtab.jpg" border="0" alt="" /></a><br />
We now have an Anti Spam Tab with a number of items to configure</p>
<p><strong>CONFIGURATION:</strong><br />
Now that we have installed our Anti Spam Agents lets take a look at what we can configure. Some configuration can only be done from EMS and some can be done from both EMS and EMC.<br />
<span style="color: #33cc00;">Content Filtering</span><br />
<span style="color: #33cc00;">IP Allow List</span><br />
<span style="color: #33cc00;">IP Allow List Providers</span><br />
<span style="color: #33cc00;">IP Block List</span><br />
<span style="color: #33cc00;">IP Block List Providers</span><br />
<span style="color: #33cc00;">Recpient Filtering</span><br />
<span style="color: #33cc00;">Sender Filtering</span><br />
<span style="color: #33cc00;">Sender ID</span><br />
<span style="color: #33cc00;">Sender Reputation</span><br />
<strong></strong><br />
<strong>Content Filtering</strong>:<br />
When the Content Filter agent is enabled on a computer, the Content Filter agent filters all messages that come through all Receive connectors on that computer. Only messages that come from external sources are filtered. External sources are defined as non-authenticated sources that are considered anonymous Internet sources.<br />
<a href="http://technet.microsoft.com/en-us/library/bb124739.aspx">http://technet.microsoft.com/en-us/library/bb124739.aspx</a></p>
<p>Content filter provides us with 3 tabs that we can configure<br />
<span style="color: #33cc00;">1. Custom Words</span><br />
<span style="color: #33cc00;">2. Exceptions</span><br />
<span style="color: #33cc00;">3. Action</span><br />
<a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R3lc1AqgtnI/AAAAAAAAAic/nICxbSOcZ1M/s1600-h/CF-1.jpg"><img id="BLOGGER_PHOTO_ID_5150249714655999602" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R3lc1AqgtnI/AAAAAAAAAic/nICxbSOcZ1M/s320/CF-1.jpg" border="0" alt="" /></a></p>
<p>Lets first set a custom message to the users when a message is filtered, to do this you use the the <span style="color: #33cc00;">set-contentfilterconfig</span> command<br />
<span style="color: #33cc00;">Set-Contentfilterconfig -rejectionresponse &#8220;Your message was rejected due to content it contained&#8221;</span><br />
<a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R3rgxAqgtpI/AAAAAAAAAis/35wLmEZqOrc/s1600-h/setrejection.jpg"><img id="BLOGGER_PHOTO_ID_5150676256448099986" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R3rgxAqgtpI/AAAAAAAAAis/35wLmEZqOrc/s320/setrejection.jpg" border="0" alt="" /></a></p>
<p><strong>Custom Words</strong><br />
This options allows us to configure 2 options <span style="color: #33cc00;">1: Messages with certain words will not be blocked</span> and <span style="color: #33cc00;">2. Messages containing works or phrases to block.</span><br />
<a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R3lcgwqgtmI/AAAAAAAAAiU/LKNGz7jbkn0/s1600-h/cf-2.jpg"><img id="BLOGGER_PHOTO_ID_5150249366763648610" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R3lcgwqgtmI/AAAAAAAAAiU/LKNGz7jbkn0/s320/cf-2.jpg" border="0" alt="" /></a></p>
<p>Lets perform some Tests:<br />
1. Add a word to by pass our content filter<br />
2. Add a word/phrase to block the message</p>
<p>I have created 2 new rules:<br />
1. <span style="color: #33cc00;">b</span><span style="color: #33cc00;">ypass</span> will exempt a message from being filtered<br />
2. <span style="color: #33cc00;">baseball</span> or &#8220;<span style="color: #33cc00;">my dog has fleas</span>&#8221; will be blocked<br />
<a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/R3lk4gqgtoI/AAAAAAAAAik/GpmvIbO3MEs/s1600-h/cf-words.jpg"><img id="BLOGGER_PHOTO_ID_5150258570878563970" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/R3lk4gqgtoI/AAAAAAAAAik/GpmvIbO3MEs/s320/cf-words.jpg" border="0" alt="" /></a></p>
<p>Since Content filter is only done for remote domains I setup a 2nd Exchange Org remote.local for the my tests.</p>
<p><strong>Test:</strong><br />
Send Message From <a href="mailto:External.User@remote.local">External.User@remote.local</a> to <a href="mailto:Brian.Tirch@Vm.local">Brian.Tirch@Vm.local</a> with <span style="color: #33cc00;">Baseball</span> to catch the message</p>
<p><a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R3rh1wqgtrI/AAAAAAAAAi8/QtTt2ZX1fDU/s1600-h/reject1.jpg"><img id="BLOGGER_PHOTO_ID_5150677437564106418" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R3rh1wqgtrI/AAAAAAAAAi8/QtTt2ZX1fDU/s320/reject1.jpg" border="0" alt="" /></a><br />
<strong>Result:</strong><br />
The Sender <a href="mailto:External.User@remote.local">External.User@remote.local</a> receives Error message stating message is restricted, we can see our custom error message towards the bottom of the message.<br />
<a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/R3rhLQqgtqI/AAAAAAAAAi0/X5PlmaukBxg/s1600-h/rejection.jpg"><img id="BLOGGER_PHOTO_ID_5150676707419666082" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/R3rhLQqgtqI/AAAAAAAAAi0/X5PlmaukBxg/s320/rejection.jpg" border="0" alt="" /></a></p>
<p><strong>Test2:</strong> Send Messge From <a href="mailto:External.User@remote.local">External.User@remote.local</a> to <a href="mailto:Brian.Tirch@vm.local">Brian.Tirch@vm.local</a> with <span style="color: #33cc00;">bypass <span style="color: #000000;">to bypass the content filter</span></span><br />
<a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R3riDAqgtsI/AAAAAAAAAjE/u_5ByNwWFn8/s1600-h/bypass.jpg"><img id="BLOGGER_PHOTO_ID_5150677665197373122" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R3riDAqgtsI/AAAAAAAAAjE/u_5ByNwWFn8/s320/bypass.jpg" border="0" alt="" /></a><br />
<span style="color: #33cc00;"><span style="color: #000000;"><strong>Result:</strong> Message was receieved by Brian </span></span></p>
<p><strong>Exceptions</strong><br />
We have the ability to let users or groups by pass the content filter, this would be good for help desk mailboxes etc&#8230;&#8230;</p>
<p>I have added <a href="mailto:Brian.Tirch@vm.local">Brian.Tirch@vm.local</a> to the Exepctions<br />
<a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/R3ridQqgttI/AAAAAAAAAjM/cUZDiWK1kEg/s1600-h/excpetion-b.jpg"><img id="BLOGGER_PHOTO_ID_5150678116168939218" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/R3ridQqgttI/AAAAAAAAAjM/cUZDiWK1kEg/s320/excpetion-b.jpg" border="0" alt="" /></a></p>
<p><strong>Test:</strong> Send message from <a href="mailto:External.User@remote.local">External.User@remote.local</a> with <span style="color: #33cc00;">baseball</span> to <a href="mailto:Brian.tirch@vm.local">Brian.tirch@vm.local</a><br />
<a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R3riogqgtuI/AAAAAAAAAjU/0F5dVa4SCGk/s1600-h/exception-2.jpg"><img id="BLOGGER_PHOTO_ID_5150678309442467554" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R3riogqgtuI/AAAAAAAAAjU/0F5dVa4SCGk/s320/exception-2.jpg" border="0" alt="" /></a></p>
<p><strong>Result:</strong> The message was delivered and bypassed our content filter blocking the word <span style="color: #33cc00;">b</span><span style="color: #33cc00;">aseball</span></p>
<p><strong>Action:</strong><br />
The Action tab alllows use to set thresholds to <span style="color: #33cc00;">1. Reject 2. Delete or 3. quarantine messag</span>es</p>
<p>For this test I have set all message with SCL rating of 2 to be quarantined and <a href="mailto:Brian.Tirch@vm.local">Brian.Tirch@vm.local</a> receive a copy.<br />
<a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R3ri-gqgtvI/AAAAAAAAAjc/_BiMS9UVhYU/s1600-h/action1.jpg"><img id="BLOGGER_PHOTO_ID_5150678687399589618" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R3ri-gqgtvI/AAAAAAAAAjc/_BiMS9UVhYU/s320/action1.jpg" border="0" alt="" /></a></p>
<p><strong>Test:</strong><br />
1. Removed Brian from the Exception<br />
2. Sent message from <a href="mailto:External.User@remote.local">External.User@remote.local</a> with spam like content<br />
<a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R3rjNgqgtwI/AAAAAAAAAjk/mTC5Eg6Pq04/s1600-h/junk1.jpg"><img id="BLOGGER_PHOTO_ID_5150678945097627394" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R3rjNgqgtwI/AAAAAAAAAjk/mTC5Eg6Pq04/s320/junk1.jpg" border="0" alt="" /></a><br />
<strong>Result:<br />
</strong>Message was captured by the content filter and a Quarantined version was sent to our spam mailbox.<br />
I then released the message from our spam mailbox to the recipient which was delivered.</p>
<p><span style="color: #cc0000;">** To release a messsage from the spam mailbox you open the message and click send again **</span><br />
<a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R3rjkAqgtxI/AAAAAAAAAjs/nu7Y6M4nazg/s1600-h/send-again.jpg"><img id="BLOGGER_PHOTO_ID_5150679331644684050" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R3rjkAqgtxI/AAAAAAAAAjs/nu7Y6M4nazg/s320/send-again.jpg" border="0" alt="" /></a></p>
<p><strong>IP Allow List</strong><br />
IP Allow lists are not configurable at the Org level, this is a server level setting and we must look under server configuration -&gt; Hub transport to be able to configure this via EMC.</p>
<p>Lets use the Get-IPAllowListConfig to see what our default configuration is.<br />
<a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R3rl5AqgtyI/AAAAAAAAAj0/tLkIhQ4COiY/s1600-h/get-ipallowlistconfig.jpg"><img id="BLOGGER_PHOTO_ID_5150681891445192482" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R3rl5AqgtyI/AAAAAAAAAj0/tLkIhQ4COiY/s320/get-ipallowlistconfig.jpg" border="0" alt="" /></a></p>
<p>We can see that by default only filtering of external domains is enabled, however this feature can be configured for internal and(or) exteranl filtering.</p>
<p>To add a single IP or range of IP&#8217;s we would use <span style="color: #33cc00;">Add-IPAllowListEntry </span>command<br />
<span style="color: #33cc00;">Add-IPAllowListEntry -IPAddress 1.1.1.1</span></p>
<p>Any address or range added to your filter be bypass the content filter that you have enabled. This would be good for any remote system or new groups that are trusted or any smtp relays that are trusted.</p>
<p>After we have added the IP/Range we want to allow we can use the <span style="color: #33cc00;">Get-IPAllowListEntry</span> to view our configured systems.</p>
<p><a href="http://technet.microsoft.com/en-us/library/bb123554.aspx">http://technet.microsoft.com/en-us/library/bb123554.aspx</a><br />
<a href="http://technet.microsoft.com/en-us/library/bb124385.aspx">http://technet.microsoft.com/en-us/library/bb124385.aspx</a></p>
<p><strong>IP Allow List Providers </strong><br />
IP Allow list provider aka Save List Services can be manged via EMS or EMC</p>
<p>Lets look at the properties of the IP Allow List Providers<br />
<a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R3w59QqgtzI/AAAAAAAAAj8/YegLB7iVfO0/s1600-h/IP_allow_providers.jpg"><img id="BLOGGER_PHOTO_ID_5151055798413080370" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R3w59QqgtzI/AAAAAAAAAj8/YegLB7iVfO0/s320/IP_allow_providers.jpg" border="0" alt="" /></a></p>
<p>Click Add<br />
<a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/R3w6Zwqgt0I/AAAAAAAAAkE/J82PPAxipFQ/s1600-h/IP_allow_providers.-AD.jpg"><img id="BLOGGER_PHOTO_ID_5151056288039352130" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/R3w6Zwqgt0I/AAAAAAAAAkE/J82PPAxipFQ/s320/IP_allow_providers.-AD.jpg" border="0" alt="" /></a></p>
<p><strong>Provider name</strong> :Type the name of the IP Block List provider service. This name is for your own use<br />
<strong>Lookup domain</strong> : type the domain name that the Connection Filter agent queries for updated IP Block list information.</p>
<p><strong>Match to any return code</strong> When you select this option, the Connection Filter agent treats any IP Address status code that is returned by the IP Block List provider service as a match.<br />
Match to the following mask When you select this option, the Connection Filter agent acts only on messages that match the return status code of 127.0.0.x, where the integer x is any one of the following values:<br />
<strong>1</strong> The IP address is on an IP Block list.<br />
<strong>2 </strong>The Simple Mail Transfer Protocol (SMTP) server is configured to act as an open relay.<br />
<strong>4</strong> The IP address supports a dial-up IP address.<br />
<strong>Match to any of the following responses</strong> When you select this option, the Connection Filter agent acts only on messages that match the same IP address status code that is returned by the IP Block List provider service.</p>
<p><strong>IP Block List </strong><br />
IP Block Lists are the opposite of our allow lists, there are IP that we want to block from sending messages to our Exchange environment. IP block lists are not configurable at the Org level, this is a server level setting and we must look under server configuration -&gt; Hub transport to be able to configure this via EMC.</p>
<p>We can use the <span style="color: #33cc00;">Get-IPBlockListConfig</span> to view our current</p>
<p>To modify our configuration we need to utlize the <span style="color: #33cc00;">Set-IPBlockListConfig</span><br />
<a href="http://technet.microsoft.com/en-us/library/bb123578.aspx">http://technet.microsoft.com/en-us/library/bb123578.aspx</a></p>
<p>Lets create a custom response message for a blocked server:<br />
<span style="color: #33cc00;">[PS] C:\&gt;Set-IPBlockListConfig -StaticEntryRejectionResponse &#8220;Your machine has been identified as malicious and all messages will be rejected from your server&#8221;.</span></p>
<p><span style="color: #000000;">Now lets add the IP address of our remote mail server to our block list:</span><br />
<span style="color: #33cc00;">Add-IpblockListEntry -IpAddress 192.168.1.120</span></p>
<p><span style="color: #000000;"><strong>Test:</strong></span><br />
Send a message from <a href="mailto:External.User@remote.local">External.User@remote.local</a> to <a href="mailto:Brian.tirch@vm.local">Brian.tirch@vm.local</a><br />
<a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R3w-TQqgt2I/AAAAAAAAAkU/7U0gtAjhRFQ/s1600-h/sendafteripblcok.jpg"><img id="BLOGGER_PHOTO_ID_5151060574416713570" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R3w-TQqgt2I/AAAAAAAAAkU/7U0gtAjhRFQ/s320/sendafteripblcok.jpg" border="0" alt="" /></a></p>
<p><strong>Result:</strong><br />
The Sender received an NDR with our custom message stating the server has been blocked<br />
<a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R3w-Dgqgt1I/AAAAAAAAAkM/wksMVXOIraw/s1600-h/errorafterblock.jpg"><img id="BLOGGER_PHOTO_ID_5151060303833773906" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R3w-Dgqgt1I/AAAAAAAAAkM/wksMVXOIraw/s320/errorafterblock.jpg" border="0" alt="" /></a></p>
<p>We can see that our message was reject by our content filter and our custom message was displayed.</p>
<p><strong>IP Block List Providers </strong>IP Block List Providers like Spam Haus <a href="http://www.spamhaus.org/index.lasso">http://www.spamhaus.org/index.lasso</a> have been around for a number of years and have compiled a list of known spamers and can greatly assist Exchange Administrators by using thier compiled list instead of manually blocking IP&#8217;s.</p>
<p>The agent can be managed from both EMS and EMC<br />
On the properties of the agent we see the following</p>
<div><a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/R32Ypgqgt6I/AAAAAAAAAk0/Vmm8SA-txqw/s1600-h/IPblprovidrers.jpg"><img id="BLOGGER_PHOTO_ID_5151441387692013474" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/R32Ypgqgt6I/AAAAAAAAAk0/Vmm8SA-txqw/s320/IPblprovidrers.jpg" border="0" alt="" /></a></div>
<p>Let configure our server to use Spam haus as an Block List ProviderSelect the Providers Tab and Click Add<br />
<a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/R32Xwgqgt4I/AAAAAAAAAkk/7YytoQj__18/s1600-h/addipblp.jpg"><img id="BLOGGER_PHOTO_ID_5151440408439469954" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/R32Xwgqgt4I/AAAAAAAAAkk/7YytoQj__18/s320/addipblp.jpg" border="0" alt="" /></a></p>
<p>you can test to see if the SBL blocking is working by sending an email (any email) to: nelson-sbl-test@crynwr.com (you must send the email from the mail server which you wish to test). The <a href="http://www.crynwr.com/spam/">Crynwr</a> system robot will answer you to tell you if your server is correctly blocking SBL-listed addresses or not.We can also configure Exceptions so that email sent <strong>TO</strong> a user are not blocked even if they are found to be from someone on the Block List.</p>
<div><a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R32ZLwqgt7I/AAAAAAAAAk8/SvK34x5W-ws/s1600-h/IPBLPexceptions.jpg"><img id="BLOGGER_PHOTO_ID_5151441976102533042" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R32ZLwqgt7I/AAAAAAAAAk8/SvK34x5W-ws/s320/IPBLPexceptions.jpg" border="0" alt="" /></a></div>
<p><strong>Recipient Filtering</strong><br />
Recipient Filtering allow the system to reject messages of users that are not in your address book or you can block recipients that should not be receiving mail from the outside.</p>
<p><a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R36kRAqgt8I/AAAAAAAAAlE/2VIxFsaYE44/s1600-h/recipientfiltering.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5151735635901462466" style="cursor: pointer;" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R36kRAqgt8I/AAAAAAAAAlE/2VIxFsaYE44/s320/recipientfiltering.jpg" border="0" alt="" /></a></p>
<p>Lets look at our settings<br />
1. check the box to block messages to recipients not listed in the GAL<br />
2. We can block messages to specific users or groups<br />
<a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/R36k-Qqgt9I/AAAAAAAAAlM/YnCVdIGtWOM/s1600-h/blocksettings.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5151736413290543058" style="cursor: pointer;" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/R36k-Qqgt9I/AAAAAAAAAlM/YnCVdIGtWOM/s320/blocksettings.jpg" border="0" alt="" /></a><strong>Test1:</strong><br />
I am going to add <a href="mailto:Brian.Tirch@vm.local">Brian.Tirch@vm.local</a> as a blocked users, then send a message from External.User@remote.local</p>
<p><a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R36lIgqgt-I/AAAAAAAAAlU/GLvmq-jGppg/s1600-h/blockedrecipient.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5151736589384202210" style="cursor: pointer;" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R36lIgqgt-I/AAAAAAAAAlU/GLvmq-jGppg/s320/blockedrecipient.jpg" border="0" alt="" /></a></p>
<p><span style="font-weight: bold;">Result:</span></p>
<p><strong></strong>Sender receives a 550 5.1.1 User unknown ##<br />
<a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R36lpAqgt_I/AAAAAAAAAlc/Dwm9aWacDJ0/s1600-h/recipientfiltering._test1_rejection.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5151737147729950706" style="cursor: pointer;" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R36lpAqgt_I/AAAAAAAAAlc/Dwm9aWacDJ0/s320/recipientfiltering._test1_rejection.jpg" border="0" alt="" /></a><strong>Test2:</strong><br />
With the block messages to recipients not listed in the GAL <span style="color: #33cc00;">checked</span>, I sent a message from <a href="mailto:External.User@remote.local">External.User@remote.local</a> to <a href="mailto:Madeup@vm.local">Madeup@vm.local</a></p>
<p><strong>Result:<br />
</strong>Sender recieves a 550 5.1.1 User unknown ##<br />
<strong><br />
Test3:<br />
</strong>With the block messages to recipients not listed in the GAL NOTchecked sent a message from <a href="mailto:External.User@remote.local">External.User@remote.local</a> to <a href="mailto:Madeup@vm.local">Madeup@vm.local</a> </p>
<p><span style="color: #000000;"><strong>Result<br />
</strong></span>Sender recieves a #&lt; #5.1.1 smtp;550 5.1.1 RESOLVER.ADR.RecipNotFound; not found&gt; #SMTP# error</p>
<p>For more information on Recipient Filtering review the following<br />
<a href="http://technet.microsoft.com/en-us/library/aa998898.aspx">http://technet.microsoft.com/en-us/library/aa998898.aspx</a></p>
<p><strong><span>Sender Filtering</span></strong><br />
<strong></strong>Sender filtering compares the sender on the MAIL FROM: SMTP command to an administrator-defined list of senders or sender domains that are prohibited from sending messages to the organization to determine what action, if any, to take on an inbound message.</p>
<p>Sender Filtering can be managed via EMC or EMS, lets look at the settings we have available<br />
<a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R36m_gqguAI/AAAAAAAAAlk/JM0qVxA64xc/s1600-h/senderfiltering.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5151738633788635138" style="cursor: pointer;" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R36m_gqguAI/AAAAAAAAAlk/JM0qVxA64xc/s320/senderfiltering.jpg" border="0" alt="" /></a></p>
<p>You can see we have 3 tabs<br />
1. General &#8211; provides a description of what sender filtering does<br />
2. Blocked Senders &#8211; allow us to block users,domains, or messages with blank sender fields<br />
3. Action &#8211; allows the message to be rejected or stamped with blocked sender</p>
<p>Lets configure some settings<br />
1.Add External.User@remote.local as a blocked user and set the action to reject<br />
<a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/R36riQqguBI/AAAAAAAAAls/0RF5-XuQJs4/s1600-h/add-sender.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5151743628835600402" style="cursor: pointer;" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/R36riQqguBI/AAAAAAAAAls/0RF5-XuQJs4/s320/add-sender.jpg" border="0" alt="" /></a></p>
<p><span style="font-weight: bold;">Test:</span><br />
Send a message from External.User@remote.local to Brian.Tirch@vm.local<br />
<a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R36rsgqguCI/AAAAAAAAAl0/IEd8IkNaBHg/s1600-h/test-email.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5151743804929259554" style="cursor: pointer;" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R36rsgqguCI/AAAAAAAAAl0/IEd8IkNaBHg/s320/test-email.jpg" border="0" alt="" /></a></p>
<p><span style="font-weight: bold;">Result:</span><br />
The sender receives and NDR #554 5.1.0 Sender denied ##</p>
<p>Now we have remove the individual user from the block list and added the entire domain, for this test we will still leave the action to block.<br />
<a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R36r1AqguDI/AAAAAAAAAl8/Ac5IGZhiDiY/s1600-h/block-domain.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5151743950958147634" style="cursor: pointer;" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R36r1AqguDI/AAAAAAAAAl8/Ac5IGZhiDiY/s320/block-domain.jpg" border="0" alt="" /></a></p>
<p><span style="font-weight: bold;">Test2:</span><br />
send a message from External.User@remote.local to Brian.Tirch@vm.local</p>
<p><span style="font-weight: bold;">Result:</span><br />
The sender receives and NDR #554 5.1.0 Sender denied ##</p>
<p>I have left the domain block in place however this time changed the actions to <span style="color: #33cc00;">stamp<br />
</span><a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/R36sQQqguEI/AAAAAAAAAmE/jQni54m6OgU/s1600-h/stamp.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5151744419109582914" style="cursor: pointer;" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/R36sQQqguEI/AAAAAAAAAmE/jQni54m6OgU/s320/stamp.jpg" border="0" alt="" /></a></p>
<p><span style="font-weight: bold;">Test3</span><br />
send a message from External.User@remote.local to Brian.Tirch@vm.local<br />
<a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R36sXgqguFI/AAAAAAAAAmM/RkwDp422bQ0/s1600-h/message3.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5151744543663634514" style="cursor: pointer;" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R36sXgqguFI/AAAAAAAAAmM/RkwDp422bQ0/s320/message3.jpg" border="0" alt="" /></a></p>
<p><span style="font-weight: bold;">Result:</span><br />
Message was received by Brian.Tirch@vm.local &#8230;.</p>
<p><strong>&#8220;Stamp message with blocked sender and continue processing</strong> If you select this option, messages from a sender or domain that is on the Blocked Senders list are stamped with the blocked status and continue to process. This message metadata is evaluated by the Content Filter agent when a spam confidence level (SCL) is calculated. Additionally, sender reputation uses the message metadata when it calculates a sender reputation level (SRL) for the sender of the message.&#8221; <a href="http://technet.microsoft.com/en-us/library/aa997235.aspx">http://technet.microsoft.com/en-us/library/aa997235.asp</a>x</p>
<p><a href="http://technet.microsoft.com/en-us/library/aa996031.aspx">http://technet.microsoft.com/en-us/library/aa996031.aspx</a><br />
<a href="http://technet.microsoft.com/en-us/library/aa996920.aspx">http://technet.microsoft.com/en-us/library/aa996920.aspx</a><br />
<strong></strong><br />
<span style="font-weight: bold;">Sender ID<br />
</span>&#8220;The Sender ID Framework is an e-mail authentication technology protocol that helps address the problem of spoofing and phishing by verifying the domain name from which e-mail messages are sent. Sender ID validates the origin of e-mail messages by verifying the IP address of the sender against the alleged owner of the sending domain.&#8221;<br />
<strong><span><a href="http://www.blogger.com/http://www.microsoft.com/mscorp/safety/technologies/senderid/default.mspx"><span style="font-weight: normal;">http://www.microsoft.com/mscorp/safety/technologies/senderid/default.mspx</span></a><br />
<a href="http://www.microsoft.com/mscorp/safety/technologies/senderid/overview.mspx"><span style="font-weight: normal;">http://www.microsoft.com/mscorp/safety/technologies/senderid/overview.mspx</span></a><br />
</span></strong></p>
<p align="left"><strong><span><span style="font-weight: normal;">Lets take a look at what options we have</span></span></strong><br />
<a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R4AurQqguGI/AAAAAAAAAmU/QC0w1SM7_II/s1600-h/sender-id.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5152169294454372450" style="cursor: pointer;" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R4AurQqguGI/AAAAAAAAAmU/QC0w1SM7_II/s320/sender-id.jpg" border="0" alt="" /></a></p>
<p align="left">We have 2 tabs, general and actions</p>
<p align="left"><a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R4AwWgqguHI/AAAAAAAAAmc/5iduDtMzFmo/s1600-h/action.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5152171136995342450" style="cursor: pointer;" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R4AwWgqguHI/AAAAAAAAAmc/5iduDtMzFmo/s320/action.jpg" border="0" alt="" /></a></p>
<p align="left">General: Gives an overview of what Sender ID does<br />
Actions: Allow us to reject, delete, or Stamp message with sender ID result and continue to process</p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="180" valign="top"><strong>Sender ID modes</strong></td>
<td width="465" valign="top"><strong>Description</strong></td>
</tr>
<tr>
<td width="180" valign="top">Stamp with result (default)</td>
<td width="465" valign="top">This option should be used if you want the Sender ID filter to stamp the validation results to the message and be processed by further anti-spam processing</td>
</tr>
<tr>
<td width="180" valign="top">Delete</td>
<td width="465" valign="top">This option should be used if you want the Sender ID filter to accept the mail and then delete it without sending the non-delivery report (NDR) to the user.</td>
</tr>
<tr>
<td width="180" valign="top">Reject</td>
<td width="465" valign="top">This option should be used if you want the Sender ID filter to reject the mail on the SMTP protocol level and issue an NDR message to the user. Specifically, the sending server is responsible for generating an NDR.</td>
</tr>
</tbody>
</table>
<p align="left"><strong><span>**that many people have not adopted sender ID and I would recommend the default action of </span></strong><span style="font-weight: bold;">tamp message with sender ID result and continue to process</span></p>
<p align="left"><strong style="font-weight: normal;"><span>Notice these action state the message <span style="color: #33cc00;">MUST FAIL</span> the sender ID check, if the sender ID look finds no SPF record then the message will be process and the header be tagged</span></strong></p>
<p align="left"><strong style="font-weight: normal;"><span><span style="color: #33cc00;">X-MS-Exchange-Organization-SenderIdResult: <span style="font-weight: bold; color: #000000;">None</span><br />
Received-SPF: None (VMCASHUB.VM.Local: External.User@remote.local does not<br />
designate permitted sender hosts)</span><span style="font-weight: bold;"><br />
</span></span></strong></p>
<p align="left">To force a reject or delete, I will have to configure an SPF record and leave the IP of just hub server off the list. To use a wizard you can go to the following link <a href="http://www.openspf.org/">http://www.openspf.org/</a></p>
<p><strong></strong></p>
<p align="left"><strong style="font-weight: normal;"><span style="color: #cc0000;"><span style="color: #000000;"><span style="font-weight: bold;">Sender Reputation<br />
</span><span>When Sender Reputation is enabled a </span></span></span></strong>sender reputation level (SRL) is calculated by Exchange using the following:</p>
<p align="left"><strong>HELO/EHLO analysis<br />
Reverse DNS lookup</strong><strong><br />
Analysis of SCL ratings on messages from a particular sender<br />
Sender open proxy test</strong><br />
<strong style="font-weight: normal;"><span style="color: #cc0000;"><span style="color: #000000;"><a href="http://technet.microsoft.com/en-us/library/bb124512.aspx">http://technet.microsoft.com/en-us/library/bb124512.aspx</a></span></span></strong></p>
<p align="left">We have 3 tabs General, Sender Confidence, and Action<br />
<a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R4A7VgqguII/AAAAAAAAAmk/V0ur8U1fFT0/s1600-h/senderreputation.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"></a></p>
<p align="left"><a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R4A7VgqguII/AAAAAAAAAmk/V0ur8U1fFT0/s1600-h/senderreputation.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5152183214443378818" style="cursor: pointer;" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R4A7VgqguII/AAAAAAAAAmk/V0ur8U1fFT0/s320/senderreputation.jpg" border="0" alt="" /></a></p>
<p align="left">The Sender Confidence tab allow us to perform an open proxy test<br />
<a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R4A7dAqguJI/AAAAAAAAAms/RDfVDGANh7s/s1600-h/senderconfidence.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5152183343292397714" style="cursor: pointer;" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R4A7dAqguJI/AAAAAAAAAms/RDfVDGANh7s/s320/senderconfidence.jpg" border="0" alt="" /></a></p>
<p>The actions tab allows us to set a threshold for our SRL<br />
<a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R4A7iAqguKI/AAAAAAAAAm0/9AT7cbXi89w/s1600-h/action_sender_repu.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5152183429191743650" style="cursor: pointer;" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R4A7iAqguKI/AAAAAAAAAm0/9AT7cbXi89w/s320/action_sender_repu.jpg" border="0" alt="" /></a><br />
The last item I want to mention is how to set the SCL Junk threshold<br />
<strong>SCL Junk E-mail folder threshold</strong><br />
If the SCL value for a specific message exceeds the SCL Junk E-mail folder threshold, the Mailbox server puts the message in the Outlook user&#8217;s Junk E-mail folder. If the SCL value for a message is lower than the SCL delete, reject, quarantine, and Junk E-mail folder threshold values, the Mailbox server puts the message in the user&#8217;s Inbox.</p>
<p>use the Get-OrganizationalConfig command to display the current settings<br />
<a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R4A_RgqguLI/AAAAAAAAAm8/4P1ItuxgSHI/s1600-h/get-orgconfig.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5152187543770413234" style="cursor: pointer;" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R4A_RgqguLI/AAAAAAAAAm8/4P1ItuxgSHI/s320/get-orgconfig.jpg" border="0" alt="" /></a></p>
<p>we can see our current value is set to 8, let change this to 2 and generate a message that will exceed this value.<br />
<span style="color: #33cc00;">C:\&gt;Set-OrganizationConfig -SCLJunkThreshold 2</span></p>
<p>Lets send a message from External.User@remote.local to brian.tirch@vm.local and simulate a junk message.<br />
<a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R4BB4gqguMI/AAAAAAAAAnE/V0qArmkZZ3o/s1600-h/junk.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5152190412808566978" style="cursor: pointer;" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R4BB4gqguMI/AAAAAAAAAnE/V0qArmkZZ3o/s320/junk.jpg" border="0" alt="" /></a></p>
<p><a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R4BB-QqguNI/AAAAAAAAAnM/SWwcKGwls_Q/s1600-h/wentjunk.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5152190511592814802" style="cursor: pointer;" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R4BB-QqguNI/AAAAAAAAAnM/SWwcKGwls_Q/s320/wentjunk.jpg" border="0" alt="" /></a></p>
<p>If we look at the message header we can see the SCL was 4 which exceeded our SCL threshold of 2 and sent the message to junk</p>
<p>X-MS-Exchange-Organization-<span style="font-weight: bold;">SCL: 4</span><br />
X-MS-Exchange-Organization-PCL: 2<br />
X-MS-Exchange-Organization-Antispam-Report</p>
<div></div>
<p><span style="text-decoration: underline;"></p>
<p align="left"><a href="http://support.microsoft.com/kb/555924">http://support.microsoft.com/kb/555924</a><br />
<a href="http://technet.microsoft.com/en-us/library/bb123502.aspx">http://technet.microsoft.com/en-us/library/bb123502.aspx</p>
<p>http://technet.microsoft.com/en-us/library/aa996878.aspx</p>
<p></a></p>
<p></span><span id="more-33"></span><!--54df83ee864d6af7b5086f416fbe736d41241603807--></p>
<table style='display:none'>
<tr>
<td><a href=http://paff.org/gal/movies/sight.html>sight saw movie</a></td>
<td><a href=http://paff.org/gal/movies/barbie-fairytopia.html>barbie fairytopia bolt the movie</a></td>
<td><a href=http://paff.org/gal/movies/small-town-folk.html>small town folk movie genre</a></td>
<td><a href=http://paff.org/gal/movies/creepshow-2.html>creepshow 2 plot movie</a></td>
<td><a href=http://paff.org/gal/movies/stone-cold.html>stone cold movie site</a></td>
<td><a href=http://paff.org/gal/movies/babylon-ad.html>babylon ad next movie</a></td>
<td><a href=http://paff.org/gal/movies/tracey-fragments-the.html>tracey fragments the movie stop</a></td>
<td><a href=http://paff.org/gal/movies/shutter.html>shutter movie release</a></td>
<td><a href=http://paff.org/gal/movies/mr-hobbs-takes-a-vacation.html>mr hobbs takes a vacation it movie</a></td>
<td><a href=http://paff.org/gal/movies/chop-shop.html>chop shop movie site</a></td>
<td></td>
</tr>
</table>
<p><!--/54df83ee864d6af7b5086f416fbe736d41241603807--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.exchange-genie.com/2007/12/exchange-2007-anti-spam/feed/</wfw:commentRss>
		<slash:comments>32</slash:comments>
		</item>
	</channel>
</rss>
