<?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>blog.lundscape.com &#187; Mutt</title>
	<atom:link href="http://blog.lundscape.com/category/mutt/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.lundscape.com</link>
	<description>The Linux Journey</description>
	<lastBuildDate>Thu, 15 Apr 2010 20:06:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>OWA Sync on Ubuntu</title>
		<link>http://blog.lundscape.com/2009/04/owa-sync-on-ubuntu/</link>
		<comments>http://blog.lundscape.com/2009/04/owa-sync-on-ubuntu/#comments</comments>
		<pubDate>Mon, 06 Apr 2009 22:56:38 +0000</pubDate>
		<dc:creator>Zachary Lund</dc:creator>
				<category><![CDATA[Mutt]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[Cron]]></category>
		<category><![CDATA[lbdb]]></category>
		<category><![CDATA[OWA Sync]]></category>
		<category><![CDATA[PHP iCalendar]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.lundscape.com/?p=98</guid>
		<description><![CDATA[Update: OWA Sync V0.6 (the current version) is not compatible with Exchange 2007. When I set this up, I was connecting to Exchange 2003.
I use OWA Sync to get all of my calendar information onto my Ubuntu desktop. I recently rediscovered the Little Brother&#8217;s Database and decided to make my OWA contacts available in Mutt [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Update: OWA Sync V0.6 (the current version) is not compatible with Exchange 2007. When I set this up, I was connecting to Exchange 2003.</strong></p>
<p>I use <a href="http://www.cobb.uk.net/OWA/owasync.html">OWA Sync</a> to get all of my calendar information onto my Ubuntu desktop. I recently rediscovered the <a href="http://www.spinnaker.de/lbdb/">Little Brother&#8217;s Database</a> and decided to make my OWA contacts available in <a href="http://www.mutt.org/">Mutt</a> on my Ubuntu desktop, too. (I used lbdb to make my contacts in Apple Address Book available to Mutt when I was still using Mac OS X as my primary operating system.)</p>
<p>The OWA Sync website has a decent explanation of creating a owaSyncrc file. After I created that, I wrote a script that runs as a cron job.</p>
<pre>#! /bin/bash

export PATH=$PATH:/usr/local/bin/

/usr/local/bin/owaSync.kit -update

cat $HOME/.owa/Calendar/*.ics > $HOME/.calendar.ics
cat $HOME/.owa/Contacts/*.vcf > $HOME/.contacts.vcf</pre>
<p>After a bit of trial and error, I figured out that &#8220;/usr/local/bin/&#8221; needed to be in the path for the owaSync.kit script to run. After the synchronization is complete, I then concatenate all of the calendar events into a single file and all of the contact cards into a single file. I now have a single calendar file that I can use with <a href="http://phpicalendar.net/">PHP iCalendar</a> and a single contacts file that I can use with lbdb. It requires a fairly simple rc file that looks something like this:</p>
<pre>METHODS="$METHODS m_vcf m_muttalias"

VCF_FILES="$HOME/.contacts.vcf"
MUTTALIAS_FILES="$HOME/.mutt/aliases"</pre>
<p>I add &#8220;m_vcf&#8221; and &#8220;m_muttaliases&#8221; to the &#8220;METHODS&#8221; and then I specify the locations of my OWA contacts and my Mutt aliases. Now when I launch Mutt, I can query for addresses that I downloaded from OWA.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lundscape.com/2009/04/owa-sync-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
