<?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>Surgical Diversions &#187; mac-osx</title>
	<atom:link href="http://thefragens.com/blog/category/mac-osx/feed/" rel="self" type="application/rss+xml" />
	<link>http://thefragens.com/blog</link>
	<description>My time out of the operating room.</description>
	<lastBuildDate>Sun, 13 May 2012 18:52:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Tenet Healthcare and the iPhone</title>
		<link>http://thefragens.com/blog/2010/08/tenet-healthcare-and-the-iphone/</link>
		<comments>http://thefragens.com/blog/2010/08/tenet-healthcare-and-the-iphone/#comments</comments>
		<pubDate>Fri, 20 Aug 2010 22:17:01 +0000</pubDate>
		<dc:creator>Andy Fragen</dc:creator>
				<category><![CDATA[mac-osx]]></category>
		<category><![CDATA[microsoft-exchange]]></category>

		<guid isPermaLink="false">http://thefragens.com/blog/?p=777</guid>
		<description><![CDATA[Well, I finally broke down and started using Tenet&#8217;s Exchange Server. First, IS created an Exchange account for me then I tried adding it to my iPhone. After I got the settings right, from someone who&#8217;s using it with their &#8230; <a href="http://thefragens.com/blog/2010/08/tenet-healthcare-and-the-iphone/">Continue reading <span class="meta-nav">&#8594;</span></a>
No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Well, I finally broke down and started using Tenet&#8217;s Exchange Server. First, IS created an Exchange account for me then I tried adding it to my iPhone. After I got the settings right, from someone who&#8217;s using it with their iPhone everything works fine.</p>

<p>Here are the settings that aren&#8217;t obvious.</p>

<blockquote>
  <p>Server <code>mail.etenet.com</code><br />
  Domain <code>tenethealth</code></p>
</blockquote>

<p>Then make sure SSL is on and you should be good to go with your <em>email address</em>, <em>username</em> and <em>password</em>.</p>

<p>Now, if I could just get this working on my Mac desktop. There are clearly some differences in the manner in which iOS 4 and the OS X 10.6.4, and particularly Mail.app, iCal and AddressBook, interact with the Exchange server. I&#8217;m still trying to find the secret incantation to make it work on the desktop. When I do a follow-up will be forthcoming.</p>

<p>BTW, the above settings should work just fine for your iPad too.</p>

<p><strong>Update:</strong><br />
Make sure your <em>username</em> is <em><strong>not</strong></em> your full email address.</p>
<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://thefragens.com/blog/2010/08/tenet-healthcare-and-the-iphone/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Setting up Snow Leopard iCal Server</title>
		<link>http://thefragens.com/blog/2010/08/setting-up-snow-leopard-ical-server/</link>
		<comments>http://thefragens.com/blog/2010/08/setting-up-snow-leopard-ical-server/#comments</comments>
		<pubDate>Wed, 11 Aug 2010 20:15:16 +0000</pubDate>
		<dc:creator>Andy Fragen</dc:creator>
				<category><![CDATA[mac-osx]]></category>
		<category><![CDATA[osx-server]]></category>
		<category><![CDATA[ical-server]]></category>

		<guid isPermaLink="false">http://thefragens.com/blog/?p=761</guid>
		<description><![CDATA[After scouring through the official documentation, and finding that lacking, Google has found the answers. Make sure Wiki Server is set to 127.0.0.1 and that Use SSL is checked. Here&#8217;s how I was finally able to get my groups into &#8230; <a href="http://thefragens.com/blog/2010/08/setting-up-snow-leopard-ical-server/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://thefragens.com/blog/2010/08/snow-leopard-sieve-rules/' rel='bookmark' title='Snow Leopard Sieve Rules'>Snow Leopard Sieve Rules</a> <small>How to edit sieve rules in Snow Leopard by hand....</small></li>
<li><a href='http://thefragens.com/blog/2008/12/subscribing-to-delegated-calendars/' rel='bookmark' title='Subscribing to Delegated Calendars'>Subscribing to Delegated Calendars</a> <small>OK, I&#8217;m fortunate or crazy enough to run my own...</small></li>
<li><a href='http://thefragens.com/blog/2008/08/ical-exchange-time-zone-fix-part-2/' rel='bookmark' title='iCal - Exchange Time Zone Fix - part 2'>iCal - Exchange Time Zone Fix - part 2</a> <small>I&#8217;ve come across a problem with the original MailExchange2iCal-TZ-fix script....</small></li>
</ol>

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>After scouring through the official documentation, and finding that lacking, Google has found the answers.</p>

<p>Make sure <em>Wiki Server</em> is set to <strong>127.0.0.1</strong> and that <em>Use SSL</em> is checked. </p>

<p>Here&#8217;s how I was finally able to get my groups into iCal SL/Lion client (<strong>no SSL</strong>)</p>

<blockquote>
  <p><code>userName</code><br />
  <code>password</code><br />
  <code>server.com/principals/__uids__/wiki-groupName/</code> (no http://)</p>
</blockquote>

<p>To get this group calendar into iOS add the following as a CalDAV calendar.</p>

<blockquote>
  <p><code>username</code><br />
  <code>password</code><br />
  <code>server.com/principals/wikis/groupname/</code> (no http://)</p>
</blockquote>
<p>Related posts:<ol>
<li><a href='http://thefragens.com/blog/2010/08/snow-leopard-sieve-rules/' rel='bookmark' title='Snow Leopard Sieve Rules'>Snow Leopard Sieve Rules</a> <small>How to edit sieve rules in Snow Leopard by hand....</small></li>
<li><a href='http://thefragens.com/blog/2008/12/subscribing-to-delegated-calendars/' rel='bookmark' title='Subscribing to Delegated Calendars'>Subscribing to Delegated Calendars</a> <small>OK, I&#8217;m fortunate or crazy enough to run my own...</small></li>
<li><a href='http://thefragens.com/blog/2008/08/ical-exchange-time-zone-fix-part-2/' rel='bookmark' title='iCal - Exchange Time Zone Fix - part 2'>iCal - Exchange Time Zone Fix - part 2</a> <small>I&#8217;ve come across a problem with the original MailExchange2iCal-TZ-fix script....</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://thefragens.com/blog/2010/08/setting-up-snow-leopard-ical-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dovecot Permissions</title>
		<link>http://thefragens.com/blog/2010/08/dovecot-permissions/</link>
		<comments>http://thefragens.com/blog/2010/08/dovecot-permissions/#comments</comments>
		<pubDate>Sat, 07 Aug 2010 15:42:37 +0000</pubDate>
		<dc:creator>Andy Fragen</dc:creator>
				<category><![CDATA[mac-osx]]></category>
		<category><![CDATA[osx-server]]></category>
		<category><![CDATA[dovecot]]></category>

		<guid isPermaLink="false">http://thefragens.com/blog/?p=738</guid>
		<description><![CDATA[Well, I finally bit the bullet and installed OS X Snow Leopard Server. Most of what I absolutely need to get working is mail services. One of the peculiarities of Dovecot is that each users mail folder is owned by &#8230; <a href="http://thefragens.com/blog/2010/08/dovecot-permissions/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://thefragens.com/blog/2010/11/fail2ban-and-os-x-server-part-deux/' rel='bookmark' title='Fail2ban and OS X Server, part deux'>Fail2ban and OS X Server, part deux</a> <small>As some of you might know I run my own...</small></li>
<li><a href='http://thefragens.com/blog/2010/05/server-side-email-filtering-with-sieve/' rel='bookmark' title='Server-Side Email Filtering with Sieve'>Server-Side Email Filtering with Sieve</a> <small>Another post for the peripheral brain. When I first set...</small></li>
<li><a href='http://thefragens.com/blog/2010/08/snow-leopard-sieve-rules/' rel='bookmark' title='Snow Leopard Sieve Rules'>Snow Leopard Sieve Rules</a> <small>How to edit sieve rules in Snow Leopard by hand....</small></li>
</ol>

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Well, I finally bit the bullet and installed OS X Snow Leopard Server. Most of what I absolutely <strong>need</strong> to get working is mail services. One of the peculiarities of Dovecot is that each users mail folder is owned by that user. I think in Cyrus they were all owned by <em>mail</em> or <em>_cyrus</em>.</p>

<p>Anyway, I found that a couple of my files didn&#8217;t have the correct permissions and I found out by trying to open in webmail. It gave me errors I&#8217;d never seen before. Where I found better errors was in mailaccess.log where I saw a <em>dovecot</em> service with a <em>failed: Permission denied</em> error.</p>

<p>I managed to find where the files lived and as I have quite a few mail users I didn&#8217;t want to go through individually so I figured out a script to do it.</p>

<blockquote>
  <p><code>sudo ls -lA /var/spool/imap/dovecot/mail | grep -v total | awk {'printf $3": /var/spool/imap/dovecot/mail/"$9"\n"'} | xargs -n2 -p sudo chown -R</code></p>
</blockquote>

<p>The script will ask if you want to proceed with the <em>chown</em> command for each user.</p>

<p>If you find your logs reporting permissions issues with a specific account or your webmail users have errors opening mailboxes, then the following script when provided with the offending GeneratedUID will reset the permissions similar to the above. Simply replace the GUID in the script with the one listed in your logs.</p>

<blockquote>
  <p><code>dscl /LDAPv3/127.0.0.1 -list /Users GeneratedUID | grep GUID | awk {'printf $1": /var/spool/imap/dovecot/mail/"$2"\n"'} | xargs -n2 -p sudo chown -R</code></p>
</blockquote>
<p>Related posts:<ol>
<li><a href='http://thefragens.com/blog/2010/11/fail2ban-and-os-x-server-part-deux/' rel='bookmark' title='Fail2ban and OS X Server, part deux'>Fail2ban and OS X Server, part deux</a> <small>As some of you might know I run my own...</small></li>
<li><a href='http://thefragens.com/blog/2010/05/server-side-email-filtering-with-sieve/' rel='bookmark' title='Server-Side Email Filtering with Sieve'>Server-Side Email Filtering with Sieve</a> <small>Another post for the peripheral brain. When I first set...</small></li>
<li><a href='http://thefragens.com/blog/2010/08/snow-leopard-sieve-rules/' rel='bookmark' title='Snow Leopard Sieve Rules'>Snow Leopard Sieve Rules</a> <small>How to edit sieve rules in Snow Leopard by hand....</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://thefragens.com/blog/2010/08/dovecot-permissions/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Server-Side Email Filtering with Sieve</title>
		<link>http://thefragens.com/blog/2010/05/server-side-email-filtering-with-sieve/</link>
		<comments>http://thefragens.com/blog/2010/05/server-side-email-filtering-with-sieve/#comments</comments>
		<pubDate>Fri, 14 May 2010 23:55:31 +0000</pubDate>
		<dc:creator>Andy Fragen</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[mac-osx]]></category>
		<category><![CDATA[osx-server]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[sieve]]></category>

		<guid isPermaLink="false">http://thefragens.com/blog/?p=684</guid>
		<description><![CDATA[Another post for the peripheral brain. When I first set up my own server lo these years ago, I never really thought about email message filtering. After all, I had rules in Mail.app that would send my incoming message to &#8230; <a href="http://thefragens.com/blog/2010/05/server-side-email-filtering-with-sieve/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://thefragens.com/blog/2011/03/squirrelmail-plugins/' rel='bookmark' title='Squirrelmail Plugins'>Squirrelmail Plugins</a> <small>Just an FYI post. I save all my added Squirrelmail...</small></li>
<li><a href='http://thefragens.com/blog/2010/08/snow-leopard-sieve-rules/' rel='bookmark' title='Snow Leopard Sieve Rules'>Snow Leopard Sieve Rules</a> <small>How to edit sieve rules in Snow Leopard by hand....</small></li>
<li><a href='http://thefragens.com/blog/2008/02/forwarding-email-in-leopard-server/' rel='bookmark' title='Forwarding Email in Leopard Server'>Forwarding Email in Leopard Server</a> <small>OK, to put it mildly the Workgroup Manager and Email...</small></li>
</ol>

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Another post for the peripheral brain.</p>

<p>When I first set up my own server lo these years ago, I never really thought about email message filtering. After all, I had rules in Mail.app that would send my incoming message to wherever I wanted them. Besides, I was much more concerned with eliminating spam.</p>

<p>Well, that was then and spam seems under control. I was prompted to look at server-side message filtering mostly to help out my mother, who seems determined to have every single store, travel and other consumer site that will happily take your email address and send you messages daily &#8212; or more often, have a more controllable experience on her iPhone. When we originally set up her iPhone she told me she didn&#8217;t want to use it for email. Silly me, I listened and set her up with a POP account. Well now she wants email. What&#8217;s a good son to do. <img src='http://thefragens.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>

<p>I changed her POP account to IMAP, copied over all her messages to her new IMAP folders and thought I&#8217;d need to solve her impending problem of 100 or so messages every other day choking her inbox.</p>

<p>After a bit of Googling I found <a href="http://sieve.info">Sieve</a>. I&#8217;d actually heard of it before but never really thought about it. The <a href="http://www.netmojo.ca/2007/12/01/setting-up-sieve-and-vacation-messages-on-mac-os-x-server/">Apple Discussion Forum</a> had a nice start and pointed me on to <a href="http://www.netmojo.ca/2007/12/01/setting-up-sieve-and-vacation-messages-on-mac-os-x-server/">sources</a> I used to <a href="http://www.afp548.com/article.php?story=20080106215609968">set it up</a>.</p>

<p>Here are the salient points. From the terminal&#8230;</p>

<ol>
<li><p>Add the following lines to <code>/etc/services</code></p>

<pre><code>sudo pico /etc/services
</code></pre>

<p>Insert the following lines.</p>

<pre><code>callbook 2000/udp # callbook
callbook 2000/tcp # callbook
+ sieve 2000/udp # sieve mail filtering
+ sieve 2000/tcp # sieve mail filtering
</code></pre>

<p>You can check to see if it&#8217;s running by running</p>

<pre><code>netstat -an | grep 2000
</code></pre>

<p>with results</p>

<pre><code>tcp4 0 0 *.2000 *.* LISTEN
tcp6 0 0 *.2000 *.* LISTEN
</code></pre></li>
<li><p>Create <code>/usr/sieve</code></p>

<pre><code>sudo mkdir /usr/sieve
sudo chown _cyrus:mail /usr/sieve
</code></pre></li>
<li><p>Restart mail services</p>

<pre><code>sudo serveradmin stop mail
[ some stuff ]
sudo serveradmin start mail
[ some stuff ]
</code></pre></li>
<li>Since I&#8217;m using  OS X Server and SquirrelMail is already running, next was installing and configuring <a href="http://email.uoa.gr/avelsieve/wiki/Download">avelsieve</a>.</li>
</ol>

<p>I really did try installing the latest development version &#8212; 1.9.9 alpha. That should have been a clue. After spending way too much time with it I installed the stable version - avelsieve 1.0.1. Once copied into <code>/usr/share/squirrelmail/plugins</code> run <code>sudo perl /etc/squirrelmail/config/conf.pl</code> and activate the plugin.</p>

<p>Then it&#8217;s back to the terminal. These instructions are from <a href="http://www.afp548.com/article.php?story=20080106215609968">AFP548</a>.</p>

<pre><code>    cd /usr/share/squirrelmail/plugins/avelsieve
    sudo cp config-sample.php config.php
</code></pre>

<p>Now set the correct authentication matching SquirrelMail.<br />
Edit <code>/etc/squirrelmail/plugins/avelsieve/config.php</code> and change:</p>

<pre><code>$preferred_mech = "PLAIN";
</code></pre>

<p>to  </p>

<pre><code>$preferred_mech = "CRAM-MD5";
</code></pre>

<p>You should be running SquirrelMail with CRAM-MD5 authentication anyway.</p>

<p>Finally, edit the <code>/etc/squirrelmail/plugins/avelsieve/lib/sieve-php.lib.php</code> file. </p>

<p>Find the line:</p>

<pre><code>fputs($this-&gt;fp, "PUTSCRIPT \"$scriptname\" \{$len+}\r\n"); 
</code></pre>

<p>and change it to :</p>

<pre><code>fputs($this-&gt;fp, "PUTSCRIPT \"$scriptname\"".' {'."$len+".'}'."\r\n");
</code></pre>

<p>This fixes an error in the script allowing you to save your changes to the filters. Now go login to webmail and click on the <code>Filter</code> link to start creating your Sieve filters.</p>
<p>Related posts:<ol>
<li><a href='http://thefragens.com/blog/2011/03/squirrelmail-plugins/' rel='bookmark' title='Squirrelmail Plugins'>Squirrelmail Plugins</a> <small>Just an FYI post. I save all my added Squirrelmail...</small></li>
<li><a href='http://thefragens.com/blog/2010/08/snow-leopard-sieve-rules/' rel='bookmark' title='Snow Leopard Sieve Rules'>Snow Leopard Sieve Rules</a> <small>How to edit sieve rules in Snow Leopard by hand....</small></li>
<li><a href='http://thefragens.com/blog/2008/02/forwarding-email-in-leopard-server/' rel='bookmark' title='Forwarding Email in Leopard Server'>Forwarding Email in Leopard Server</a> <small>OK, to put it mildly the Workgroup Manager and Email...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://thefragens.com/blog/2010/05/server-side-email-filtering-with-sieve/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Poof it&#8217;s Gone</title>
		<link>http://thefragens.com/blog/2010/04/poof-its-gone/</link>
		<comments>http://thefragens.com/blog/2010/04/poof-its-gone/#comments</comments>
		<pubDate>Sat, 01 May 2010 02:37:09 +0000</pubDate>
		<dc:creator>Andy Fragen</dc:creator>
				<category><![CDATA[mac-osx]]></category>
		<category><![CDATA[code]]></category>

		<guid isPermaLink="false">http://thefragens.com/blog/?p=680</guid>
		<description><![CDATA[OK, I&#8217;m only really posting this cause I need it and I just want to put it somewhere to remember it. To make a file or folder invisible issue the following from the CLI. To make it visible again&#8230; That&#8217;s &#8230; <a href="http://thefragens.com/blog/2010/04/poof-its-gone/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://thefragens.com/blog/2009/05/voodoopad-pro-blogging/' rel='bookmark' title='VoodooPad &lt;strike&gt;Pro&lt;/strike&gt; Blogging'>VoodooPad <strike>Pro</strike> Blogging</a> <small>Please note that VoodooPad Pro has been renamed to VoodooPad....</small></li>
</ol>

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>OK, I&#8217;m only really posting this cause I need it and I just want to put it somewhere to remember it. <img src='http://thefragens.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>

<p>To make a  file or folder invisible issue the following from the CLI.</p>

<p><pre class="brush: applescript; title: ; notranslate">
 SetFile -a V path/to/fileOrFolder
</pre></p>

<p>To make it visible again&#8230;</p>

<p><pre class="brush: applescript; title: ; notranslate">
 SetFile -a v path/to/fileOrFolder
</pre></p>

<p>That&#8217;s it. This can be especially useful on shared drives to keep others out of specific folders, etc. BTW, the file or folder still shows up in <code>ls</code>, it&#8217;s just not visible in Finder.</p>
<p>Related posts:<ol>
<li><a href='http://thefragens.com/blog/2009/05/voodoopad-pro-blogging/' rel='bookmark' title='VoodooPad &lt;strike&gt;Pro&lt;/strike&gt; Blogging'>VoodooPad <strike>Pro</strike> Blogging</a> <small>Please note that VoodooPad Pro has been renamed to VoodooPad....</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://thefragens.com/blog/2010/04/poof-its-gone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Don&#8217;t Send iCal Replies</title>
		<link>http://thefragens.com/blog/2010/04/dont-send-ical-replies/</link>
		<comments>http://thefragens.com/blog/2010/04/dont-send-ical-replies/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 00:18:12 +0000</pubDate>
		<dc:creator>Andy Fragen</dc:creator>
				<category><![CDATA[AppleScript]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[mac-osx]]></category>

		<guid isPermaLink="false">http://thefragens.com/blog/?p=672</guid>
		<description><![CDATA[I came across a great hint in Mac OS X Hints today. It seems that there&#8217;s an easy way to interrupt the process of sending an email reply when accepting iCal invites. As I tend to play around with iCal &#8230; <a href="http://thefragens.com/blog/2010/04/dont-send-ical-replies/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://thefragens.com/blog/2008/12/ical-exchange-time-zone-fix-chapter-3/' rel='bookmark' title='iCal - Exchange Time Zone Fix - Chapter 3'>iCal - Exchange Time Zone Fix - Chapter 3</a> <small>I&#8217;ve updated the iCal-Invite-Fix script again. This time to allow...</small></li>
<li><a href='http://thefragens.com/blog/2008/04/ical-exchange-time-zone-fix/' rel='bookmark' title='iCal - Exchange Time Zone Fix'>iCal - Exchange Time Zone Fix</a> <small>As any Mac user who deals with Microsoft Exchange invites...</small></li>
<li><a href='http://thefragens.com/blog/2008/08/ical-exchange-time-zone-fix-part-2/' rel='bookmark' title='iCal - Exchange Time Zone Fix - part 2'>iCal - Exchange Time Zone Fix - part 2</a> <small>I&#8217;ve come across a problem with the original MailExchange2iCal-TZ-fix script....</small></li>
</ol>

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I came across a <a href="http://www.macosxhints.com/article.php?story=20100408114405109">great hint in Mac OS X Hints</a> today. It seems that there&#8217;s an easy way to interrupt the process of sending an email reply when accepting iCal invites. As I tend to play around with iCal invites a lot (adding and deleting the same event ad nauseum) &#8212; I love this.</p>

<p>I wrote up a <a href="http://thefragens.com/pub/iCal_Reply_Ask.zip">modified script</a> like in the example and bundled it with a shell script, to install and uninstall the modification. You have to run this shell script using <code>sudo</code> from the CLI (Command Line Interface aka Terminal.app).</p>

<p>The zip file contains the shell script, the modified Mail.scpt AppleScript, and the original Mail.scpt AppleScript.</p>

<p>To install run <code>sudo /path/to/iCal_Reply_Send.sh install</code><br />
To uninstall run <code>sudo /path/to/iCal_Reply_Send.sh revert</code><br />
To check usage and status, run <code>/path/to/iCal_Reply_Send.sh</code></p>

<p>If you don&#8217;t like messing with the CLI then there&#8217;s a great little shareware app, <a href="http://www.nhoj.co.uk/icalreplychecker/">iCal Reply Checker</a> that does it all, and more.</p>

<p>It seems that neither method interferes with the code signing of iCal as the script in question is not code signed.</p>

<p><strong>Update</strong><br />
It appears that if you&#8217;re using an Exchange account in Mail.app that this script is being bypassed and this hint won&#8217;t work for you. <img src='http://thefragens.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
<p>Related posts:<ol>
<li><a href='http://thefragens.com/blog/2008/12/ical-exchange-time-zone-fix-chapter-3/' rel='bookmark' title='iCal - Exchange Time Zone Fix - Chapter 3'>iCal - Exchange Time Zone Fix - Chapter 3</a> <small>I&#8217;ve updated the iCal-Invite-Fix script again. This time to allow...</small></li>
<li><a href='http://thefragens.com/blog/2008/04/ical-exchange-time-zone-fix/' rel='bookmark' title='iCal - Exchange Time Zone Fix'>iCal - Exchange Time Zone Fix</a> <small>As any Mac user who deals with Microsoft Exchange invites...</small></li>
<li><a href='http://thefragens.com/blog/2008/08/ical-exchange-time-zone-fix-part-2/' rel='bookmark' title='iCal - Exchange Time Zone Fix - part 2'>iCal - Exchange Time Zone Fix - part 2</a> <small>I&#8217;ve come across a problem with the original MailExchange2iCal-TZ-fix script....</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://thefragens.com/blog/2010/04/dont-send-ical-replies/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>New Safari Version??</title>
		<link>http://thefragens.com/blog/2010/04/new-safari-version/</link>
		<comments>http://thefragens.com/blog/2010/04/new-safari-version/#comments</comments>
		<pubDate>Thu, 08 Apr 2010 18:12:43 +0000</pubDate>
		<dc:creator>Andy Fragen</dc:creator>
				<category><![CDATA[computer]]></category>
		<category><![CDATA[mac-osx]]></category>
		<category><![CDATA[Apple]]></category>

		<guid isPermaLink="false">http://thefragens.com/blog/?p=670</guid>
		<description><![CDATA[I&#8217;ve just spent the last 40 minutes on the phone with Union Bank tech support because for the past 2 weeks I&#8217;ve been unable to log in to my online account with Safari. After all this time the tech support &#8230; <a href="http://thefragens.com/blog/2010/04/new-safari-version/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://thefragens.com/blog/2003/01/safari-updated/' rel='bookmark' title='Safari Updated'>Safari Updated</a> <small>Wow, it&#8217;s only been 3 days and Apple&#8217;s released an...</small></li>
<li><a href='http://thefragens.com/blog/2005/02/uumlber-cool-safari-add-on/' rel='bookmark' title='&Uuml;ber cool Safari add-on'>&amp;Uuml;ber cool Safari add-on</a> <small>Sogudi is very similar to an application by Brent Simmons...</small></li>
<li><a href='http://thefragens.com/blog/2003/01/marks-safari-review/' rel='bookmark' title='Mark&#8217;s Safari Review'>Mark&#8217;s Safari Review</a> <small>Safari review. A review of Apple&#8217;s new browser, Safari, for...</small></li>
</ol>

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just spent the last 40 minutes on the phone with <a href="http://www.unionbank.com">Union Bank</a> tech support because for the past 2 weeks I&#8217;ve been unable to log in to my online account with <a href="http://www.apple.com/safari">Safari</a>. After all this time the tech support person, who was very nice, told me I was missing a patch to Safari.</p>

<p>I told him I have the latest patches to my OS and I am running the most currently available version of Safari. I told me that someone there <em>&#8220;got some update patch and could log in.&#8221;</em> I told him, with all due respect, I&#8217;ve been using Macs for over 20 years. (I got my first Mac 128K in 1985) I was quite certain that there is no more currently available version of Safari. Naturally I ran Software Update and no updates are available.</p>

<p>Currently I&#8217;m running OS 10.6.3 and Safari Version 4.0.5 (6531.22.7), according to the About box. I&#8217;m not sure why they want to blame Apple, but for their logic to hold true a single user of theirs seems to have a &#8220;more up-to-date&#8221; version of Safari than is obtainable from either Software Update or Apple&#8217;s site.</p>

<p>Fortunately <a href="http://www.mozilla.com/en-US/firefox/firefox.html">Firefox</a> still works.</p>
<p>Related posts:<ol>
<li><a href='http://thefragens.com/blog/2003/01/safari-updated/' rel='bookmark' title='Safari Updated'>Safari Updated</a> <small>Wow, it&#8217;s only been 3 days and Apple&#8217;s released an...</small></li>
<li><a href='http://thefragens.com/blog/2005/02/uumlber-cool-safari-add-on/' rel='bookmark' title='&Uuml;ber cool Safari add-on'>&amp;Uuml;ber cool Safari add-on</a> <small>Sogudi is very similar to an application by Brent Simmons...</small></li>
<li><a href='http://thefragens.com/blog/2003/01/marks-safari-review/' rel='bookmark' title='Mark&#8217;s Safari Review'>Mark&#8217;s Safari Review</a> <small>Safari review. A review of Apple&#8217;s new browser, Safari, for...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://thefragens.com/blog/2010/04/new-safari-version/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>VoodooPad Pro Blogging</title>
		<link>http://thefragens.com/blog/2009/05/voodoopad-pro-blogging/</link>
		<comments>http://thefragens.com/blog/2009/05/voodoopad-pro-blogging/#comments</comments>
		<pubDate>Thu, 07 May 2009 21:54:59 +0000</pubDate>
		<dc:creator>Andy Fragen</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[mac-osx]]></category>
		<category><![CDATA[blogging]]></category>

		<guid isPermaLink="false">http://thefragens.com/blog/?p=619</guid>
		<description><![CDATA[Please note that VoodooPad Pro has been renamed to VoodooPad. It&#8217;s time to package up all my VoodooPad blogging scripts and assorted web export plugins so that I can Remember what the heck I was thinking. Remember what all these &#8230; <a href="http://thefragens.com/blog/2009/05/voodoopad-pro-blogging/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://thefragens.com/blog/2006/11/voodoopad-automation/' rel='bookmark' title='VoodooPad Automation'>VoodooPad Automation</a> <small>I&#8217;ve finally gotten it working. I&#8217;ve now got a Ruby...</small></li>
<li><a href='http://thefragens.com/blog/2006/07/voodoopad-web-export-goodness/' rel='bookmark' title='VoodooPad Web Export Goodness'>VoodooPad Web Export Goodness</a> <small>As laziness is the mother of invention, or something like...</small></li>
<li><a href='http://thefragens.com/blog/2006/11/voodoopad-blogging/' rel='bookmark' title='VoodooPad Blogging'>VoodooPad Blogging</a> <small>Well, it&#8217;s not really VoodooPad blogging but it&#8217;s pretty close....</small></li>
</ol>

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Please note that VoodooPad <span style="text-decoration: line-through;">Pro</span> has been renamed to VoodooPad.</p>

<p>It&#8217;s time to package up all my <a href="http://flyingmeat.com/voodoopad/">VoodooPad</a> blogging scripts and assorted web export plugins so that I can</p>

<ol>
<li>Remember what the heck I was thinking.</li>
<li>Remember what all these pieces were supposed to accomplish as a whole.</li>
<li>Provide some sort of reference to others interested in this stuff.</li>
</ol>

<p><strong>Concept:</strong> To use VoodooPad as a CMS for a web site, allowing for static sites and inclusion of blog-style concatenated page. The blog-style page was originally intended as a &#8220;News&#8221; page of a static business site. SEO optimization necessitating the addition of a page with re-newing content. <em>Google likes it more.</em></p>

<p>Disclaimer: I like <a href="http://daringfireball.net/projects/markdown/">Markdown</a> and built these scripts around the fact that the VP document is essentially always formatted in plain text. Images need to be added using links.</p>

<p>I will include a <a href="http://thefragens.com/pub/sample-project.zip">sample package</a> that contains a VP document, a web export plugin and several script plugins. The site the sample is based upon is at.</p>

<p>VoodooPad is a requirement as the meta data and triggers are necessary in the creation of the files. My workflow is as follows.</p>

<ol>
<li>Create new page/post.</li>
<li>Run script plugin <code>Blog &gt; Meta Markup - HomepageMeta</code> on new page.</li>
<li>Run script plugin <code>Blog &gt; Make Homepage and Feed</code></li>
<li>Run web export.</li>
<li>FTP files up to site. I use <a href="http://www.panic.com/transmit/">Transmit</a>. It&#8217;s also a great app.</li>
</ol>

<p>The script will move all the created files into a folder structure so that the file structure on the computer will match the web site structure.</p>

<p><strong>VoodooPad document</strong>
<strong>Item meta</strong> data is contained in the <code>HomepageMeta</code> page of the document. This is where most of the personalized info on the site is contained.</p>

<p>In the VP document, <em>tags</em> are used to create a pseudo-folder structure. This means that a page may only have one tag. Some pages are not exported but are used as reference, ie. links in the sidebar or the HomepageMeta page. Pages that are to be rendered at the root level of the site are tagged <code>main</code>.</p>

<p><strong>Triggers</strong> can be used to include certain information into specific pages or info on every page. I use this for things like Google Analytics which needs to be on every page or the analytics confirmation that is only on the index.html page.</p>

<p><strong>The Web Export Plugin</strong>
Some customization of these files will be necessary for your specific site.</p>

<p>&gt; Images are kept in the web export plugin. Files like <code>robots.txt</code> that need to be at the root level are kept in a <code>root</code> folder inside the web export plugin.</p>

<ul>
<li><p><code>preflight.sh</code> - creates the actual folder hierarchy, the folders are created in the <code>preflight.sh</code> script. The <code>preflight.sh</code> script also copies files like images to the export folder.</p></li>
<li><p><code>postflight.sh</code> - can be used to rename pages that may be PHP based from <code>.html</code> to <code>.php</code></p></li>
<li><p><code>deleteVPExtra.sh</code> - deletes the <em>extra</em> pages that VoodooPad creates during a web export. No changes to this file are needed.</p></li>
<li><p><code>fixRelativePaths.sh</code> - fixes the relative URLs that occur inside of nested pages. No changes to this file are needed.</p></li>
<li><p><code>parseMetaXml.rb</code> - Parses the meta.xml file that VoodooPad creates and uses that infomation to move files into their correct folder structure on the disk and to create a valid sitemap.xml file for use with Google Sitemaps. It also creates and parses the vpDocMeta.xml file for variables.</p></li>
<li><p><code>Info.plist</code> - This file was edited to call these scripts during the web export process.</p></li>
<li><p><code>vpDocMeta.xml</code> - This file resides inside the <code>root</code> folder of the Web Export Plugin. It is created by the parseMetaXml.rb script. It contains the following data points.</p></li>
<li><code>root</code> - default value is <code>main</code>. This is the name of the tag of rendered pages that belong at the root level of the folder structure.</li>
<li><code>baseUrl</code> - This is the base URL for the site for creation of the sitemap.xml file.</li>
<li><code>isHomeIndex</code> - default value is <code>false</code>. This is only used if the the page name in VP for the index page of the site is <code>home</code>. This is true if the main page is a blog-style homepage.</li>
<li><code>noIndex</code> - default value is <code>private</code>. This is the name of a directory whose files you don&#8217;t want included in sitemap.xml.</li>
</ul>

<p><strong>Script Plugins</strong>
These are placed in the <code>~/Library/Application Support/VoodooPad/Script PlugIns/</code> folder. No changes should be required in these scripts. They will be viewable from the <code>Plugin &amp;gt; Blog</code> menu in VoodooPad.</p>

<ul>
<li><p><code>meta_markup_HomepageMeta.lua</code> - Takes the data from the page <code>HomepageMeta</code> in the VP doc and adds specific item meta data to the frontmost page.</p></li>
<li><p><code>meta_markup_update.lua</code> - Propagates changes made to the <code>HomepageMeta</code> page to all the item meta data of all pages that require them. This is only just the pages used for the blog-style page.</p></li>
<li><p><code>blog_home_atom.lua</code> - Creates the blog-style page now called <code>home</code> in the VP document and also creates a valid atom.xml feed in the output directory.</p></li>
</ul>

<p>Comments and questions are welcome. If some enterprising person wants to wrap this all up in the new plugin architecture that would be cool. I&#8217;m happy to help if I can.</p>
<p>Related posts:<ol>
<li><a href='http://thefragens.com/blog/2006/11/voodoopad-automation/' rel='bookmark' title='VoodooPad Automation'>VoodooPad Automation</a> <small>I&#8217;ve finally gotten it working. I&#8217;ve now got a Ruby...</small></li>
<li><a href='http://thefragens.com/blog/2006/07/voodoopad-web-export-goodness/' rel='bookmark' title='VoodooPad Web Export Goodness'>VoodooPad Web Export Goodness</a> <small>As laziness is the mother of invention, or something like...</small></li>
<li><a href='http://thefragens.com/blog/2006/11/voodoopad-blogging/' rel='bookmark' title='VoodooPad Blogging'>VoodooPad Blogging</a> <small>Well, it&#8217;s not really VoodooPad blogging but it&#8217;s pretty close....</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://thefragens.com/blog/2009/05/voodoopad-pro-blogging/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Backblaze Backup</title>
		<link>http://thefragens.com/blog/2009/03/backblaze-backup/</link>
		<comments>http://thefragens.com/blog/2009/03/backblaze-backup/#comments</comments>
		<pubDate>Sat, 14 Mar 2009 01:35:37 +0000</pubDate>
		<dc:creator>Andy Fragen</dc:creator>
				<category><![CDATA[computer]]></category>
		<category><![CDATA[mac-osx]]></category>

		<guid isPermaLink="false">http://thefragens.com/blog/2009/03/backblaze-backup/</guid>
		<description><![CDATA[I have an invite or two to distribute for the Backblaze online backup service for OS X. Price is $5 a month per machine for unlimited data. Attached disks are recognized, but not yet network attached storage. My opinion is &#8230; <a href="http://thefragens.com/blog/2009/03/backblaze-backup/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://thefragens.com/blog/2006/03/backup-backup-backup/' rel='bookmark' title='Backup, backup, backup'>Backup, backup, backup</a> <small>I&#8217;m usually not too bad with this, but&#8230; Who thinks...</small></li>
<li><a href='http://thefragens.com/blog/2005/12/backup-is-good/' rel='bookmark' title='Backup is good'>Backup is good</a> <small>Just doing a little backup....</small></li>
</ol>

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I have an <em>invite or two</em> to distribute for the <a href="http://www.backblaze.com">Backblaze</a> online backup service for OS X. Price is $5 a month per machine for unlimited data. Attached disks are recognized, but not yet network attached storage. My opinion is once they allow for NAS backup it&#8217;ll be great. </p>

<p>Leave a comment if you want a link to the beta. </p>
<p>Related posts:<ol>
<li><a href='http://thefragens.com/blog/2006/03/backup-backup-backup/' rel='bookmark' title='Backup, backup, backup'>Backup, backup, backup</a> <small>I&#8217;m usually not too bad with this, but&#8230; Who thinks...</small></li>
<li><a href='http://thefragens.com/blog/2005/12/backup-is-good/' rel='bookmark' title='Backup is good'>Backup is good</a> <small>Just doing a little backup....</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://thefragens.com/blog/2009/03/backblaze-backup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iCal - Exchange Time Zone Fix - Chapter 3</title>
		<link>http://thefragens.com/blog/2008/12/ical-exchange-time-zone-fix-chapter-3/</link>
		<comments>http://thefragens.com/blog/2008/12/ical-exchange-time-zone-fix-chapter-3/#comments</comments>
		<pubDate>Sun, 28 Dec 2008 23:42:25 +0000</pubDate>
		<dc:creator>Andy Fragen</dc:creator>
				<category><![CDATA[AppleScript]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[mac-osx]]></category>

		<guid isPermaLink="false">http://thefragens.com/blog/?p=596</guid>
		<description><![CDATA[I&#8217;ve updated the iCal-Invite-Fix script again. This time to allow for adding multiple Exchange servers to the script so that you should only need a single script. The set-up is slightly more complex. As the image above shows there are &#8230; <a href="http://thefragens.com/blog/2008/12/ical-exchange-time-zone-fix-chapter-3/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://thefragens.com/blog/2008/08/ical-exchange-time-zone-fix-chapter-2/' rel='bookmark' title='iCal - Exchange Time Zone Fix - Chapter 2'>iCal - Exchange Time Zone Fix - Chapter 2</a> <small>It was a few months ago that I originally wrote...</small></li>
<li><a href='http://thefragens.com/blog/2008/08/ical-exchange-time-zone-fix-part-2/' rel='bookmark' title='iCal - Exchange Time Zone Fix - part 2'>iCal - Exchange Time Zone Fix - part 2</a> <small>I&#8217;ve come across a problem with the original MailExchange2iCal-TZ-fix script....</small></li>
<li><a href='http://thefragens.com/blog/2008/04/ical-exchange-time-zone-fix/' rel='bookmark' title='iCal - Exchange Time Zone Fix'>iCal - Exchange Time Zone Fix</a> <small>As any Mac user who deals with Microsoft Exchange invites...</small></li>
</ol>

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve updated the <a href="http://thefragens.com/blog/2008/08/ical-exchange-time-zone-fix-chapter-2/">iCal-Invite-Fix script</a> again. This time to allow for adding multiple Exchange servers to the script so that you should only need a single script. The set-up is slightly more complex.</p>

<p><img src="http://thefragens.com/blog/wp-content/uploads/2009/01/ical-fix-properties3.jpg" border="0" alt="ical-fix-properties3.jpg" width="550" height="104" /></p>

<p>As the image above shows there are now only 2 properties, both of which are lists. These lists work together as an array; which means the order of the list items is crucial.</p>

<ul>
<li><code>exchange_fragment</code> contains unique fragments of the TZID that the Exchange server sends.</li>
<li><code>ical_tzid</code> contains the tzid info that iCal expects to see.</li>
</ul>

<p>If you have any problems setting it up let me know. <a href="http://thefragens.com/blog/2008/08/ical-exchange-time-zone-fix-chapter-2/">This post</a> has all the info for the script.</p>

<p><a href="http://thefragens.com/pub/iCal-Invite-Fix.scpt">Download the iCal-Invite-Fix script</a>.</p>
<p>Related posts:<ol>
<li><a href='http://thefragens.com/blog/2008/08/ical-exchange-time-zone-fix-chapter-2/' rel='bookmark' title='iCal - Exchange Time Zone Fix - Chapter 2'>iCal - Exchange Time Zone Fix - Chapter 2</a> <small>It was a few months ago that I originally wrote...</small></li>
<li><a href='http://thefragens.com/blog/2008/08/ical-exchange-time-zone-fix-part-2/' rel='bookmark' title='iCal - Exchange Time Zone Fix - part 2'>iCal - Exchange Time Zone Fix - part 2</a> <small>I&#8217;ve come across a problem with the original MailExchange2iCal-TZ-fix script....</small></li>
<li><a href='http://thefragens.com/blog/2008/04/ical-exchange-time-zone-fix/' rel='bookmark' title='iCal - Exchange Time Zone Fix'>iCal - Exchange Time Zone Fix</a> <small>As any Mac user who deals with Microsoft Exchange invites...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://thefragens.com/blog/2008/12/ical-exchange-time-zone-fix-chapter-3/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

