
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/css" href="http://www.oesf.org/skins/common/feed.css?97"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.oesf.org/index.php?title=How_to_use_stunnel_to_do_SSL_email_in_QTmail&amp;action=history&amp;feed=atom</id>
		<title>How to use stunnel to do SSL email in QTmail - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.oesf.org/index.php?title=How_to_use_stunnel_to_do_SSL_email_in_QTmail&amp;action=history&amp;feed=atom"/>
		<link rel="alternate" type="text/html" href="http://www.oesf.org/index.php?title=How_to_use_stunnel_to_do_SSL_email_in_QTmail&amp;action=history"/>
		<updated>2013-05-22T11:27:13Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.11.0</generator>

	<entry>
		<id>http://www.oesf.org/index.php?title=How_to_use_stunnel_to_do_SSL_email_in_QTmail&amp;diff=9491&amp;oldid=prev</id>
		<title>Smammon at 19:55, 26 December 2006</title>
		<link rel="alternate" type="text/html" href="http://www.oesf.org/index.php?title=How_to_use_stunnel_to_do_SSL_email_in_QTmail&amp;diff=9491&amp;oldid=prev"/>
				<updated>2006-12-26T19:55:12Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;

			&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;tr&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;←Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 19:55, 26 December 2006&lt;/td&gt;
			&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;&lt;!-- Bad Behavior 2.0.11 run time: 30.511 ms --&gt;&lt;p&gt;Line 12:
&lt;/p&gt;&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;&lt;!-- Bad Behavior 2.0.11 run time: 30.511 ms --&gt;&lt;p&gt;Line 12:
&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*QTmail ===&amp;gt; Zaurus/inetd ====&amp;gt; stunnel ====&amp;gt; gmail.com&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*QTmail ===&amp;gt; Zaurus/inetd ====&amp;gt; stunnel ====&amp;gt; gmail.com&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;This is easily done really.  Begin by downloading and installing the ipk from the above link.  Once that is done gather the information needed to connect to your mail provider.  I'll use gmail in my examples but the process is the same for pretty much any provider and for any non ssl email client if you don't like QTmail for some reason.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;This is easily done&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;, &lt;/ins&gt;really.  Begin by downloading and installing the ipk from the above link.  Once that is done gather the information needed to connect to your mail provider.  I'll use gmail in my examples but the process is the same for pretty much any provider and for any non ssl email client if you don't like QTmail for some reason.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;First lets configure QTmail.  In Mail-Account highlight and edit the account you are setting up or click new.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;First lets configure QTmail.  In Mail-Account highlight and edit the account you are setting up or click new.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;&lt;!-- Bad Behavior 2.0.11 run time: 30.511 ms --&gt;&lt;p&gt;Line 22:
&lt;/p&gt;&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;&lt;!-- Bad Behavior 2.0.11 run time: 30.511 ms --&gt;&lt;p&gt;Line 22:
&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Next we will need to edit two system files.  You will need root privilege to edit these files.  You can do this very easily using Zeditor or some other editor - tap and hold on the Icon until the details dialog opens and check &amp;quot;Execute with root privilege&amp;quot;.  You can also open the terminal, type &amp;quot;su&amp;quot; and then use vi to edit the files.  &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Next we will need to edit two system files.  You will need root privilege to edit these files.  You can do this very easily using Zeditor or some other editor - tap and hold on the Icon until the details dialog opens and check &amp;quot;Execute with root privilege&amp;quot;.  You can also open the terminal, type &amp;quot;su&amp;quot; and then use vi to edit the files.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* '''NOTE / DISCLAIMER: If you've never used vi before - practice on un-important files until you are confident enough to mess around where sysadmins roam. Also, editing the following files is not difficult, but will have effects on your network configuration.  If you really mess up it could make your network connections non-functional.  I recommend making backup copies of these files before you edit.''' &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* '''NOTE / DISCLAIMER: If you've never used vi before - practice on un-important files until you are confident enough to mess around where sysadmins roam. &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt; &lt;/ins&gt;Also, editing the following files is not difficult, but will have effects on your network configuration.  If you really mess up it could make your network connections non-functional.  I recommend making backup copies of these files before you edit.''' &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;First we will need to create a couple of entries in /etc/services.  Open the file and just go to the very bottom.  Add the following:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;First we will need to create a couple of entries in /etc/services.  Open the file and just go to the very bottom.  Add the following:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Smammon</name></author>	</entry>

	<entry>
		<id>http://www.oesf.org/index.php?title=How_to_use_stunnel_to_do_SSL_email_in_QTmail&amp;diff=3083&amp;oldid=prev</id>
		<title>Smammon at 19:53, 26 December 2006</title>
		<link rel="alternate" type="text/html" href="http://www.oesf.org/index.php?title=How_to_use_stunnel_to_do_SSL_email_in_QTmail&amp;diff=3083&amp;oldid=prev"/>
				<updated>2006-12-26T19:53:21Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;

			&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;tr&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;←Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 19:53, 26 December 2006&lt;/td&gt;
			&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;&lt;!-- Bad Behavior 2.0.11 run time: 30.511 ms --&gt;&lt;p&gt;Line 22:
