<?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>Tachytelic.net &#187; Exchange</title>
	<atom:link href="http://www.tachytelic.net/tag/exchange/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tachytelic.net</link>
	<description></description>
	<lastBuildDate>Sun, 15 Jan 2012 00:24:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Updating the RecipientContainer of a dynamic distribution group in Exchange 2007</title>
		<link>http://www.tachytelic.net/2010/10/updating-the-recipientcontainer-of-a-dynamic-distribution-group-in-exchange-2007/</link>
		<comments>http://www.tachytelic.net/2010/10/updating-the-recipientcontainer-of-a-dynamic-distribution-group-in-exchange-2007/#comments</comments>
		<pubDate>Fri, 15 Oct 2010 11:27:51 +0000</pubDate>
		<dc:creator>Paulie</dc:creator>
				<category><![CDATA[Technical Posts]]></category>
		<category><![CDATA[Exchange]]></category>

		<guid isPermaLink="false">http://www.tachytelic.net/?p=310</guid>
		<description><![CDATA[After moving users to a different organisational unit you may find that you are unable to e-mail them using a dynamic distribution group. If the group was created in powershell you wont be able to edit it in the managment console either. It shows a message saying: This Dynamic Distribution Group was created with the [...]]]></description>
			<content:encoded><![CDATA[<p>After moving users to a different organisational unit you may find that you are unable to e-mail them using a dynamic distribution group.  If the group was created in powershell you wont be able to edit it in the managment console either.  It shows a message saying:</p>
<blockquote><p>
This Dynamic Distribution Group was created with the Exchange Management Shell.  You can use the Exchange Managment Shell to modify the filter.
</p></blockquote>
<p>And all of the controls are disabled.</p>
<p>To update the recipient container from the Exchange Management Shell run:</p>
<blockquote><p>
Set-DynamicDistributionGroup -Identity DistributionGroupName -RecipientContainer &#8216;containername/ouname&#8217;
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.tachytelic.net/2010/10/updating-the-recipientcontainer-of-a-dynamic-distribution-group-in-exchange-2007/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>New-ExchangeCertificate Cmdlet Syntax Generator</title>
		<link>http://www.tachytelic.net/2010/03/new-exchangecertificate-cmdlet-syntax-generator/</link>
		<comments>http://www.tachytelic.net/2010/03/new-exchangecertificate-cmdlet-syntax-generator/#comments</comments>
		<pubDate>Mon, 22 Mar 2010 22:32:52 +0000</pubDate>
		<dc:creator>Paulie</dc:creator>
				<category><![CDATA[Scripts & Utilities]]></category>
		<category><![CDATA[Technical Posts]]></category>
		<category><![CDATA[Cmdlet]]></category>
		<category><![CDATA[CSR]]></category>
		<category><![CDATA[E-Mail]]></category>
		<category><![CDATA[Exchange]]></category>

		<guid isPermaLink="false">http://www.tachytelic.net/?p=124</guid>
		<description><![CDATA[I am always forgetting the syntax for the New-ExchangeCertificate cmdlet when I need to do a new certificate request so I decided to write a little bit of javascript to build up the command automatically. Its much easier to copy and paste it from here than work with in it the Exchange 2007 Command Shell. [...]]]></description>
			<content:encoded><![CDATA[<p>	<script>
	function gencsr()
	{
	  var CommonName=GetTextBoxValue('CommonName');
	  var CommonNamePath='C:\\' + CommonName.replace(/\./g, '_') + '.csr';
	  var csrCommand='New-ExchangeCertificate -GenerateRequest -Path ' + CommonNamePath + ' -KeySize 2048 -SubjectName "c=' + GetTextBoxValue('Country') + ', s=' + GetTextBoxValue('County')
	  var csrCommand=csrCommand + ', l=' + GetTextBoxValue('City') + ', o=' + GetTextBoxValue('Organisation') + ', ou=' + GetTextBoxValue('Department') + ', cn=' + CommonName + '"';
	  if (GetTextBoxValue('SubjectAltNames')!=''){var csrCommand=csrCommand + " -DomainName " + GetTextBoxValue('SubjectAltNames')}
	  var csrCommand=csrCommand + ' -PrivateKeyExportable $True'	  
	  document.getElementById('csrrequest').value=csrCommand
	}
	function GetTextBoxValue(id)
	{
	   return document.getElementById(id).value;
	}
	</script></p>
<style>
	.csrlabel {width:175px;}
	.csrinput {width:300px;}
	</style>
<p>I am always forgetting the syntax for the New-ExchangeCertificate cmdlet when I need to do a new certificate request so I decided to write a little bit of javascript to build up the command automatically. Its much easier to copy and paste it from here than work with in it the Exchange 2007 Command Shell.</p>
<p>So just fill in the fields below and the command will be built automatically in the box below. Then just copy into command shell. If required, seperate the &#8220;Subject Alternative Names&#8221; with commas.</p>
<table>
<tr>
<td>
<p class="csrlabel">Common Name:</td>
<td>
<input type="text" id="CommonName" class="csrinput" onkeyup="gencsr();"></td>
</tr>
<tr>
<td>Subject Alternative Names:</td>
<td><textarea id="SubjectAltNames" rows="3" cols="20" class="csrinput" onkeyup="gencsr();"></textarea></td>
</tr>
<tr>
<td>Organisation:</td>
<td>
<input type="text" id="Organisation" class="csrinput" onkeyup="gencsr();"></td>
</tr>
<tr>
<td>Organisational Unit:</td>
<td>
<input type="text" id="Department" class="csrinput" onkeyup="gencsr();"></td>
</tr>
<tr>
<td>Town/City:</td>
<td>
<input type="text" id="City" class="csrinput" onkeyup="gencsr();"></td>
</tr>
<tr>
<td>County/State:</td>
<td>
<input type="text" id="County" class="csrinput" onkeyup="gencsr();"></td>
</tr>
<tr>
<td>Country:</td>
<td>
<select name="Country" id="Country" class="csrinput" onchange="gencsr();">
<option value="">Country&#8230;</option>
<option value="GB">United Kingdom</option>
<option value="US">United States of America</option>
<option value="AF">Afghanistan</option>
<option value="AL">Albania</option>
<option value="DZ">Algeria</option>
<option value="AS">American Samoa</option>
<option value="AD">Andorra</option>
<option value="AG">Angola</option>
<option value="AI">Anguilla</option>
<option value="AG">Antigua &amp; Barbuda</option>
<option value="AR">Argentina</option>
<option value="AA">Armenia</option>
<option value="AW">Aruba</option>
<option value="AU">Australia</option>
<option value="AT">Austria</option>
<option value="AZ">Azerbaijan</option>
<option value="BS">Bahamas</option>
<option value="BH">Bahrain</option>
<option value="BD">Bangladesh</option>
<option value="BB">Barbados</option>
<option value="BY">Belarus</option>
<option value="BE">Belgium</option>
<option value="BZ">Belize</option>
<option value="BJ">Benin</option>
<option value="BM">Bermuda</option>
<option value="BT">Bhutan</option>
<option value="BO">Bolivia</option>
<option value="BL">Bonaire</option>
<option value="BA">Bosnia &amp; Herzegovina</option>
<option value="BW">Botswana</option>
<option value="BR">Brazil</option>
<option value="BC">British Indian Ocean Ter</option>
<option value="BN">Brunei</option>
<option value="BG">Bulgaria</option>
<option value="BF">Burkina Faso</option>
<option value="BI">Burundi</option>
<option value="KH">Cambodia</option>
<option value="CM">Cameroon</option>
<option value="CA">Canada</option>
<option value="IC">Canary Islands</option>
<option value="CV">Cape Verde</option>
<option value="KY">Cayman Islands</option>
<option value="CF">Central African Republic</option>
<option value="TD">Chad</option>
<option value="CD">Channel Islands</option>
<option value="CL">Chile</option>
<option value="CN">China</option>
<option value="CI">Christmas Island</option>
<option value="CS">Cocos Island</option>
<option value="CO">Colombia</option>
<option value="CC">Comoros</option>
<option value="CG">Congo</option>
<option value="CK">Cook Islands</option>
<option value="CR">Costa Rica</option>
<option value="CT">Cote D&#8217;Ivoire</option>
<option value="HR">Croatia</option>
<option value="CU">Cuba</option>
<option value="CB">Curacao</option>
<option value="CY">Cyprus</option>
<option value="CZ">Czech Republic</option>
<option value="DK">Denmark</option>
<option value="DJ">Djibouti</option>
<option value="DM">Dominica</option>
<option value="DO">Dominican Republic</option>
<option value="TM">East Timor</option>
<option value="EC">Ecuador</option>
<option value="EG">Egypt</option>
<option value="SV">El Salvador</option>
<option value="GQ">Equatorial Guinea</option>
<option value="ER">Eritrea</option>
<option value="EE">Estonia</option>
<option value="ET">Ethiopia</option>
<option value="FA">Falkland Islands</option>
<option value="FO">Faroe Islands</option>
<option value="FJ">Fiji</option>
<option value="FI">Finland</option>
<option value="FR">France</option>
<option value="GF">French Guiana</option>
<option value="PF">French Polynesia</option>
<option value="FS">French Southern Ter</option>
<option value="GA">Gabon</option>
<option value="GM">Gambia</option>
<option value="GE">Georgia</option>
<option value="DE">Germany</option>
<option value="GH">Ghana</option>
<option value="GI">Gibraltar</option>
<option value="GB">Great Britain</option>
<option value="GR">Greece</option>
<option value="GL">Greenland</option>
<option value="GD">Grenada</option>
<option value="GP">Guadeloupe</option>
<option value="GU">Guam</option>
<option value="GT">Guatemala</option>
<option value="GN">Guinea</option>
<option value="GY">Guyana</option>
<option value="HT">Haiti</option>
<option value="HW">Hawaii</option>
<option value="HN">Honduras</option>
<option value="HK">Hong Kong</option>
<option value="HU">Hungary</option>
<option value="IS">Iceland</option>
<option value="IN">India</option>
<option value="ID">Indonesia</option>
<option value="IA">Iran</option>
<option value="IQ">Iraq</option>
<option value="IR">Ireland</option>
<option value="IM">Isle of Man</option>
<option value="IL">Israel</option>
<option value="IT">Italy</option>
<option value="JM">Jamaica</option>
<option value="JP">Japan</option>
<option value="JO">Jordan</option>
<option value="KZ">Kazakhstan</option>
<option value="KE">Kenya</option>
<option value="KI">Kiribati</option>
<option value="NK">Korea North</option>
<option value="KS">Korea South</option>
<option value="KW">Kuwait</option>
<option value="KG">Kyrgyzstan</option>
<option value="LA">Laos</option>
<option value="LV">Latvia</option>
<option value="LB">Lebanon</option>
<option value="LS">Lesotho</option>
<option value="LR">Liberia</option>
<option value="LY">Libya</option>
<option value="LI">Liechtenstein</option>
<option value="LT">Lithuania</option>
<option value="LU">Luxembourg</option>
<option value="MO">Macau</option>
<option value="MK">Macedonia</option>
<option value="MG">Madagascar</option>
<option value="MY">Malaysia</option>
<option value="MW">Malawi</option>
<option value="MV">Maldives</option>
<option value="ML">Mali</option>
<option value="MT">Malta</option>
<option value="MH">Marshall Islands</option>
<option value="MQ">Martinique</option>
<option value="MR">Mauritania</option>
<option value="MU">Mauritius</option>
<option value="ME">Mayotte</option>
<option value="MX">Mexico</option>
<option value="MI">Midway Islands</option>
<option value="MD">Moldova</option>
<option value="MC">Monaco</option>
<option value="MN">Mongolia</option>
<option value="MS">Montserrat</option>
<option value="MA">Morocco</option>
<option value="MZ">Mozambique</option>
<option value="MM">Myanmar</option>
<option value="NA">Nambia</option>
<option value="NU">Nauru</option>
<option value="NP">Nepal</option>
<option value="AN">Netherland Antilles</option>
<option value="NL">Netherlands (Holland, Europe)</option>
<option value="NV">Nevis</option>
<option value="NC">New Caledonia</option>
<option value="NZ">New Zealand</option>
<option value="NI">Nicaragua</option>
<option value="NE">Niger</option>
<option value="NG">Nigeria</option>
<option value="NW">Niue</option>
<option value="NF">Norfolk Island</option>
<option value="NO">Norway</option>
<option value="OM">Oman</option>
<option value="PK">Pakistan</option>
<option value="PW">Palau Island</option>
<option value="PS">Palestine</option>
<option value="PA">Panama</option>
<option value="PG">Papua New Guinea</option>
<option value="PY">Paraguay</option>
<option value="PE">Peru</option>
<option value="PH">Philippines</option>
<option value="PO">Pitcairn Island</option>
<option value="PL">Poland</option>
<option value="PT">Portugal</option>
<option value="PR">Puerto Rico</option>
<option value="QA">Qatar</option>
<option value="ME">Republic of Montenegro</option>
<option value="RS">Republic of Serbia</option>
<option value="RE">Reunion</option>
<option value="RO">Romania</option>
<option value="RU">Russia</option>
<option value="RW">Rwanda</option>
<option value="NT">St Barthelemy</option>
<option value="EU">St Eustatius</option>
<option value="HE">St Helena</option>
<option value="KN">St Kitts-Nevis</option>
<option value="LC">St Lucia</option>
<option value="MB">St Maarten</option>
<option value="PM">St Pierre &amp; Miquelon</option>
<option value="VC">St Vincent &amp; Grenadines</option>
<option value="SP">Saipan</option>
<option value="SO">Samoa</option>
<option value="AS">Samoa American</option>
<option value="SM">San Marino</option>
<option value="ST">Sao Tome &amp; Principe</option>
<option value="SA">Saudi Arabia</option>
<option value="SN">Senegal</option>
<option value="SC">Seychelles</option>
<option value="SL">Sierra Leone</option>
<option value="SG">Singapore</option>
<option value="SK">Slovakia</option>
<option value="SI">Slovenia</option>
<option value="SB">Solomon Islands</option>
<option value="OI">Somalia</option>
<option value="ZA">South Africa</option>
<option value="ES">Spain</option>
<option value="LK">Sri Lanka</option>
<option value="SD">Sudan</option>
<option value="SR">Suriname</option>
<option value="SZ">Swaziland</option>
<option value="SE">Sweden</option>
<option value="CH">Switzerland</option>
<option value="SY">Syria</option>
<option value="TA">Tahiti</option>
<option value="TW">Taiwan</option>
<option value="TJ">Tajikistan</option>
<option value="TZ">Tanzania</option>
<option value="TH">Thailand</option>
<option value="TG">Togo</option>
<option value="TK">Tokelau</option>
<option value="TO">Tonga</option>
<option value="TT">Trinidad &amp; Tobago</option>
<option value="TN">Tunisia</option>
<option value="TR">Turkey</option>
<option value="TU">Turkmenistan</option>
<option value="TC">Turks &amp; Caicos Is</option>
<option value="TV">Tuvalu</option>
<option value="UG">Uganda</option>
<option value="UA">Ukraine</option>
<option value="AE">United Arab Emirates</option>
<option value="UY">Uruguay</option>
<option value="UZ">Uzbekistan</option>
<option value="VU">Vanuatu</option>
<option value="VS">Vatican City State</option>
<option value="VE">Venezuela</option>
<option value="VN">Vietnam</option>
<option value="VB">Virgin Islands (Brit)</option>
<option value="VA">Virgin Islands (USA)</option>
<option value="WK">Wake Island</option>
<option value="WF">Wallis &amp; Futana Is</option>
<option value="YE">Yemen</option>
<option value="ZR">Zaire</option>
<option value="ZM">Zambia</option>
<option value="ZW">Zimbabwe</option>
</select>
</td>
</tr>
</table>
<p>	CSR Command:<br />
	<textarea id="csrrequest" rows="10" style="width:475px"></textarea></p>
<p> I am thinking of duplicating this code and writing another post which will generate the commands for the import of the newly generated certificate.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tachytelic.net/2010/03/new-exchangecertificate-cmdlet-syntax-generator/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Error 3221684229 when installing mailbox role of Exchange 2007 SP1 on Windows Server 2008 r2</title>
		<link>http://www.tachytelic.net/2009/10/error-3221684229-when-installing-mailbox-role-of-exchange-2007-sp1-on-windows-server-2008-r2/</link>
		<comments>http://www.tachytelic.net/2009/10/error-3221684229-when-installing-mailbox-role-of-exchange-2007-sp1-on-windows-server-2008-r2/#comments</comments>
		<pubDate>Sat, 17 Oct 2009 15:37:26 +0000</pubDate>
		<dc:creator>Paulie</dc:creator>
				<category><![CDATA[Technical Posts]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Windows 2008 R2]]></category>

		<guid isPermaLink="false">http://www.tachytelic.net/?p=58</guid>
		<description><![CDATA[Just been trying to install Exchange 2007 SP1 on a freshly installed Windows 2008 R2 and come up against the following error during the installation of the Mailbox Role: Mailbox Role Failed Error: An error occurred. The error code was 3221684229. The message was Access is denied.. Simple fix for this is to run setup.exe [...]]]></description>
			<content:encoded><![CDATA[<p>Just been trying to install Exchange 2007 SP1 on a freshly installed Windows 2008 R2 and come up against the following error during the installation of the Mailbox Role:</p>
<blockquote><p>Mailbox Role<br />
Failed</p>
<p>Error:<br />
An error occurred. The error code was 3221684229. The message was Access is denied..</p></blockquote>
<p>Simple fix for this is to run setup.exe in compatibilty mode.  I chose Vista SP2 and then the installation went through normally.</p>
<p>But before you go rushing to finish your installation it is worth noting that Exchange 2007 SP2 will not be supported on Windows 2008 R2, and therefore you may want to reconsider doing the installation at all!  Read here:</p>
<p><a href="http://msexchangeteam.com/archive/2009/09/21/452567.aspx">http://msexchangeteam.com/archive/2009/09/21/452567.aspx</a></p>
<p>I flattened the installation and went back to Windows 2008 Standard.</p>
<p>Update: Microsoft have changed the policy to support Exchange 2007 on Windows 2008 r2:</p>
<p><a href="http://msexchangeteam.com/archive/2009/11/04/453026.aspx">http://msexchangeteam.com/archive/2009/11/04/453026.aspx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.tachytelic.net/2009/10/error-3221684229-when-installing-mailbox-role-of-exchange-2007-sp1-on-windows-server-2008-r2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Malware/Virus delivered through fake e-mail from UPS</title>
		<link>http://www.tachytelic.net/2008/07/malwarevirus-delivered-through-fake-e-mail-from-ups/</link>
		<comments>http://www.tachytelic.net/2008/07/malwarevirus-delivered-through-fake-e-mail-from-ups/#comments</comments>
		<pubDate>Thu, 24 Jul 2008 09:00:46 +0000</pubDate>
		<dc:creator>Paulie</dc:creator>
				<category><![CDATA[Technical Posts]]></category>
		<category><![CDATA[E-Mail]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Virus]]></category>

		<guid isPermaLink="false">http://www.tachytelic.net/?p=32</guid>
		<description><![CDATA[I have had several incidents this week of customer systems being infected by executables attached to e-mails appearing to be from UPS. Looking around the blogs, these e-mails seem to be having a higher than normal infection rate. It is time consuming to get rid of and makes the infected machines unusable and creates a [...]]]></description>
			<content:encoded><![CDATA[<p>I have had several incidents this week of customer systems being infected by executables attached to e-mails appearing to be from UPS.</p>
<p>Looking around the blogs, these e-mails seem to be having a higher than normal infection rate.  It is time consuming to get rid of and makes the infected machines unusable and creates a huge number of network connections.</p>
<p>The exact subject line of the email&#8217;s that have been received is: </p>
<p>UPS Tracking Number 5440074870</p>
<p>Attached to the e-mail is a zip file containing an executable which when executed installs &quot;XP Security Center&quot;. </p>
<p><a href="http://www.tachytelic.net/wp-content/xpsecurity1.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="331" alt="XPSecurity1" src="http://www.tachytelic.net/wp-content/xpsecurity1-thumb.jpg" width="421" border="0" /></a>&#160;</p>
<p>Much more information about the detail of the actual email can be found on the <a href="http://blog.trendmicro.com/ups-spam-trojan-courier-of-choice/">Trend Malware Blog</a>.&#160; The worrying thing about this e-mail is that both of the machines that it infected have their e-mail filtered by very well known external 3rd party mail systems, then have virus scanning on their own Exchange servers and finally on their desktop machines.&#160; At the moment this e-mail is still slipping through the net.</p>
<p>This virus does a LOT of clever things to prevent you getting rid of it.&#160; I noticed that when trying to run <a href="http://technet.microsoft.com/en-us/sysinternals/bb963902.aspx">Autoruns</a> from Sysinternals that it just would not work.&#160; Renaming the autoruns executable allows it to run.&#160; It also stops you being able to install/download Windows Defender, disables system restore, removes the system tools program group amongst other things.</p>
<p>Not a very sophisticated solution but for now I have <a href="http://www.tachytelic.net/?p=4">edited the Exchange IMF custom weighting file</a> on customer systems to ensure that messages with &quot;UPS Tracking&quot; in the subject line are never delivered to the recipients and definitely classed as spam.&#160; </p>
<p>I had written a separate post on how to remove the virus manually, but at the moment I am still monitoring the infected machines to ensure they are completely clean.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tachytelic.net/2008/07/malwarevirus-delivered-through-fake-e-mail-from-ups/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Sending backup tape reminder e-mails</title>
		<link>http://www.tachytelic.net/2007/10/sending-backup-tape-reminder-e-mails/</link>
		<comments>http://www.tachytelic.net/2007/10/sending-backup-tape-reminder-e-mails/#comments</comments>
		<pubDate>Mon, 15 Oct 2007 19:47:40 +0000</pubDate>
		<dc:creator>Paulie</dc:creator>
				<category><![CDATA[Scripts & Utilities]]></category>
		<category><![CDATA[Technical Posts]]></category>
		<category><![CDATA[Automatic Notifcation]]></category>
		<category><![CDATA[Backup]]></category>
		<category><![CDATA[E-Mail]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[VBScript]]></category>

		<guid isPermaLink="false">http://www.tachytelic.net/?p=26</guid>
		<description><![CDATA[This is just a very quick script written in response to a question posted in one of the SBS yahoo groups. It sends an e-mail to a specified recipient reminding them to change the backup tape in a server. The SBS backup system does this automatically, so this is meant for use on SBS servers [...]]]></description>
			<content:encoded><![CDATA[<p>This is just a very quick script written in response to a question posted in one of the SBS yahoo groups.</p>
<p>It sends an e-mail to a specified recipient reminding them to change the backup tape in a server.  The SBS backup system does this automatically, so this is meant for use on SBS servers using something other than the in-built SBS backup.</p>
<p>Installation is simply a case of extracting the contents of <a href="http://www.tachytelic.net/files/tapereminder.zip">this zip file</a> to a folder on your SBS server and then changing the variables at the top of the script to appropriate values for your environment.</p>
<p>Once done you can test interactively from a command line by running &#8220;cscript tapereminder.vbs&#8221; and once you are happy with the results setup a scheduled task to do the job daily.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tachytelic.net/2007/10/sending-backup-tape-reminder-e-mails/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Using ISMTPOnArrival_OnArrival event to save messages to a filesystem based on the message subject</title>
		<link>http://www.tachytelic.net/2007/07/using-ismtponarrival_onarrival-event-to-save-messages-to-a-filesystem-based-on-the-message-subject/</link>
		<comments>http://www.tachytelic.net/2007/07/using-ismtponarrival_onarrival-event-to-save-messages-to-a-filesystem-based-on-the-message-subject/#comments</comments>
		<pubDate>Thu, 26 Jul 2007 16:31:59 +0000</pubDate>
		<dc:creator>Paulie</dc:creator>
				<category><![CDATA[Scripts & Utilities]]></category>
		<category><![CDATA[Technical Posts]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[ISMTPOnArrival_OnArrival]]></category>
		<category><![CDATA[SBS 2003]]></category>

		<guid isPermaLink="false">http://www.tachytelic.net/?p=8</guid>
		<description><![CDATA[The ISMTPOnArrival_OnArrival event sink in Exchange 2003 can be used to trigger code to perform various tasks. I have recently used this method to strip attachments from messages and then FTP them to a remote machine, based on the message subject and recipient. In this, more basic example the entire message is saved to the [...]]]></description>
			<content:encoded><![CDATA[<p>The ISMTPOnArrival_OnArrival event sink in Exchange 2003 can be used to trigger code to perform various tasks.  I have recently used this method to strip attachments from messages and then FTP them to a remote machine, based on the message subject and recipient.</p>
<p>In this, more basic example the entire message is saved to the filesystem in .eml format to a folder specified within a variable.  The script could be made much more elaborate with the addition of a couple of arrays to specify multiple subjects/locations.  The idea is that you could setup a system where e-mails can be automatically filed without having to depend on user intevention and avoiding the requirement for 3rd party software.</p>
<p>This can be implemented by following the example from this <a href="http://support.microsoft.com/kb/313404">Microsoft Knowlegbase article</a>.  The file referred to in the article called SMTPREG.VBS can be found <a href="http://msdn2.microsoft.com/en-us/library/ms528023.aspx">here on MSDN</a>.  Instead of the SMTPMsgCheck.vbs file referenced in the article create a file called SMTPSubjectCheck.vbs and insert the following code(you will also need to modify the registration batch file accordingly) :</p>
<pre><code>
&lt;SCRIPT LANGUAGE=&quot;VBScript&quot;&gt;
Sub IEventIsCacheable_IsCacheable()
	'To implement the interface, and return S_OK implicitly
End Sub

Sub ISMTPOnArrival_OnArrival(ByVal Msg, EventStatus )
	Dim Pos, SubjectToFind, SaveFolder, MsgStream

	SubjectToFind=&quot;Project1&quot;
	SaveFolder=&quot;c:\\&quot;

	Pos=InStr(1,Msg.Subject,SubjectToFind,1)

	if Pos &lt;&gt; 0 then
		set MSGStream= Msg.Getstream
		SaveFile=SaveFolder &amp; Msg.Senton &amp; &quot;-&quot; &amp; msg.subject &amp; &quot;.eml&quot;
		SaveFile=Replace(SaveFile, &quot;/&quot;, &quot;_&quot;)
		SaveFile=Replace(SaveFile, &quot; &quot;, &quot;_&quot;)
		SaveFile=Replace(SaveFile, &quot;:&quot;, &quot;_&quot;,3)
		MsgStream.SaveToFile savefile,2
		MsgStream.Close
		Set MsgStream = Nothing
	End if
End Sub
&lt;/SCRIPT&gt;
</code></pre>
<p>In this example the script is looking for a subject line that contains the text &#8220;project1&#8243;(not case sensitive) and saving it to the root of c:</p>
<p>I have attached a zip file to the blog post with all the required files in one zip file, just be cautious of using it if you already have event sinks registered(drop the files into c:\eventsink).<br />
<a href='http://www.tachytelic.net/wp-content/subjectcheck.zip' title='subjectcheck.zip'>subjectcheck.zip</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.tachytelic.net/2007/07/using-ismtponarrival_onarrival-event-to-save-messages-to-a-filesystem-based-on-the-message-subject/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Exchange 2003 SP2 IMF Keyword Manager</title>
		<link>http://www.tachytelic.net/2007/01/exchange-2003-v2-imf-keyword-manager/</link>
		<comments>http://www.tachytelic.net/2007/01/exchange-2003-v2-imf-keyword-manager/#comments</comments>
		<pubDate>Sun, 28 Jan 2007 19:20:49 +0000</pubDate>
		<dc:creator>Paulie</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Scripts & Utilities]]></category>
		<category><![CDATA[E-Mail]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[SBS 2003]]></category>
		<category><![CDATA[Spam]]></category>

		<guid isPermaLink="false">http://www.tachytelic.net/?p=4</guid>
		<description><![CDATA[Exchange 2003 sp2 comes with an updated intelligent message filter. One of the new features of the updated IMF is the ability to add a custom weighting file that gives administrators more control over incoming mail. I have used this file a few times on customers systems, usually to allow certain automated e-mails through the [...]]]></description>
			<content:encoded><![CDATA[<p>Exchange 2003 sp2 comes with an updated intelligent message filter. One of the new features of the updated IMF is the ability to add a custom weighting file that gives administrators more control over incoming mail.</p>
<p>I have used this file a few times on customers systems, usually to allow certain automated e-mails through the IMF which were being incorrectly identified as spam.</p>
<p>The problem is that Microsoft have not included a GUI to edit the MSExchange.UceContentFilter.xml file. ?Ǭ�So it must be generated by hand, and while this isn&#8217;t difficult, it is not very convenient and it is easy to make a mistake.</p>
<p>I was looking for an excuse to have a play with Visual Basic 2005 and so I have made a little utility to make creating and managing the MSExchange.UceContentFilter.xml a little easier.</p>
<p><img src="http://www.tachytelic.net/images/UCE.jpg" alt="Screenshot 1" /></p>
<p>Becomes&#8230;.</p>
<p><img src="http://www.tachytelic.net/images/ucexml.jpg" alt="Generated XML File" /></p>
<p>The utility can be downloaded from <a href="http://www.tachytelic.net/files/exchangeimf/setup.msi">here</a>.(Requires .net 2.0).</p>
<p>If you need more information on how to implement the custom weighting feature then see:<br />
<a href="http://download.microsoft.com/download/f/b/5/fb5c54af-fe5c-48e9-be97-f9e8207325ab/Ex_2003_SP2_RelNotes.htm"><br />
Microsoft Exchange Server 2003 Service Pack 2 Release Notes</a><br />
<a href="http://support.microsoft.com/kb/907747">Microsoft Exchange Server Intelligent Message Filter v2 Operations Guide</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.tachytelic.net/2007/01/exchange-2003-v2-imf-keyword-manager/feed/</wfw:commentRss>
		<slash:comments>30</slash:comments>
		</item>
	</channel>
</rss>

