<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>fooshen's : Exchange 2007</title><link>http://blogs.msdn.com/fooshen/archive/tags/Exchange+2007/default.aspx</link><description>Tags: Exchange 2007</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>SharePoint and VHDs...</title><link>http://blogs.msdn.com/fooshen/archive/2008/12/09/sharepoint-and-vhds.aspx</link><pubDate>Tue, 09 Dec 2008 05:55:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9186201</guid><dc:creator>fooshen</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/fooshen/comments/9186201.aspx</comments><wfw:commentRss>http://blogs.msdn.com/fooshen/commentrss.aspx?PostID=9186201</wfw:commentRss><description>&lt;P&gt;If you do a lot of SharePoint demos, chances are you will be using tons of VMs (Virtual PC, Virtual Server, VMWare, anything..). And if you're like me, you would not like to fire up multiple VMs; the less the merrier. This translates to squeezing in as many products/components into a single virtual image - but there are&amp;nbsp;some caveats to know about:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Installing SharePoint on a Domain Controller&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;- You lose the Document Conversion feature. Document Conversion services can start, but whenever you try to convert a document to web, it simply fails.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Installing SharePoint and Exchange on the same box&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;- You lose the Incoming Email feature. SharePoint relies on IIS' Virtual SMTP to listen for incoming emails. And Exchange cannot co-exist with IIS' Virtual SMTP. I'm not sure if there are some creative work-arounds available, but will post it if I found any.&lt;/P&gt;
&lt;P&gt;On another point (pun-intended), if you want to install &lt;STRONG&gt;Performance Point Server&lt;/STRONG&gt; or &lt;STRONG&gt;Commerce Server&lt;/STRONG&gt; into the same VM as the DC, you will want to &lt;U&gt;install them first, but don't run&lt;/U&gt; its configuration wizards. &lt;U&gt;Promote the VM to DC only after installation&lt;/U&gt;, and then only run the configuration wizard.&lt;/P&gt;
&lt;P&gt;While still on the topic of VMs, here's some guerilla tips&amp;nbsp;to keep your VHDs small and lean (faster to move around) &lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Shrink all your databases and transaction logs. If you have OCS 2007 installed, this can free up quite a substantial amount of space.&lt;/LI&gt;
&lt;LI&gt;Set Virtual Memory settings to smallest possible&amp;nbsp;minimum size. (I usually allocate 2GB RAM to my VMs, and my minimum virtual memory setting is 1GB).&lt;/LI&gt;
&lt;LI&gt;Restart (so that the Virtual Memory usage will be resized).&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Delete everything in %temp%. Some files might be locked, probably one or two. You may be able to delete them if its related services are stopped. Also look for *.log files lying around your virtual hard disk, taking up precious space but utterly useless since this is not a production setup anyway.&lt;/LI&gt;
&lt;LI&gt;Clear all Event logs (You can also set maximum size for event logs, you don't need huge allocations for demos - right-click on the Event log categories and select Properties).&lt;/LI&gt;
&lt;LI&gt;Run defrag - sometimes need to run multiple times for better results.&lt;/LI&gt;
&lt;LI&gt;Run the Pre-compactor tool (this is available via an .iso image from the VMAdditions folder).&lt;/LI&gt;
&lt;LI&gt;Run the Virtual Disk wizard, choose "Edit" and "Compact".&lt;/LI&gt;&lt;/OL&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9186201" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/fooshen/archive/tags/SharePoint+2007/default.aspx">SharePoint 2007</category><category domain="http://blogs.msdn.com/fooshen/archive/tags/Exchange+2007/default.aspx">Exchange 2007</category><category domain="http://blogs.msdn.com/fooshen/archive/tags/PerformancePoint+Server+2007/default.aspx">PerformancePoint Server 2007</category></item><item><title>SharePoint's out-going e-mail with Exchange 2007</title><link>http://blogs.msdn.com/fooshen/archive/2006/10/08/SharePoint_2700_s-out_2D00_going-e_2D00_mail-with-Exchange-2007.aspx</link><pubDate>Sun, 08 Oct 2006 18:33:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:805334</guid><dc:creator>fooshen</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/fooshen/comments/805334.aspx</comments><wfw:commentRss>http://blogs.msdn.com/fooshen/commentrss.aspx?PostID=805334</wfw:commentRss><description>&lt;P&gt;When using SharePoint 2007 with Exchange 2007, I found out that SharePoint just couldn't send out *ANY* e-mails. This could be e-mail notifications from Workflow actions, or simply the "Welcome" e-mail from the "Add User" administration in the site collection. From &lt;STRONG&gt;Site Actions -&amp;gt; Site Settings -&amp;gt; People and Group&lt;/STRONG&gt;, select &lt;STRONG&gt;New -&amp;gt; Add Users&lt;/STRONG&gt;,&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://i88.photobucket.com/albums/k189/fooshen/blogs/sharepoint_exchange_01.jpg" mce_src="http://i88.photobucket.com/albums/k189/fooshen/blogs/sharepoint_exchange_01.jpg"&gt;&lt;/P&gt;
&lt;P&gt;If you don't see the "&lt;EM&gt;Send welcome e-mail to the new users&lt;/EM&gt;" part, then the "&lt;STRONG&gt;Out-going email settings&lt;/STRONG&gt;" has not been configured in the &lt;STRONG&gt;Central Administration&lt;/STRONG&gt;. (To do so, go to Central Administration's &lt;STRONG&gt;Operations&lt;/STRONG&gt; page, &lt;STRONG&gt;Topology and Services&lt;/STRONG&gt;, &lt;STRONG&gt;Out-going email settings&lt;/STRONG&gt;).&lt;/P&gt;
&lt;P&gt;Now, if our out-going email settings is pointing to Exchange 2007 Beta2, upon clicking on "OK" SharePoint will complain that the e-mail message couldn't be sent out.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://i88.photobucket.com/albums/k189/fooshen/blogs/sharepoint_exchange_02.jpg" mce_src="http://i88.photobucket.com/albums/k189/fooshen/blogs/sharepoint_exchange_02.jpg"&gt;&lt;/P&gt;
&lt;P&gt;To check what's going on, we will need to inspect the SharePoint log files, at &amp;lt;program files&amp;gt;\Common Files\Microsoft Shared\web server extensions\12\LOGS. The actual error message is: "&lt;STRONG&gt;#160005: Bad response from SMTP host'master.iventsys.com.my': 530 5.7.1 Client was not authenticated .&lt;/STRONG&gt;" &lt;/P&gt;
&lt;P&gt;Ah.. "&lt;EM&gt;Client was not authenticated&lt;/EM&gt;". Exchange 2007, by it's hardened default state, will not allow anonymous clients to send e-mails. &lt;/P&gt;
&lt;P&gt;First off, we will need to create a Receive Connector in Exchange 2007 to receive e-mail from Internet. From the Exchange Management Console, select &lt;STRONG&gt;Server Configuration -&amp;gt; Hub Transport, New Receive Connector. &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://i88.photobucket.com/albums/k189/fooshen/blogs/sharepoint_exchange_03.jpg" mce_src="http://i88.photobucket.com/albums/k189/fooshen/blogs/sharepoint_exchange_03.jpg"&gt;&lt;/P&gt;
&lt;P&gt;Now, if we try to send SharePoint's Welcome E-mail again from the New User page, we will still get the same error on the web page. However, the SharePoint log file turns out a different message:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;#160005: Bad response from SMTP host'master.iventsys.com.my': 550 5.7.1 Client does not have permissions to send as this sender .&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;"&lt;EM&gt;Client does not have permissions to send as this sender.&lt;/EM&gt;" This is because SharePoint will use the user email in the "&lt;STRONG&gt;From Address&lt;/STRONG&gt;" field of our &lt;STRONG&gt;Out-going Email Settings &lt;/STRONG&gt;from the &lt;STRONG&gt;Central Administration&lt;/STRONG&gt;'s&lt;STRONG&gt; Operations &lt;/STRONG&gt;page.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://i88.photobucket.com/albums/k189/fooshen/blogs/sharepoint_exchange_04.jpg" mce_src="http://i88.photobucket.com/albums/k189/fooshen/blogs/sharepoint_exchange_04.jpg"&gt;&lt;/P&gt;
&lt;P&gt;So, how can we enable Exchange 2007 to accept SharePoint's anonymous sender, masquerading as the &lt;A href="mailto:administrator@iventys.com.my"&gt;administrator@iventys.com.my&lt;/A&gt; as above?&lt;/P&gt;
&lt;P&gt;After searching throughout for this setting in Exchange 2007's&amp;nbsp;Management Console, turns out that it never existed in the console. To do this, we have to use the&amp;nbsp;management shell for Exchange. Referring to this article on Exchange 2007 Wiki: &lt;A href="http://www.exchangeninjas.com/TUPMAppA"&gt;http://www.exchangeninjas.com/TUPMAppA&lt;/A&gt;; we need to do the following from the&amp;nbsp;Exchange Management&amp;nbsp;Shell:&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: TH"&gt;&lt;STRONG&gt;add-adpermission '&amp;lt;receivername&amp;gt;' -User 'NT AUTHORITY\ANONYMOUS LOGON' -ExtendedRights ms-Exch-SMTP-Accept-Authoritative-Domain-Sender&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: TH"&gt;where &amp;lt;receivername&amp;gt; is the name of our Receive Connector of Internet type created above.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://i88.photobucket.com/albums/k189/fooshen/blogs/sharepoint_exchange_05.jpg" mce_src="http://i88.photobucket.com/albums/k189/fooshen/blogs/sharepoint_exchange_05.jpg"&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;And that's it! Now my SharePoint 2007 and Exchange 2007 can live together happily ever after (well, until the RTM at least).&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=805334" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/fooshen/archive/tags/SharePoint+2007/default.aspx">SharePoint 2007</category><category domain="http://blogs.msdn.com/fooshen/archive/tags/Exchange+2007/default.aspx">Exchange 2007</category></item></channel></rss>