&lt;/p&gt;&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;&lt;!-- Bad Behavior 2.0.11 run time: 30.511 ms --&gt;&lt;p&gt;Line 22:
&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Next we will need to edit two system files.  You will need root privilege to edit these files.  You can do this very easily using Zeditor or some other editor - tap and hold on the Icon until the details dialog opens and check &amp;quot;Execute with root privilege&amp;quot;.  You can also open the terminal, type &amp;quot;su&amp;quot; and then use vi to edit the files.  &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Next we will need to edit two system files.  You will need root privilege to edit these files.  You can do this very easily using Zeditor or some other editor - tap and hold on the Icon until the details dialog opens and check &amp;quot;Execute with root privilege&amp;quot;.  You can also open the terminal, type &amp;quot;su&amp;quot; and then use vi to edit the files.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* '''NOTE: If you've never used vi before - practice on un-important files until you are confident enough to mess around where sysadmins roam.&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;''' &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* '''NOTE &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;/ DISCLAIMER&lt;/ins&gt;: If you've never used vi before - practice on un-important files until you are confident enough to mess around where sysadmins roam. &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;Also, &lt;/ins&gt;editing the following files is not difficult, but will have effects on your network configuration.  If you really mess up it could make your network connections non-functional.  I recommend making backup copies of these files before you edit.''' &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;* '''Disclaimer - &lt;/del&gt;editing the following files is not difficult, but will have effects on your network configuration.  If you really mess up it could make your network connections non-functional.  I recommend making backup copies of these files before you edit.''' &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;First we will need to create a couple of entries in /etc/services.  Open the file and just go to the very bottom.  Add the following:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;First we will need to create a couple of entries in /etc/services.  Open the file and just go to the very bottom.  Add the following:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Smammon</name></author>	</entry>

	<entry>
		<id>http://www.oesf.org/index.php?title=How_to_use_stunnel_to_do_SSL_email_in_QTmail&amp;diff=3082&amp;oldid=prev</id>
		<title>Smammon at 19:50, 26 December 2006</title>
		<link rel="alternate" type="text/html" href="http://www.oesf.org/index.php?title=How_to_use_stunnel_to_do_SSL_email_in_QTmail&amp;diff=3082&amp;oldid=prev"/>
				<updated>2006-12-26T19:50:01Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;

			&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;tr&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;←Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 19:50, 26 December 2006&lt;/td&gt;
			&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;&lt;!-- Bad Behavior 2.0.11 run time: 30.511 ms --&gt;&lt;p&gt;Line 40:
