<?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>slashdevslashnull.com &#187; iPhone</title>
	<atom:link href="http://www.slashdevslashnull.com/category/iphone/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.slashdevslashnull.com</link>
	<description>Random geeky rants, that probably go nowhere in particular...</description>
	<lastBuildDate>Wed, 10 Nov 2010 20:59:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Access BBC iPlayer or Hulu anywhere, outside the US or UK, with a VPN</title>
		<link>http://www.slashdevslashnull.com/2010/11/access-bbc-iplayer-or-hulu-anywhere-outside-the-us-or-uk/</link>
		<comments>http://www.slashdevslashnull.com/2010/11/access-bbc-iplayer-or-hulu-anywhere-outside-the-us-or-uk/#comments</comments>
		<pubDate>Wed, 10 Nov 2010 20:56:57 +0000</pubDate>
		<dc:creator>iMx</dc:creator>
				<category><![CDATA[Hulu]]></category>
		<category><![CDATA[VPN]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iPlayer]]></category>

		<guid isPermaLink="false">http://www.slashdevslashnull.com/?p=69</guid>
		<description><![CDATA[Ive been travelling a fair bit recently for work, being stuck in hotels with handicapped internet access is no fun &#8211; and the only thing on the hotel TV in English is the news! So, i set about finding an easy way to access streaming media from the UK in Spain or wherever i happened ]]></description>
			<content:encoded><![CDATA[<p>Ive  been travelling a fair bit recently for work, being stuck in hotels with handicapped internet access is no fun &#8211; and the only thing on the hotel TV in English is the news!  So, i set about finding an easy way to access streaming media from the UK in Spain or wherever i happened to be, i thought about using a proxy but this has its limitations and didnt work too reliably.</p>
<p>The answer, quite simply, was to use a VPN &#8211; by using a VPN server located in the UK, i could appear to be in the UK even if i wasnt.  This gave me access to BBC iPlayer outside the UK, perfect!  I came across a company called <a href="http://www.streamvia.com">StreamVia</a> that had a package with multiple VPN servers, including US and German as well as UK, for a small monthly fee.  This meant not only could i access BBC iPlayer i could also keep up to date with South Park on Hulu.  Whilst i could have set something similar up myself, for pure simplicity it made sense to use something already working ;)</p>
<p>They provide OpenVPN and PPTP connectivity options, so i can connect my MacBook or work issues Linux Laptop with OpenVPN &#8211; or, this is the best bit &#8211; also connect my iPhone or iPad using the native PPTP client in iOS.  All included in one package, some VPN hosts i looked at only provided you with one or the other or wanted to charge more for extra options.</p>
<p>Check them out @ <a href="http://www.streamvia.com">http://www.streamvia.com</a> &#8211; i also found a discount voucher on their twitter feed, so be sure to have a look before ordering!</p>
<div class='dd_post_share'><div class='dd_buttons'><div class='dd_button'><script src='http://widgets.digg.com/buttons.js' type='text/javascript'></script><a class='DiggThisButton DiggMedium' href='http://digg.com/submit?url=http://www.slashdevslashnull.com/2010/11/access-bbc-iplayer-or-hulu-anywhere-outside-the-us-or-uk/&amp;title=Access+BBC+iPlayer+or+Hulu+anywhere%2C+outside+the+US+or+UK%2C+with+a+VPN'></a></div><div class='dd_button'><script type='text/javascript'>reddit_url = http://www.slashdevslashnull.com/2010/11/access-bbc-iplayer-or-hulu-anywhere-outside-the-us-or-uk/;reddit_title = Access+BBC+iPlayer+or+Hulu+anywhere%2C+outside+the+US+or+UK%2C+with+a+VPN;reddit_newwindow='1';</script><script type='text/javascript' src='http://www.reddit.com/static/button/button2.js'></script></div><div class='dd_button'><iframe src='http://api.tweetmeme.com/button.js?url=http://www.slashdevslashnull.com/2010/11/access-bbc-iplayer-or-hulu-anywhere-outside-the-us-or-uk/&amp;source=&amp;style=normal' height='61' width='50' frameborder='0' scrolling='no'></iframe></div><div class='dd_button'><a name='fb_share' type='box_count' share_url='http://www.slashdevslashnull.com/2010/11/access-bbc-iplayer-or-hulu-anywhere-outside-the-us-or-uk/' href='http://www.facebook.com/sharer.php'>Share</a><script src='http://static.ak.fbcdn.net/connect.php/js/FB.Share' type='text/javascript'></script></div><div class='dd_button'><script type='text/javascript' src='http://www.polladium.com/web_services/poll-this/poll-this.js?t=Access+BBC+iPlayer+or+Hulu+anywhere%2C+outside+the+US+or+UK%2C+with+a+VPN&amp;u=http://www.slashdevslashnull.com/2010/11/access-bbc-iplayer-or-hulu-anywhere-outside-the-us-or-uk/&amp;type=normal'></script></div><div class='dd_button'><script src="http://www.stumbleupon.com/hostedbadge.php?s=5&amp;r=http://www.slashdevslashnull.com/2010/11/access-bbc-iplayer-or-hulu-anywhere-outside-the-us-or-uk/"></script></div><div class='dd_button'><a href='http://delicious.com/save' onclick="window.open('http://delicious.com/save?v=5&amp;noui&amp;jump=close&amp;url='+encodeURIComponent('http://www.slashdevslashnull.com/2010/11/access-bbc-iplayer-or-hulu-anywhere-outside-the-us-or-uk/')+'&amp;title='+encodeURIComponent('Access+BBC+iPlayer+or+Hulu+anywhere%2C+outside+the+US+or+UK%2C+with+a+VPN'),'delicious', 'toolbar=no,width=550,height=550'); return false;"><div class='delicious-normal-img'><img src='http://www.slashdevslashnull.com/wp-content/plugins/digg-digg/image/delicious.png' alt='Delicious' /><div class='delicious-normal-text' id='DD_DELICIOUS_AJAX_POST_ID'>Save</div></div></a></div></div></div><div style='clear:both'></div><!-- Social Buttons Shared Counts Generated by Digg Digg plugin v4.2, 
    Author : Yong Mook Kim
    Website : http://www.mkyong.com/blog/digg-digg-wordpress-plugin/ -->]]></content:encoded>
			<wfw:commentRss>http://www.slashdevslashnull.com/2010/11/access-bbc-iplayer-or-hulu-anywhere-outside-the-us-or-uk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Push email, contacts and calendar with Zimbra 6 Opensource &amp; Z-Push &#8211; ActiveSync</title>
		<link>http://www.slashdevslashnull.com/2010/02/push-email-contacts-and-calendar-with-zimbra-6-opensource-z-push-activesync/</link>
		<comments>http://www.slashdevslashnull.com/2010/02/push-email-contacts-and-calendar-with-zimbra-6-opensource-z-push-activesync/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 19:13:48 +0000</pubDate>
		<dc:creator>iMx</dc:creator>
				<category><![CDATA[ActiveSync]]></category>
		<category><![CDATA[Push Email]]></category>
		<category><![CDATA[Z-Push]]></category>
		<category><![CDATA[Zimbra]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.slashdevslashnull.com/?p=44</guid>
		<description><![CDATA[As a few of you may have realised, im a great fan of Zimbra however one real short coming is the lack of ability to sync contacts and for real time push email &#8211; instead having hack around with Funambol and/or rely on IMAP/POP for email.  In the Opensource edition anyway. For me, i just ]]></description>
			<content:encoded><![CDATA[<p>As a few of you may have realised, im a great fan of Zimbra however one real short coming is the lack of ability to sync contacts and for real time push email &#8211; instead having hack around with Funambol and/or rely on IMAP/POP for email.  In the Opensource edition anyway.</p>
<p>For me, i just could not justify the expense of the Network Edition license for ActiveSync and back-up &#8211; so i set about finding opensource equivalents to allow me to get the functionality i required.  Now whilst this may not scale well for larger deployments, for me it does what i need!  If Zimbra offered a more sensible licensing model, that would make Network Edition plausible for 5 users (rather than the 25 user minimum) then i would go down this route&#8230;..as it stands they dont, so one of the beauties of opensource software is being able to find alternatives for free!</p>
<p>Another solution for email is to use Zarafa, however its not quite an all in one solution like Zimbra and i have to confess that the webmail is too much like &#8216;Outlook&#8217; for me!  However, it does have one thing going for it and thats the inclusion of &#8216;Z-Push&#8217;.  Z-Push is a PHP based opensource ActiveSync solution &#8211; ie a way to sync systems other than Exchange with Windows Mobile, Apple iPhone, Android etc.  In this case, we&#8217;re going to use Z-Push with a specific Zimbra backend plugin to enable push email and syncing of calendar and contacts to an iPhone &#8211; without stumping for the Zimbra Network Edition license cost.</p>
<p>You can read more about Z-Push here:</p>
<p><a href="http://z-push.sourceforge.net/soswp/">http://z-push.sourceforge.net/soswp/</a></p>
<p>The above combined with the below, and an Apache server, is all we need:</p>
<p><a href="http://sourceforge.net/projects/zimbrabackend/">http://sourceforge.net/projects/zimbrabackend/</a></p>
<p>So first we need to download Z-Push to our web root, im doing this via an SSH session &#8211; utilising version 1.3 RC2 of Z-Push:</p>
<blockquote><p>billabong:/home/sync/public_html# wget http://download.berlios.de/z-push/z-push-1.3RC2.tar.gz<br />
&#8211;2010-02-17 15:08:33&#8211;  http://download.berlios.de/z-push/z-push-1.3RC2.tar.gz<br />
Resolving download.berlios.de&#8230; 195.37.77.141<br />
Connecting to download.berlios.de|195.37.77.141|:80&#8230; connected.<br />
HTTP request sent, awaiting response&#8230; 200 OK<br />
Length: 106534 (104K) [application/x-download]<br />
Saving to: `z-push-1.3RC2.tar.gz&#8217;</p>
<p>100%[======================================&gt;] 106,534     &#8211;.-K/s   in 0.1s</p>
<p>2010-02-17 15:08:34 (813 KB/s) &#8211; `z-push-1.3RC2.tar.gz&#8217; saved [106534/106534]</p>
<p>billabong:/home/sync/public_html#</p></blockquote>
<p>Now we unzip/untar the package</p>
<blockquote><p>billabong:/home/sync/public_html# tar zxvf z-push-1.3RC2.tar.gz<br />
z-push/<br />
z-push/state/<br />
z-push/include/<br />
z-push/include/z_RFC822.php<br />
z-push/include/mimeDecode.php<br />
z-push/include/utils.php<br />
z-push/include/z_ical.php<br />
z-push/include/z_tnef.php<br />
z-push/backend/<br />
z-push/backend/diffbackend.php<br />
z-push/backend/vcarddir.php<br />
z-push/backend/ics.php<br />
z-push/backend/maildir.php<br />
z-push/backend/imap.php<br />
z-push/backend/backend.php<br />
z-push/wbxml.php<br />
z-push/memimporter.php<br />
z-push/LICENSE<br />
z-push/zpushdefs.php<br />
z-push/zpushdtd.php<br />
z-push/proto.php<br />
z-push/config.php<br />
z-push/statemachine.php<br />
z-push/index.php<br />
z-push/streamer.php<br />
z-push/INSTALL<br />
z-push/version.php<br />
z-push/streamimporter.php<br />
z-push/compat.php<br />
z-push/request.php<br />
z-push/debug.php<br />
billabong:/home/sync/public_html#</p></blockquote>
<p>Next we set permissions 777 for the &#8216;state&#8217; directory, so that the web server can write files &#8211; note you could restrict this further if you so desire, ie so that just the user that Apache runs as can write to it:</p>
<blockquote><p>billabong:/home/sync/public_html# chmod 777 z-push/state<br />
billabong:/home/sync/public_html#</p></blockquote>
<p>Now we need to edit the Apache configuration , to add an alias:</p>
<blockquote><p>Alias /Microsoft-Server-ActiveSync /home/site/public_html/z-push/index.php</p></blockquote>
<p>This will depend on the version of Apache that youre using, for me its Apache2 &#8211; the configuration file for my virtual host is stored at /etc/apache2/sites-enabled/</p>
<p>Add the above line, customising as you need, to the correct virtual host configuration file for which you wish to enable Z-Push &#8211; if you do not have access to your Apache config then this will not work! Because i want to use this over HTTPS, i need to make sure i add it to the correct virtual host, ie with the SSLEngine on and running on port 443:</p>
<blockquote><p>&lt;VirtualHost xxx.xxx.xxx.xxx:443&gt;<br />
SuexecUserGroup &#8220;#1003&#8243; &#8220;#1004&#8243;<br />
ServerName sync.fubar.com<br />
Alias /Microsoft-Server-ActiveSync /home/sync/public_html/z-push/index.php<br />
DocumentRoot /home/sync/public_html</p>
<p>&#8230;.</p>
<p>SSLEngine on</p>
<p>&#8230;.</p>
<p>&lt;/VirtualHost&gt;</p></blockquote>
<p>We now have the basics of Z-Push set up, however we dont yet have it connecting to Zimbra&#8217;s SOAP interface to retrieve email, contacts and calendar entries.  This is where the Z-Push Zimbra Backend comes in&#8230;</p>
<p>Next we go back to the directory to where we downloaded and extracted Z-Push to, inside this directory is another called &#8216;backend&#8217;:</p>
<blockquote><p>billabong:/etc/apache2/sites-enabled# cd /home/sync/public_html/z-push<br />
billabong:/home/sync/public_html/z-push# ls<br />
backend     include    memimporter.php    statemachine.php    wbxml.php<br />
compat.php  index.php  proto.php    streamer.php        zpushdefs.php<br />
config.php  INSTALL    request.php    streamimporter.php  zpushdtd.php<br />
debug.php   LICENSE    state        version.php<br />
billabong:/home/sync/public_html/z-push# cd backend/<br />
billabong:/home/sync/public_html/z-push/backend# ls<br />
backend.php  diffbackend.php  ics.php  imap.php  maildir.php  vcarddir.php</p></blockquote>
<p>These are the different options we have to interface with Z-Push, as you can see there is currently no Zimbra.  Lets fix that &#8211; note at time of writing revision 18 didnt work for me, revision 16 however does &#8211; checking out from subversion/svn you will get the latest by default, however from SourceForge you can also just download specific versions.  Clicking on the revision number, ie 16, from the following URL http://sourceforge.net/projects/zimbrabackend/develop, allows you to download just that version.  Then click on &#8216;zimbra.php&#8217;, there will then be a &#8216;download&#8217; link, right click and copy and then use wget with the URL copied to your clip board.  We then rename the downloaded file to be just &#8216;zimbra.php&#8217;, note this MUST exist in the backend directory inside Z-Push:</p>
<blockquote><p>billabong:/home/sync/public_html/z-push/backend# wget &#8220;http://zimbrabackend.svn.sourceforge.net/viewvc/zimbrabackend/zimbra.php?revision=16&amp;pathrev=16&#8243;<br />
&#8211;2010-02-17 15:33:15&#8211;  http://zimbrabackend.svn.sourceforge.net/viewvc/zimbrabackend/zimbra.php?revision=16&amp;pathrev=16<br />
Resolving zimbrabackend.svn.sourceforge.net&#8230; 216.34.181.65<br />
Connecting to zimbrabackend.svn.sourceforge.net|216.34.181.65|:80&#8230; connected.<br />
HTTP request sent, awaiting response&#8230; 200 OK<br />
Length: unspecified [text/plain]<br />
Saving to: `zimbra.php?revision=16&amp;pathrev=16&#8242;</p>
<p>[   &lt;=&gt;                                 ] 110,039      267K/s   in 0.4s</p>
<p>2010-02-17 15:33:16 (267 KB/s) &#8211; `zimbra.php?revision=16&amp;pathrev=16&#8242; saved [110039]</p>
<p>billabong:/home/sync/public_html/z-push/backend# mv zimbra.php\?revision\=16\&amp;pathrev\=16 zimbra.php<br />
billabong:/home/sync/public_html/z-push/backend# ls<br />
backend.php     ics.php   maildir.php     zimbra.php<br />
diffbackend.php  imap.php  vcarddir.php<br />
billabong:/home/sync/public_html/z-push/backend#</p></blockquote>
<p>So now we have the required files, we just need to configure Z-Push with the Zimbra backend &#8211; edit the config.php file in the z-push root directory and add the following lines:</p>
<blockquote><p>define(&#8216;ZIMBRA_URL&#8217;, &#8216;https://URL-TO-ZIMBRA&#8217;);<br />
define(&#8216;ZIMBRA_SYNC_CONTACT_PICTURES&#8217;, true);<br />
define(&#8216;ZIMBRA_VIRTUAL_CONTACTS&#8217;,true);<br />
define(&#8216;ZIMBRA_VIRTUAL_APPOINTMENTS&#8217;,true);<br />
define(&#8216;ZIMBRA_VIRTUAL_TASKS&#8217;,true);<br />
define(&#8216;ZIMBRA_IGNORE_EMAILED_CONTACTS&#8217;,true);<br />
define(&#8216;ZIMBRA_HTML&#8217;,true);</p></blockquote>
<p>Note im using HTTPS to connect to Zimbra, you may need to modify this to HTTP if required.  Then in the same config.php file, edit the variable to make Z-Push use the Zimbra backend:</p>
<blockquote><p>$BACKEND_PROVIDER = &#8220;BackendZimbra&#8221;;</p></blockquote>
<p>That should be pretty much it&#8230;fire up your iPhone, or which ever device you wish to use!  Note, you dont need to enter a &#8216;domain&#8217; in the mobile configuration, just leave that blank.</p>
<p>A couple of gotcha&#8217;s i came across:</p>
<ul>
<li>Folder names cannot have .&#8217;s in, this will break the sync for further email folders and/or contacts/calendar.</li>
<li>One or two folders for some reason did not display on the mobile device, creating a new folder copying the mail over and then renaming the folder worked fine for me</li>
<li>When adding calendar/contacts entries from the phone, these are synced to Zimbra and then back down again &#8211; creating a duplication.  This was/should be fixed in Zimbra backend revision 18, however i had some problems with that release!</li>
</ul>
<div class='dd_post_share'><div class='dd_buttons'><div class='dd_button'><script src='http://widgets.digg.com/buttons.js' type='text/javascript'></script><a class='DiggThisButton DiggMedium' href='http://digg.com/submit?url=http://www.slashdevslashnull.com/2010/02/push-email-contacts-and-calendar-with-zimbra-6-opensource-z-push-activesync/&amp;title=Push+email%2C+contacts+and+calendar+with+Zimbra+6+Opensource+%26+Z-Push+-+ActiveSync'></a></div><div class='dd_button'><script type='text/javascript'>reddit_url = http://www.slashdevslashnull.com/2010/02/push-email-contacts-and-calendar-with-zimbra-6-opensource-z-push-activesync/;reddit_title = Push+email%2C+contacts+and+calendar+with+Zimbra+6+Opensource+%26+Z-Push+-+ActiveSync;reddit_newwindow='1';</script><script type='text/javascript' src='http://www.reddit.com/static/button/button2.js'></script></div><div class='dd_button'><iframe src='http://api.tweetmeme.com/button.js?url=http://www.slashdevslashnull.com/2010/02/push-email-contacts-and-calendar-with-zimbra-6-opensource-z-push-activesync/&amp;source=&amp;style=normal' height='61' width='50' frameborder='0' scrolling='no'></iframe></div><div class='dd_button'><a name='fb_share' type='box_count' share_url='http://www.slashdevslashnull.com/2010/02/push-email-contacts-and-calendar-with-zimbra-6-opensource-z-push-activesync/' href='http://www.facebook.com/sharer.php'>Share</a><script src='http://static.ak.fbcdn.net/connect.php/js/FB.Share' type='text/javascript'></script></div><div class='dd_button'><script type='text/javascript' src='http://www.polladium.com/web_services/poll-this/poll-this.js?t=Push+email%2C+contacts+and+calendar+with+Zimbra+6+Opensource+%26+Z-Push+-+ActiveSync&amp;u=http://www.slashdevslashnull.com/2010/02/push-email-contacts-and-calendar-with-zimbra-6-opensource-z-push-activesync/&amp;type=normal'></script></div><div class='dd_button'><script src="http://www.stumbleupon.com/hostedbadge.php?s=5&amp;r=http://www.slashdevslashnull.com/2010/02/push-email-contacts-and-calendar-with-zimbra-6-opensource-z-push-activesync/"></script></div><div class='dd_button'><a href='http://delicious.com/save' onclick="window.open('http://delicious.com/save?v=5&amp;noui&amp;jump=close&amp;url='+encodeURIComponent('http://www.slashdevslashnull.com/2010/02/push-email-contacts-and-calendar-with-zimbra-6-opensource-z-push-activesync/')+'&amp;title='+encodeURIComponent('Push+email%2C+contacts+and+calendar+with+Zimbra+6+Opensource+%26+Z-Push+-+ActiveSync'),'delicious', 'toolbar=no,width=550,height=550'); return false;"><div class='delicious-normal-img'><img src='http://www.slashdevslashnull.com/wp-content/plugins/digg-digg/image/delicious.png' alt='Delicious' /><div class='delicious-normal-text' id='DD_DELICIOUS_AJAX_POST_ID'>12 saves</div></div></a></div></div></div><div style='clear:both'></div><!-- Social Buttons Shared Counts Generated by Digg Digg plugin v4.2, 
    Author : Yong Mook Kim
    Website : http://www.mkyong.com/blog/digg-digg-wordpress-plugin/ -->]]></content:encoded>
			<wfw:commentRss>http://www.slashdevslashnull.com/2010/02/push-email-contacts-and-calendar-with-zimbra-6-opensource-z-push-activesync/feed/</wfw:commentRss>
		<slash:comments>32</slash:comments>
		</item>
	</channel>
</rss>

