?>
<?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; Linux</title>
	<atom:link href="http://www.mattgibson.ca/tags/linux/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>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>
		<item>
		<title>Ubuntu Server LTS 8.04 VMWare VMTools Howto and Tutorial</title>
		<link>http://www.mattgibson.ca/2008/06/17/ubuntu-server-lts-804-vmware-vmtools-howto-and-tutorial/</link>
		<comments>http://www.mattgibson.ca/2008/06/17/ubuntu-server-lts-804-vmware-vmtools-howto-and-tutorial/#comments</comments>
		<pubDate>Tue, 17 Jun 2008 05:57:26 +0000</pubDate>
		<dc:creator>Matt G</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Vmware]]></category>
		<category><![CDATA[vmware tools]]></category>
		<category><![CDATA[workstation]]></category>

		<guid isPermaLink="false">http://www.mattgibson.ca/archives/112</guid>
		<description><![CDATA[You may have some difficulty with Ubuntu Server and VMWare Tools. Here&#8217;s how we got it working in the end: start vm # sudo mount /cdrom # cd /cdrom # cp *.tgz /tmp # cd /tmp # apt-get install build-essentials # apt-get install linux-headers-`uname -r` # tar xzvf vmtools&#60;yourversion.tgz&#62; # cd vmtools&#60;yourver&#62; # perl vmware-install.pl [...]]]></description>
			<content:encoded><![CDATA[<p>You may have some difficulty with Ubuntu Server and VMWare Tools. Here&#8217;s how we got it working in the end:</p>
<ul>
<li>start vm</li>
<li># sudo mount /cdrom</li>
<li># cd /cdrom</li>
<li># cp *.tgz /tmp</li>
<li># cd /tmp</li>
<li># apt-get install build-essentials</li>
<li># apt-get install linux-headers-`uname -r`</li>
<li># tar xzvf vmtools&lt;yourversion.tgz&gt;</li>
<li># cd vmtools&lt;yourver&gt;</li>
<li># perl vmware-install.pl</li>
</ul>
<p>That&#8217;s it. You might want to modify your console settings so you can get 1024&#215;768 from VMWare Workstation, but it&#8217;s not really required if you&#8217;re just SSH&#8217;ing to it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattgibson.ca/2008/06/17/ubuntu-server-lts-804-vmware-vmtools-howto-and-tutorial/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Adding TinyMCE to your ProjectPier or ActiveCollab Installation</title>
		<link>http://www.mattgibson.ca/2008/04/19/adding-tinymce-to-your-projectpier-or-activecollab-installation/</link>
		<comments>http://www.mattgibson.ca/2008/04/19/adding-tinymce-to-your-projectpier-or-activecollab-installation/#comments</comments>
		<pubDate>Sat, 19 Apr 2008 20:59:14 +0000</pubDate>
		<dc:creator>Matt G</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ProjectPier]]></category>
		<category><![CDATA[Ramblings]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[activecollab]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[project management]]></category>
		<category><![CDATA[project managers]]></category>
		<category><![CDATA[tiny mce]]></category>
		<category><![CDATA[tinymce]]></category>

		<guid isPermaLink="false">http://www.mattgibson.ca/archives/105</guid>
		<description><![CDATA[Many of you are project managers, and may be using Activecollab or ProjectPier. We were tired of their lame editor, so we decided to add TinyMCE into our installed version, both for ease of client use, and internal use. The instructions are very simple. 1. Go to ProjectPier, grab the latest version (or svn) 2. [...]]]></description>
			<content:encoded><![CDATA[<p>Many of you are project managers, and may be using <a title="ActiveCollab" href="http://www.activecollab.com">Activecollab</a> or <a title="ProjectPier" href="http://www.mattgibson.ca/wp-admin/www.projectpier.org">ProjectPier</a>.</p>
<p>We were tired of their lame editor, so we decided to add <a title="TinyMCE" href="http://tinymce.moxiecode.com/">TinyMCE</a> into our installed version, both for ease of client use, and internal use.</p>
<p>The instructions are very simple.</p>
<p>1. Go to <a title="ProjectPier" href="http://www.mattgibson.ca/wp-admin/www.projectpier.org">ProjectPier</a>, grab the latest version (or svn)</p>
<p>2. Install <a title="ProjectPier" href="http://www.mattgibson.ca/wp-admin/www.projectpier.org">ProjectPier</a> as you would normally</p>
<p>3. Install any <a title="Projectpier Development" href="http://www.projectpier.org/development">custom patches</a> or <a title="Project Pier Addons" href="http://www.projectpier.org/forum">addons</a> to project pier.</p>
<p>4. Download <a title="TinyMCE" href="http://tinymce.moxiecode.com/">TinyMCE</a></p>
<p>5. Uncompress <a title="TinyMCE" href="http://tinymce.moxiecode.com/">TinyMCE</a>, and enter the newly extracted directory. You will see a javascript directory. Rename this to tiny_mce.</p>
<p>6. Copy your newly renamed &#8220;tiny_mce&#8221; directory to the root of your ProjectPier installation.</p>
<blockquote><p># cp -R tiny_mce /var/www/yoursite/htdocs/projectpier/</p></blockquote>
<p>7. Now, this is the only &#8220;complicated&#8221; part. Go into your ProjectPier installation directory, and then enter the applications directory. Like this.</p>
<blockquote><p># cd /var/www/yoursite/htdocs/projectpier/<br />
# cd application<br />
# cd layouts</p></blockquote>
<p>8. Now you&#8217;re going to want to edit three files</p>
<blockquote><p># nano administration.php dashboard.php project_website.php</p></blockquote>
<p>9. Now in these files, you&#8217;re going to want to add the include for tiny_mce. Add the following code after the last &#8220;add_javascript_to_page&#8221; line at the top of each file and then you are done.</p>
<blockquote><p>&lt;?php echo add_javascript_to_page(&#8216;dropdown.js&#8217;) ?&gt;<br />
&lt;script language=&#8221;javascript&#8221;  type=&#8221;text/javascript&#8221; src=&#8221;<a href="&quot;http://www.yoursite.com/projectpier/tiny_mce/tiny_mce.js&quot;">http://www.yoursite.com/projectpier/tiny_mce/tiny_mce.js&#8221;&gt;&lt;/script</a>&gt;<br />
&lt;script language=&#8221;javascript&#8221; type=&#8221;text/javascript&#8221;&gt;<br />
tinyMCE.init({<br />
force_p_newlines: &#8220;false&#8221;,<br />
forced_root_block : &#8221;,<br />
theme : &#8220;advanced&#8221;,<br />
mode : &#8220;textareas&#8221;<br />
});<br />
&lt;/script&gt;</p></blockquote>
<p>10. That&#8217;s It! You are finished adding TinyMCE to your Project Management Installation! It should look something like this.</p>
<p align="center"><img src="http://www.mattgibson.ca/wp-content/uploads/2008/04/capture.jpg" alt="Capture" width="400" height="291" /></p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattgibson.ca/2008/04/19/adding-tinymce-to-your-projectpier-or-activecollab-installation/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
	</channel>
</rss>