&lt;/p&gt;&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;&lt;!-- Bad Behavior 2.0.11 run time: 30.511 ms --&gt;&lt;p&gt;Line 40:
&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Next we need to add a couple of lines to /etc/inetd.conf.  Go to the bottom of that file and add:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Next we need to add a couple of lines to /etc/inetd.conf.  Go to the bottom of that file and add:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; &amp;lt;nowiki&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;#&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;#&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;# stunnel entries&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;# stunnel entries&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;&lt;!-- Bad Behavior 2.0.11 run time: 30.511 ms --&gt;&lt;p&gt;Line 45:
&lt;/p&gt;&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;&lt;!-- Bad Behavior 2.0.11 run time: 30.511 ms --&gt;&lt;p&gt;Line 46:
&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;gmail-pop3s stream tcp nowait root /usr/sbin/tcpd /usr/sbin/stunnel -r pop.gmail.com:995 -c&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;gmail-pop3s stream tcp nowait root /usr/sbin/tcpd /usr/sbin/stunnel -r pop.gmail.com:995 -c&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;gmail-smtps stream tcp nowait root /usr/sbin/tcpd /usr/sbin/stunnel -r smtp.gmail.com:465 -c&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;gmail-smtps stream tcp nowait root /usr/sbin/tcpd /usr/sbin/stunnel -r smtp.gmail.com:465 -c&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt; &amp;lt;/nowiki&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;This tells inetd what to do when it receives a connection on those ports we setup in the services file. In these cases it's launch /usr/sbin/stunnel as a client connecting to the gmail servers.  If you are connecting to another service make your changes here and make sure to include the correct ports after the the colon.   (Gmail uses 995 and 465)  Save and close this file.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;This tells inetd what to do when it receives a connection on those ports we setup in the services file. In these cases it's launch /usr/sbin/stunnel as a client connecting to the gmail servers.  If you are connecting to another service make your changes here and make sure to include the correct ports after the the colon.   (Gmail uses 995 and 465)  Save and close this file.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Now we need to do one more thing before we test the connection.  Restart inetd. (Inetd reads it's configuration file only when it first starts) Open a terminal, su, and issue the following command.  &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Now we need to do one more thing before we test the connection.  Restart inetd. (Inetd reads it's configuration file only when it first starts) Open a terminal, su, and issue the following command.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;killall -hup inetd&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt; &lt;/ins&gt;killall -hup inetd&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;(killing most deamons with -hup is like playing whack-a-mole. The deamon will stop but a new one will &amp;quot;re-spawn&amp;quot; to take it's place)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;(killing most deamons with -hup is like playing whack-a-mole. The deamon will stop but a new one will &amp;quot;re-spawn&amp;quot; to take it's place)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Smammon</name></author>	</entry>

	<entry>
		<id>http://www.oesf.org/index.php?title=How_to_use_stunnel_to_do_SSL_email_in_QTmail&amp;diff=3081&amp;oldid=prev</id>
		<title>Smammon at 19:48, 26 December 2006</title>
		<link rel="alternate" type="text/html" href="http://www.oesf.org/index.php?title=How_to_use_stunnel_to_do_SSL_email_in_QTmail&amp;diff=3081&amp;oldid=prev"/>
				<updated>2006-12-26T19:48:07Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;

			&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;tr&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;←Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 19:48, 26 December 2006&lt;/td&gt;
			&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;&lt;!-- Bad Behavior 2.0.11 run time: 30.511 ms --&gt;&lt;p&gt;Line 20:
&lt;/p&gt;&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;&lt;!-- Bad Behavior 2.0.11 run time: 30.511 ms --&gt;&lt;p&gt;Line 20:
&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Do the same in the &amp;quot;Incoming&amp;quot; tab.  127.0.0.1 and use 10110 for the port.  (Same trick as above but the POP protocol normally runs on 110).&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Do the same in the &amp;quot;Incoming&amp;quot; tab.  127.0.0.1 and use 10110 for the port.  (Same trick as above but the POP protocol normally runs on 110).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Next we will need to edit two system files.  You will need root privilege to edit these files.  You can do this very easily using Zeditor or some other editor - tap and hold on the Icon until the details dialog opens and check &amp;quot;Execute with root privilege&amp;quot;.  You can also open the terminal, type &amp;quot;su&amp;quot; and then use vi to edit the files.  '''NOTE: If you've never used vi before - practice on un-important files until you are confident enough to mess around where sysadmins roam.''' &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Next we will need to edit two system files.  You will need root privilege to edit these files.  You can do this very easily using Zeditor or some other editor - tap and hold on the Icon until the details dialog opens and check &amp;quot;Execute with root privilege&amp;quot;.  You can also open the terminal, type &amp;quot;su&amp;quot; and then use vi to edit the files.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;* &lt;/ins&gt;'''NOTE: If you've never used vi before - practice on un-important files until you are confident enough to mess around where sysadmins roam.''' &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* '''Disclaimer - editing the following files is not difficult, but will have effects on your network configuration.  If you really mess up it could make your network connections non-functional.  I recommend making backup copies of these files before you edit.''' &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* '''Disclaimer - editing the following files is not difficult, but will have effects on your network configuration.  If you really mess up it could make your network connections non-functional.  I recommend making backup copies of these files before you edit.''' &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;&lt;!-- Bad Behavior 2.0.11 run time: 30.511 ms --&gt;&lt;p&gt;Line 26:
&lt;/p&gt;&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;&lt;!-- Bad Behavior 2.0.11 run time: 30.511 ms --&gt;&lt;p&gt;Line 28:
&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;First we will need to create a couple of entries in /etc/services.  Open the file and just go to the very bottom.  Add the following:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;First we will need to create a couple of entries in /etc/services.  Open the file and just go to the very bottom.  Add the following:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;nowiki&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt; &lt;/ins&gt;&amp;lt;nowiki&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;#&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;#&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;# stunnel entries&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;# stunnel entries&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;#&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;#&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;gmail-pop3s	10110/tcp&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;gmail-pop3s	10110/tcp&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;gmail-smtps	10025/tcp&amp;lt;/nowiki&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;gmail-smtps	10025/tcp&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt; &lt;/ins&gt;&amp;lt;/nowiki&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;This will allow inetd (the Linux network deamon) to put a label on what protocol is connecting to ports 10110 and 10025.  Save the file and close it.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;This will allow inetd (the Linux network deamon) to put a label on what protocol is connecting to ports 10110 and 10025.  Save the file and close it.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Smammon</name></author>	</entry>

	<entry>
		<id>http://www.oesf.org/index.php?title=How_to_use_stunnel_to_do_SSL_email_in_QTmail&amp;diff=3080&amp;oldid=prev</id>
		<title>Smammon at 19:47, 26 December 2006</title>
		<link rel="alternate" type="text/html" href="http://www.oesf.org/index.php?title=How_to_use_stunnel_to_do_SSL_email_in_QTmail&amp;diff=3080&amp;oldid=prev"/>
				<updated>2006-12-26T19:47:02Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;

			&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;tr&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;←Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 19:47, 26 December 2006&lt;/td&gt;
			&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;&lt;!-- Bad Behavior 2.0.11 run time: 30.511 ms --&gt;&lt;p&gt;Line 20:
