?>
<?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>Matt Gibson &#187; microsoft</title>
	<atom:link href="http://www.mattgibson.ca/tags/microsoft/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mattgibson.ca</link>
	<description>I'm one of those people radio shows call for obscure shit.</description>
	<lastBuildDate>Sat, 03 Dec 2011 19:30:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Setting up Split-Split DNS with Windows SBS 2003 DNS Services, easily.</title>
		<link>http://www.mattgibson.ca/2008/07/13/setting-up-split-split-dns-with-windows-sbs-2003-dns-services-easily/</link>
		<comments>http://www.mattgibson.ca/2008/07/13/setting-up-split-split-dns-with-windows-sbs-2003-dns-services-easily/#comments</comments>
		<pubDate>Sun, 13 Jul 2008 09:23:33 +0000</pubDate>
		<dc:creator>Matt G</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows Mobile]]></category>
		<category><![CDATA[howto setup]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[mobile devices]]></category>
		<category><![CDATA[outlook web access]]></category>
		<category><![CDATA[windows 2003 server]]></category>

		<guid isPermaLink="false">http://www.mattgibson.ca/2008/07/13/setting-up-split-split-dns-with-windows-sbs-2003-dns-services-easily/</guid>
		<description><![CDATA[Have you ever wondered how you could access your external hostnames, internal to your network connected via wifi, mobile devices or just plain old desktops? Today we found out we needed to. Our mobile devices require the use of external hostnames to sync data against. And it&#8217;s nice being able to use our external hostname [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever wondered how you could access your external hostnames, internal to your network connected via wifi, mobile devices or just plain old desktops? Today we found out we needed to. Our mobile devices require the use of external hostnames to sync data against. And it&#8217;s nice being able to use our external hostname for Outlook Web Access, and debugging internally.</p>
<p><strong>For example:</strong></p>
<ul>
<li>Billy wants to visit <a href="http://www.mattgibson.ca">http://www.mycompanyname.com</a></li>
<li>Billy can&#8217;t because that particular site is hosted off the external IP of the network he&#8217;s on. Gosh, what to do?</li>
<li>Billy Reads the Howto Setup SPLIT-SPLIT DNS with SBS 2003 DNS Server below</li>
<li>Billy can now visit <a href="http://www.mattgibson.ca">http://www.mycompanyname.com</a> because it&#8217;s mapped to the internal ip of 192.168.1.1 or whatever your networking scheme is.</li>
<li>Billy is now happy.</li>
</ul>
<p>Off we went to Google, to try and find out what we needed; DNS Redirection? No, IP Port Redirection? No, Redirect External IP to Local IP, No. Tiresom it was, searching for this.</p>
<p>Then we decided to try and jump right in to figuring it out. First, we tried doing it at the router level, but none of us are IOS guru&#8217;s so this quickly became out of the question. Next we tried running a secondary DNS server on the SBS2K3 Server, and transferring the domain from our live server at the Datacenter in Seattle. This also didn&#8217;t work because once the domain was transferred into our secondary DNS on the Windows 2003 Server we weren&#8217;t able to edit any of the records. Pitty.</p>
<p>So, on we were to IRC. Ahhh, IRC. Not too many people use it anymore, but usually really cool people are available to help out. After asking in a couple channels we figured out that what we needed to do was set up something called <a href="http://www.isaserver.org/tutorials/You_Need_to_Create_a_Split_DNS.html">Split-Split DNS</a>. Basically all this is, is the method of running two DNS Servers. One inside your network, and one external to your network. Here&#8217;s a Microsoft Article on the subject of <a href="http://www.microsoft.com/technet/solutionaccelerators/wssra/raguide/NetworkServices/ignsbp_2.mspx#EYDAG">Enterprise DNS Design</a> which involves Split-Split DNS. This allows for internal hosts behind NAT networks to see external hostnames as if they are on the internal network.</p>
<p>With a bit more searching we came across <a href="http://blog.gingerlime.com/windows-2003-split-dns">this excellent post</a> by Ginger Lime. Using their instructions we have created a simple howto for doing the same thing on your internal domain.</p>
<p>With our little howto, you&#8217;ll be able to get this done quickly and easily on your internal windows sbs 2003 domain name server. Please readon for the howto.</p>
<p>First, we&#8217;ll have to open the DNS control panel. This is in the main server management console, under the computer management box. Here&#8217;s a screenshot. Make sure you enter into the Forward Lookup Zones box.</p>
<p align="center"><img src="http://www.mattgibson.ca/wp-content/uploads/2008/07/dns1.jpg" alt="dns1" width="295" height="336" /></p>
<p>Now, right click on &#8220;<strong>Forward Lookup Zones</strong>&#8221; and click on &#8220;<strong>Add New Zone</strong>&#8220;. Like This.</p>
<p align="center"><img src="http://www.mattgibson.ca/wp-content/uploads/2008/07/dns2.jpg" alt="dns2" width="295" height="336" /></p>
<p>Now you&#8217;ll be presented with the New Zone Wizard window. Click Next.</p>
<p align="center"><img src="http://www.mattgibson.ca/wp-content/uploads/2008/07/3-1.jpg" alt="3" width="400" height="310" /></p>
<p>Now, Select a primary Zone for this tutorial.</p>
<p align="center"><img src="http://www.mattgibson.ca/wp-content/uploads/2008/07/4.jpg" alt="4" width="400" height="309" /></p>
<p>Disable the storage of the information in Active Directory. Click Next.</p>
<p align="center"><img src="http://www.mattgibson.ca/wp-content/uploads/2008/07/5-1.jpg" alt="5" width="400" height="37" /></p>
<p>Now type in your domain name that you want to resolve internally. Some common ones might be dev.yourdomain.com or www.yourdomain.com or similar. Click Next.</p>
<p align="center"><img src="http://www.mattgibson.ca/wp-content/uploads/2008/07/6-1.jpg" alt="6" width="400" height="308" /></p>
<p>This window will be automatically filled out for you. Just click Next.</p>
<p align="center"><img src="http://www.mattgibson.ca/wp-content/uploads/2008/07/7-1.jpg" alt="7" width="400" height="308" /></p>
<p>Now, make sure you don&#8217;t allow dynamic updates. This record is something you should be manually updating only. Click Next.</p>
<p align="center"><img src="http://www.mattgibson.ca/wp-content/uploads/2008/07/8-1.jpg" alt="8" width="400" height="309" /></p>
<p>Your new zone is complete. Click Finish.</p>
<p align="center"><img src="http://www.mattgibson.ca/wp-content/uploads/2008/07/9-1.jpg" alt="9" width="400" height="307" /></p>
<p>Now, Right Click your new zone (external.hostname.com), and select to &#8220;New Host (A)&#8221;. Let go of your mouse button now. <img src='http://www.mattgibson.ca/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p align="center"><img src="http://www.mattgibson.ca/wp-content/uploads/2008/07/dns3-1.jpg" alt="dns3" width="295" height="336" /></p>
<p>Now, add your internal IP address to the host, but leave the Name blank. Like this. Also leave the PTR record one un-checked since we don&#8217;t need it. Click Add Host.</p>
<p align="center"><img src="http://www.mattgibson.ca/wp-content/uploads/2008/07/last.jpg" alt="last" width="353" height="330" /></p>
<p>You should see a message like this pop up.</p>
<p align="center"><img src="http://www.mattgibson.ca/wp-content/uploads/2008/07/11-1.jpg" alt="11" width="400" height="121" /></p>
<p>Click on the Done button to leave this window.</p>
<p align="center"><img src="http://www.mattgibson.ca/wp-content/uploads/2008/07/12-1.jpg" alt="12" width="188" height="91" /></p>
<p>Now you should see a blank host, with the internal IP address you specified during the last section of this tutorial.</p>
<p align="center"><a href="http://www.mattgibson.ca/wp-content/uploads/2008/07/13-1-1.jpg"><img src="http://www.mattgibson.ca/wp-content/uploads/2008/07/13-1-1-small.jpg" alt="13" width="339" height="19" /></a></p>
<p>Now you&#8217;re finished setting up a SPLIT-SPLIT DNS server using SBS2k3.</p>
<p>Go over to a different computer on your network that uses the Windows 2003 SBS Server as it&#8217;s DNS Controller, and try a nslookup or ping against the external hostname you&#8217;ve just added. If you get ping returns you&#8217;re good to go.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattgibson.ca/2008/07/13/setting-up-split-split-dns-with-windows-sbs-2003-dns-services-easily/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Using SSL POP3 (Google Apps/Gmail) with Kayako SupportSuite</title>
		<link>http://www.mattgibson.ca/2008/06/19/using-ssl-pop3-google-appsgmail-with-kayako-supportsuite/</link>
		<comments>http://www.mattgibson.ca/2008/06/19/using-ssl-pop3-google-appsgmail-with-kayako-supportsuite/#comments</comments>
		<pubDate>Fri, 20 Jun 2008 04:02:25 +0000</pubDate>
		<dc:creator>Matt G</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[kayako supportsuite]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[microsoft exchange server]]></category>
		<category><![CDATA[microsoft small business]]></category>
		<category><![CDATA[pop3 service]]></category>
		<category><![CDATA[small business server]]></category>
		<category><![CDATA[stunnel]]></category>
		<category><![CDATA[support software]]></category>

		<guid isPermaLink="false">http://www.mattgibson.ca/archives/115</guid>
		<description><![CDATA[Many of us need to run Support Software to keep on top of client needs and requests, as well as remove some of the burden from our support staff. Because of this need, we are using Kayako SupportSuite for our helpdesk application. While setting it up, we noticed that the latest release has a little [...]]]></description>
			<content:encoded><![CDATA[<p>Many of us need to run <a href="http://www.kayako.com/">Support Software</a> to keep on top of client needs and requests, as well as remove some of the burden from our support staff.</p>
<p>Because of this need, we are using <a href="http://www.kayako.com/">Kayako SupportSuite</a> for our helpdesk application. While setting it up, we noticed that the latest release has a little bit of an issue with fetching mail using <a href="http://mail.google.com/">google&#8217;s pop3 service</a>.</p>
<p>We haven&#8217;t looked into the problem too much, but we have noted that there is mention of it on the <a href="http://www.kayako.com/">Kayako</a> Forums that other users are experiencing the same difficulties.</p>
<p>Of course, we made sure our PHP installation was indeed compiled with SSL and IMAP and IMAP-SSL support, but this still did not fix the problem. So far, this is the only &#8220;solution&#8221; given by the <a href="http://www.kayako.com/">Kayako</a> support representatives.</p>
<p>Well, we actually wanted it to work, so we dug a little furthur into it. As it turns out, it&#8217;s not actually Kayako&#8217;s fault that this doesn&#8217;t work, but merely a not-so-great implementation of SSL/POP3 in PHP. <a href="http://www.kayako.com/">Kayako</a> could work around this, and are aware of the problem so we assume it will get fixed in future releases.</p>
<p>We did get IMAP SSL working using the <a href="http://www.kayako.com/">Kayako</a> fetching script, but IMAP is not perfect for support queues. So, we still wanted to get POP3 working. No matter what was tried, we could not get it to work.</p>
<p>Then, an ephinany hit &#8211; we also use <a href="http://www.microsoft.com/windowsserver2003/sbs/default.mspx">Microsoft Small Business Server </a> on our Intranet, and we ran into this problem previously with <a href="http://www.microsoft.com/windowsserver2003/sbs/default.mspx">Exchange server</a> not being able to communicate with SSL enabled mail hosts.</p>
<p>So, we introduced the same hack that we did on the <a href="http://www.microsoft.com/windowsserver2003/sbs/default.mspx">Microsoft Exchange Server</a>, to our <a href="http://www.kayako.com/">Kayako SupportSuite</a> Linux Server.</p>
<p>We used <a href="http://www.stunnel.org/">Stunnel</a>.</p>
<p>Elegant? No. Best Solution Ever? No. Does it work? So far, flawlessly.</p>
<p>It&#8217;s very easy to setup, and get going. Here is what we had to do under <a href="http://www.gentoo.org/">Gentoo Linux</a>.</p>
<p>First we made sure our use flags were proper</p>
<blockquote><p># emerge -pv stunnel</p></blockquote>
<p>Which outputs this</p>
<blockquote><p><em>net-misc/stunnel-4.21-r1 USE=&#8221;ssl tcpd -ipv6 (-selinux)&#8221;</em></p></blockquote>
<p>This looks fine, we need tcpd, and ssl. Now we install stunnel.</p>
<blockquote><p># emerge stunnel</p></blockquote>
<p>Then we have to configure some options, which are very straight forward</p>
<blockquote><p># nano /etc/stunnel/stunnel.conf</p></blockquote>
<p>Now we make the file look like this</p>
<blockquote><p>setuid = stunnel<br />
setgid = stunnel<br />
pid = /var/run/stunnel/stunnel.pid<br />
socket = l:TCP_NODELAY=1<br />
socket = r:TCP_NODELAY=1<br />
output = stunnel.log<br />
client = yes<br />
debug = 7</p>
<p>[pop3s]<br />
accept = 127.0.0.1:1109<br />
connect = pop.gmail.com:995</p>
<p>[smtps]<br />
accept = 127.0.0.1:259<br />
connect = smtp.gmail.com:465</p></blockquote>
<p>Save and exit the file. These lines will make the SMTP-SSL server listen on localhost port 259, and connect out to gmail at port 465. The POP-SSL will be listening on localhost port 1109, connecting out to gmail on port 995.</p>
<p>That&#8217;s it for the stunnel configuration. You can start it up like so.</p>
<blockquote><p># /etc/init.d/stunnel start</p></blockquote>
<p>Now add it to your defaults so it will auto start</p>
<blockquote><p># rc-update add stunnel default</p></blockquote>
<p>So, we&#8217;re done with the stunnel configuration. Now we&#8217;ll need to configure Kayako so make use of this.</p>
<div style="margin-left: 2em">
<ol>
<li>Login to your Kayako Administration Interface</li>
<li>Click on Settings on the left menu</li>
<li>Click on CPU Optimization &amp; Server</li>
<li>Scroll down to &#8220;SMTP Settings&#8221; and make sure it&#8217;s the following:Enable SMTP: Yes<br />
SMTP Host: 127.0.0.1<br />
SMTP Port: 259<br />
Use SMTP Authentication: Yes<br />
SMTP Username: <a href="mailto:youraddress@gmail.com">youraddress@gmail.com</a> (or <a href="mailto:youraddress@yourdomain.com">youraddress@yourdomain.com</a>)<br />
SMTP Password: yourpassword</li>
<li>Click Update Settings.</li>
</ol>
</div>
<p>Now we&#8217;re done with the SMTP setup, so we&#8217;ll have to setup your email queues with the proper information. We&#8217;ll assume you&#8217;ve already read the <a href="https://members.kayako.net/">Kayako documentation</a> on email queues and will not go into them here.</p>
<div style="margin-left: 2em; MARGIN-RIGHT: 0px" dir="ltr">
<ol>
<li>Still in the Kayako Administration Interface Click Mail Parser on the left menu</li>
<li>Now click on Manage E-mail Queues from the dropdown menu</li>
<li>Click on your Email Queue (for example: <a href="mailto:support@yourdomain.com">support@yourdomain.com</a>) or create a new one</li>
<li>Scroll down to Login Information and ensure these settings are configured:Host: 127.0.0.1<br />
Port: 1109<br />
Username:  <a href="mailto:youraddress@gmail.com">youraddress@gmail.com</a> (or <a href="mailto:youraddress@yourdomain.com">youraddress@yourdomain.com</a>)<br />
Password: yourpassword</li>
<li>Configure any other options for your email queue.</li>
<li>Scroll down and click on Update to save your changes.</li>
<li>Repeat with any other email queues changing the email address/password for each account.</li>
</ol>
</div>
<p>Now you are finished the <a href="http://www.kayako.com/">Kayako</a> configuration. You should be able to run your administrative cron script to check for new mail. Check the Scheduled Tasks -&gt; Task Log to verify that your mail is being fetched. If you don&#8217;t know what we&#8217;re talking about here, you haven&#8217;t read the <a href="https://members.kayako.net/">Kayako documentation</a>, and <a href="https://members.kayako.net/">should do so now</a>.</p>
<p>We&#8217;ve been using this for a few weeks now and haven&#8217;t had an issue. It&#8217;s cronned to check mail every 2 minutes, and we have the added benefit of <a href="http://mail.google.com/">Google Apps</a> archiving all incoming mail for us automatically before <a href="http://www.kayako.com/">Kayako</a> picks it up for delivery.</p>
<p>Hope you like the tutorial, we welcome feedback in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattgibson.ca/2008/06/19/using-ssl-pop3-google-appsgmail-with-kayako-supportsuite/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