&lt;/p&gt;&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;&lt;!-- Bad Behavior 2.0.11 run time: 30.511 ms --&gt;&lt;p&gt;Line 20:
&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Do the same in the &amp;quot;Incoming&amp;quot; tab.  127.0.0.1 and use 10110 for the port.  (Same trick as above but the POP protocol normally runs on 110).&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Do the same in the &amp;quot;Incoming&amp;quot; tab.  127.0.0.1 and use 10110 for the port.  (Same trick as above but the POP protocol normally runs on 110).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Next we will need to edit two system files.  You will need root privilege to edit these files.  You can do this very easily using Zeditor or some other editor - tap and hold on the Icon until the details dialog opens and check &amp;quot;Execute with root privilege&amp;quot;.  You can also open the terminal, type &amp;quot;su&amp;quot; and then use vi to edit the files.  NOTE: If you've never used vi before - practice on un-important files until you are confident enough to mess around where sysadmins roam. &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Next we will need to edit two system files.  You will need root privilege to edit these files.  You can do this very easily using Zeditor or some other editor - tap and hold on the Icon until the details dialog opens and check &amp;quot;Execute with root privilege&amp;quot;.  You can also open the terminal, type &amp;quot;su&amp;quot; and then use vi to edit the files.  &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;'''&lt;/ins&gt;NOTE: If you've never used vi before - practice on un-important files until you are confident enough to mess around where sysadmins roam.&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;''' &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;** &lt;/del&gt;Disclaimer - editing the following files is not difficult, but will have effects on your network configuration.  If you really mess up it could make your network connections non-functional.  I recommend making backup copies of these files before you edit. &lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;***   &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;'''&lt;/ins&gt;Disclaimer - editing the following files is not difficult, but will have effects on your network configuration.  If you really mess up it could make your network connections non-functional.  I recommend making backup copies of these files before you edit.&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;''' &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;First we will need to create a couple of entries in /etc/services.  Open the file and just go to the very bottom.  Add the following:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;First we will need to create a couple of entries in /etc/services.  Open the file and just go to the very bottom.  Add the following:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;nowiki&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;#&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;#&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;# stunnel entries&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;# stunnel entries&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;#&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;#&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;gmail-pop3s	10110/tcp&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;gmail-pop3s	10110/tcp&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;gmail-smtps	10025/tcp&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;gmail-smtps	10025/tcp&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/nowiki&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;This will allow inetd (the Linux network deamon) to put a label on what protocol is connecting to ports 10110 and 10025.  Save the file and close it.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;This will allow inetd (the Linux network deamon) to put a label on what protocol is connecting to ports 10110 and 10025.  Save the file and close it.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Smammon</name></author>	</entry>

	<entry>
		<id>http://www.oesf.org/index.php?title=How_to_use_stunnel_to_do_SSL_email_in_QTmail&amp;diff=3079&amp;oldid=prev</id>
		<title>Smammon at 19:39, 26 December 2006</title>
		<link rel="alternate" type="text/html" href="http://www.oesf.org/index.php?title=How_to_use_stunnel_to_do_SSL_email_in_QTmail&amp;diff=3079&amp;oldid=prev"/>
				<updated>2006-12-26T19:39:23Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;

			&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;tr&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;←Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 19:39, 26 December 2006&lt;/td&gt;
			&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;&lt;!-- Bad Behavior 2.0.11 run time: 30.511 ms --&gt;&lt;p&gt;Line 1:
&lt;/p&gt;&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;&lt;!-- Bad Behavior 2.0.11 run time: 30.511 ms --&gt;&lt;p&gt;Line 1:
&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Howto:  Use stunnel to do SSL in QTmail (the included Zaurus email client)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Howto:  Use stunnel to do SSL in QTmail (the included Zaurus email client)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Download from here:  http://www.killefiz.de/zaurus/showdetail.php?app=605&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;*&lt;/ins&gt;Download from here:  http://www.killefiz.de/zaurus/showdetail.php?app=605&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Documentation here:  http://www.stunnel.org/&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;*&lt;/ins&gt;Documentation here:  http://www.stunnel.org/&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Why? QTmail on the Zaurus is a nice email client but does not include support for SSL.  This is now becoming more common across the net, and is needed to access gmail accounts for example.  I've written this Howto with the new user in mind so forgive the extra verbiage and please don't take offense if you are an old time kernel hacker...&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Why? QTmail on the Zaurus is a nice email client but does not include support for SSL.  This is now becoming more common across the net, and is needed to access gmail accounts for example.  I've written this Howto with the new user in mind so forgive the extra verbiage and please don't take offense if you are an old time kernel hacker...&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;&lt;!-- Bad Behavior 2.0.11 run time: 30.511 ms --&gt;&lt;p&gt;Line 10:
&lt;/p&gt;&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;&lt;!-- Bad Behavior 2.0.11 run time: 30.511 ms --&gt;&lt;p&gt;Line 10:
&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The whole connection drawn out looks like this:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The whole connection drawn out looks like this:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;QTmail ===&amp;gt; Zaurus/inetd ====&amp;gt; stunnel ====&amp;gt; gmail.com&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;*&lt;/ins&gt;QTmail ===&amp;gt; Zaurus/inetd ====&amp;gt; stunnel ====&amp;gt; gmail.com&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;Untitled 1&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;This is easily done really.  Begin by downloading and installing the ipk from the above link.  Once that is done gather the information needed to connect to your mail provider.  I'll use gmail in my examples but the process is the same for pretty much any provider and for any non ssl email client if you don't like QTmail for some reason.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;This is easily done really.  Begin by downloading and installing the ipk from the above link.  Once that is done gather the information needed to connect to your mail provider.  I'll use gmail in my examples but the process is the same for pretty much any provider and for any non ssl email client if you don't like QTmail for some reason.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Smammon</name></author>	</entry>

	<entry>
		<id>http://www.oesf.org/index.php?title=How_to_use_stunnel_to_do_SSL_email_in_QTmail&amp;diff=3078&amp;oldid=prev</id>
		<title>Smammon at 19:30, 26 December 2006</title>
		<link rel="alternate" type="text/html" href="http://www.oesf.org/index.php?title=How_to_use_stunnel_to_do_SSL_email_in_QTmail&amp;diff=3078&amp;oldid=prev"/>
				<updated>2006-12-26T19:30:57Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;

			&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;tr&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;←Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 19:30, 26 December 2006&lt;/td&gt;
			&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;&lt;!-- Bad Behavior 2.0.11 run time: 30.511 ms --&gt;&lt;p&gt;Line 4:
&lt;/p&gt;&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;&lt;!-- Bad Behavior 2.0.11 run time: 30.511 ms --&gt;&lt;p&gt;Line 4:
&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Documentation here:  http://www.stunnel.org/&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Documentation here:  http://www.stunnel.org/&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Why? QTmail on the Zaurus is a nice email client but does not include support for SSL.  This is now becoming more common &lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;accross &lt;/del&gt;the net, and is needed to access gmail accounts for example.  I've written this Howto with the new user in mind so forgive the extra &lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;verbage &lt;/del&gt;and please don't take offense if you are an old time &lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;kernal &lt;/del&gt;hacker...&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Why? QTmail on the Zaurus is a nice email client but does not include support for SSL.  This is now becoming more common &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;across &lt;/ins&gt;the net, and is needed to access gmail accounts for example.  I've written this Howto with the new user in mind so forgive the extra &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;verbiage &lt;/ins&gt;and please don't take offense if you are an old time &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;kernel &lt;/ins&gt;hacker...&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;A 20k foot view of the process:  In order for this to work we will need to &amp;quot;trick&amp;quot; QTmail into connecting to the Zaurus instead of directly attempting to connect to the mail server.  We will need to configure the Zaurus to accept the connection and then use an open source program called stunnel to make the outgoing connection via SSL. This is where running a full version of Linux comes in really handy. &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;A 20k foot view of the process:  In order for this to work we will need to &amp;quot;trick&amp;quot; QTmail into connecting to the Zaurus instead of directly attempting to connect to the mail server.  We will need to configure the Zaurus to accept the connection and then use an open source program called stunnel to make the outgoing connection via SSL. This is where running a full version of Linux comes in really handy. &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;&lt;!-- Bad Behavior 2.0.11 run time: 30.511 ms --&gt;&lt;p&gt;Line 12:
&lt;/p&gt;&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;&lt;!-- Bad Behavior 2.0.11 run time: 30.511 ms --&gt;&lt;p&gt;Line 12:
&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;QTmail ===&amp;gt; Zaurus/inetd ====&amp;gt; stunnel ====&amp;gt; gmail.com&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;QTmail ===&amp;gt; Zaurus/inetd ====&amp;gt; stunnel ====&amp;gt; gmail.com&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Untitled 1&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Untitled 1&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;This is &lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;easilly &lt;/del&gt;done really.  Begin by downloading and installing the ipk from the above link.  Once that is done gather the information needed to connect to your mail provider.  I'll use gmail in my examples but the process is the same for pretty much any provider and for any non ssl email client if you don't like QTmail for some reason.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;This is &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;easily &lt;/ins&gt;done really.  Begin by downloading and installing the ipk from the above link.  Once that is done gather the information needed to connect to your mail provider.  I'll use gmail in my examples but the process is the same for pretty much any provider and for any non ssl email client if you don't like QTmail for some reason.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;First lets configure QTmail.  In Mail-Account highlight and edit the account you are setting up or click new.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;First lets configure QTmail.  In Mail-Account highlight and edit the account you are setting up or click new.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;&lt;!-- Bad Behavior 2.0.11 run time: 30.511 ms --&gt;&lt;p&gt;Line 20:
&lt;/p&gt;&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;&lt;!-- Bad Behavior 2.0.11 run time: 30.511 ms --&gt;&lt;p&gt;Line 20:
&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Do the same in the &amp;quot;Incoming&amp;quot; tab.  127.0.0.1 and use 10110 for the port.  (Same trick as above but the POP protocol normally runs on 110).&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Do the same in the &amp;quot;Incoming&amp;quot; tab.  127.0.0.1 and use 10110 for the port.  (Same trick as above but the POP protocol normally runs on 110).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Next we will need to edit two system files.  You will need root &lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;privlege &lt;/del&gt;to edit these files.  You can do this very easily using Zeditor or some other editor - tap and hold on the Icon until the details dialog opens and check &amp;quot;Execute with root privilege&amp;quot;.  You can also open the terminal, type &amp;quot;su&amp;quot; and then use vi to edit the files.  NOTE: If you've never used vi before - practice on un-important files until you are confident enough to &lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;mness &lt;/del&gt;around where sysadmins roam. &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Next we will need to edit two system files.  You will need root &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;privilege &lt;/ins&gt;to edit these files.  You can do this very easily using Zeditor or some other editor - tap and hold on the Icon until the details dialog opens and check &amp;quot;Execute with root privilege&amp;quot;.  You can also open the terminal, type &amp;quot;su&amp;quot; and then use vi to edit the files.  NOTE: If you've never used vi before - practice on un-important files until you are confident enough to &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;mess &lt;/ins&gt;around where sysadmins roam. &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*** Disclaimer - editing the following files is not difficult, but will have effects on your network configuration.  If you really mess up it could make your network connections non-functional.  I &lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;reccomend &lt;/del&gt;making backup copies of these files before you edit. ***   &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*** Disclaimer - editing the following files is not difficult, but will have effects on your network configuration.  If you really mess up it could make your network connections non-functional.  I &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;recommend &lt;/ins&gt;making backup copies of these files before you edit. ***   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;First we will need to create a couple of entries in /etc/services.  Open the file and just go to the very bottom.  Add the following:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;First we will need to create a couple of entries in /etc/services.  Open the file and just go to the very bottom.  Add the following:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;&lt;!-- Bad Behavior 2.0.11 run time: 30.511 ms --&gt;&lt;p&gt;Line 42:
&lt;/p&gt;&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;&lt;!-- Bad Behavior 2.0.11 run time: 30.511 ms --&gt;&lt;p&gt;Line 42:
&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;gmail-smtps stream tcp nowait root /usr/sbin/tcpd /usr/sbin/stunnel -r smtp.gmail.com:465 -c&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;gmail-smtps stream tcp nowait root /usr/sbin/tcpd /usr/sbin/stunnel -r smtp.gmail.com:465 -c&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;This tells inetd what to do when it &lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;recieves &lt;/del&gt;a connection on those ports we setup in the services file. In these cases it's &lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;lauch &lt;/del&gt;/usr/sbin/stunnel as a client connecting to the gmail servers.  If you are connecting to &lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;annother &lt;/del&gt;service make your changes here and make sure to include the correct ports after the the colon.   (Gmail uses 995 and 465)  Save and close this file.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;This tells inetd what to do when it &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;receives &lt;/ins&gt;a connection on those ports we setup in the services file. In these cases it's &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;launch &lt;/ins&gt;/usr/sbin/stunnel as a client connecting to the gmail servers.  If you are connecting to &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;another &lt;/ins&gt;service make your changes here and make sure to include the correct ports after the the colon.   (Gmail uses 995 and 465)  Save and close this file.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Now we need to do one more thing before we test the connection.  Restart inetd. (Inetd reads it's configuration file only when it first starts) Open a terminal, su, and issue the following command.  &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Now we need to do one more thing before we test the connection.  Restart inetd. (Inetd reads it's configuration file only when it first starts) Open a terminal, su, and issue the following command.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;&lt;!-- Bad Behavior 2.0.11 run time: 30.511 ms --&gt;&lt;p&gt;Line 50:
&lt;/p&gt;&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;&lt;!-- Bad Behavior 2.0.11 run time: 30.511 ms --&gt;&lt;p&gt;Line 50:
&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;(killing most deamons with -hup is like playing whack-a-mole. The deamon will stop but a new one will &amp;quot;re-spawn&amp;quot; to take it's place)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;(killing most deamons with -hup is like playing whack-a-mole. The deamon will stop but a new one will &amp;quot;re-spawn&amp;quot; to take it's place)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Now go test your email account.  You should be able to send and &lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;recieve &lt;/del&gt;if you haven't made any typos.  It's a bit slower than a direct pop/smtp connection but remember you are now encrypting everything between the &lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;zaurus &lt;/del&gt;and your email provider and that takes up more than a few processor cycles.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Now go test your email account.  You should be able to send and &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;receive &lt;/ins&gt;if you haven't made any typos.  It's a bit slower than a direct pop/smtp connection but remember you are now encrypting everything between the &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;Zaurus &lt;/ins&gt;and your email provider and that takes up more than a few processor cycles.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Hope someone finds this useful - Shawn&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Hope someone finds this useful - Shawn&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;smammon@gmail.com&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;smammon@gmail.com&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Smammon</name></author>	</entry>

	<entry>
		<id>http://www.oesf.org/index.php?title=How_to_use_stunnel_to_do_SSL_email_in_QTmail&amp;diff=3077&amp;oldid=prev</id>
		<title>Smammon at 19:29, 26 December 2006</title>
		<link rel="alternate" type="text/html" href="http://www.oesf.org/index.php?title=How_to_use_stunnel_to_do_SSL_email_in_QTmail&amp;diff=3077&amp;oldid=prev"/>
				<updated>2006-12-26T19:29:15Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Howto:  Use stunnel to do SSL in QTmail (the included Zaurus email client)&lt;br /&gt;
&lt;br /&gt;
Download from here:  http://www.killefiz.de/zaurus/showdetail.php?app=605&lt;br /&gt;
Documentation here:  http://www.stunnel.org/&lt;br /&gt;
&lt;br /&gt;
Why? QTmail on the Zaurus is a nice email client but does not include support for SSL.  This is now becoming more common accross the net, and is needed to access gmail accounts for example.  I've written this Howto with the new user in mind so forgive the extra verbage and please don't take offense if you are an old time kernal hacker...&lt;br /&gt;
&lt;br /&gt;
A 20k foot view of the process:  In order for this to work we will need to &amp;quot;trick&amp;quot; QTmail into connecting to the Zaurus instead of directly attempting to connect to the mail server.  We will need to configure the Zaurus to accept the connection and then use an open source program called stunnel to make the outgoing connection via SSL. This is where running a full version of Linux comes in really handy. &lt;br /&gt;
&lt;br /&gt;
The whole connection drawn out looks like this:&lt;br /&gt;
&lt;br /&gt;
QTmail ===&amp;gt; Zaurus/inetd ====&amp;gt; stunnel ====&amp;gt; gmail.com&lt;br /&gt;
Untitled 1&lt;br /&gt;
This is easilly done really.  Begin by downloading and installing the ipk from the above link.  Once that is done gather the information needed to connect to your mail provider.  I'll use gmail in my examples but the process is the same for pretty much any provider and for any non ssl email client if you don't like QTmail for some reason.&lt;br /&gt;
&lt;br /&gt;
First lets configure QTmail.  In Mail-Account highlight and edit the account you are setting up or click new.&lt;br /&gt;
&lt;br /&gt;
In the &amp;quot;Outgoing&amp;quot; tab enter your account information and authentication information as given to you by your email provider. Instead of the server and port info given to you by your provider - In the SMTP server box enter 127.0.0.1 (this is known as the loopback adapter and will cause QTmail to connect to the Zaurus instead of gmail) in the SMTP port box enter 10025.  (SMTP normally runs on 25 but for simplicity I've moved our loopback connection up out of the way of anything else port wise)&lt;br /&gt;
&lt;br /&gt;
Do the same in the &amp;quot;Incoming&amp;quot; tab.  127.0.0.1 and use 10110 for the port.  (Same trick as above but the POP protocol normally runs on 110).&lt;br /&gt;
&lt;br /&gt;
Next we will need to edit two system files.  You will need root privlege to edit these files.  You can do this very easily using Zeditor or some other editor - tap and hold on the Icon until the details dialog opens and check &amp;quot;Execute with root privilege&amp;quot;.  You can also open the terminal, type &amp;quot;su&amp;quot; and then use vi to edit the files.  NOTE: If you've never used vi before - practice on un-important files until you are confident enough to mness around where sysadmins roam. &lt;br /&gt;
&lt;br /&gt;
*** Disclaimer - editing the following files is not difficult, but will have effects on your network configuration.  If you really mess up it could make your network connections non-functional.  I reccomend making backup copies of these files before you edit. ***   &lt;br /&gt;
&lt;br /&gt;
First we will need to create a couple of entries in /etc/services.  Open the file and just go to the very bottom.  Add the following:&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# stunnel entries&lt;br /&gt;
#&lt;br /&gt;
gmail-pop3s	10110/tcp&lt;br /&gt;
gmail-smtps	10025/tcp&lt;br /&gt;
&lt;br /&gt;
This will allow inetd (the Linux network deamon) to put a label on what protocol is connecting to ports 10110 and 10025.  Save the file and close it.&lt;br /&gt;
&lt;br /&gt;
Next we need to add a couple of lines to /etc/inetd.conf.  Go to the bottom of that file and add:&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# stunnel entries&lt;br /&gt;
#&lt;br /&gt;
gmail-pop3s stream tcp nowait root /usr/sbin/tcpd /usr/sbin/stunnel -r pop.gmail.com:995 -c&lt;br /&gt;
gmail-smtps stream tcp nowait root /usr/sbin/tcpd /usr/sbin/stunnel -r smtp.gmail.com:465 -c&lt;br /&gt;
&lt;br /&gt;
This tells inetd what to do when it recieves a connection on those ports we setup in the services file. In these cases it's lauch /usr/sbin/stunnel as a client connecting to the gmail servers.  If you are connecting to annother service make your changes here and make sure to include the correct ports after the the colon.   (Gmail uses 995 and 465)  Save and close this file.&lt;br /&gt;
&lt;br /&gt;
Now we need to do one more thing before we test the connection.  Restart inetd. (Inetd reads it's configuration file only when it first starts) Open a terminal, su, and issue the following command.  &lt;br /&gt;
&lt;br /&gt;
killall -hup inetd&lt;br /&gt;
&lt;br /&gt;
(killing most deamons with -hup is like playing whack-a-mole. The deamon will stop but a new one will &amp;quot;re-spawn&amp;quot; to take it's place)&lt;br /&gt;
&lt;br /&gt;
Now go test your email account.  You should be able to send and recieve if you haven't made any typos.  It's a bit slower than a direct pop/smtp connection but remember you are now encrypting everything between the zaurus and your email provider and that takes up more than a few processor cycles.&lt;br /&gt;
&lt;br /&gt;
Hope someone finds this useful - Shawn&lt;br /&gt;
smammon@gmail.com&lt;/div&gt;</summary>
		<author><name>Smammon</name></author>	</entry>

	</feed>