<?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>that's whacked &#187; Grommit</title>
	<atom:link href="http://whacked.net/categories/grommit/feed/" rel="self" type="application/rss+xml" />
	<link>http://whacked.net</link>
	<description>thoughts on open spaces</description>
	<lastBuildDate>Sat, 13 Nov 2010 22:05:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Dovecot 1.1.11 + managesieve + CMU Sieve Solaris pkgs</title>
		<link>http://whacked.net/2009/03/11/dovecot-1111-managesieve-cmu-sieve-solaris-pkgs/</link>
		<comments>http://whacked.net/2009/03/11/dovecot-1111-managesieve-cmu-sieve-solaris-pkgs/#comments</comments>
		<pubDate>Thu, 12 Mar 2009 01:14:39 +0000</pubDate>
		<dc:creator>Stephen Lau</dc:creator>
				<category><![CDATA[Grommit]]></category>
		<category><![CDATA[OpenSolaris]]></category>
		<category><![CDATA[cmusieve]]></category>
		<category><![CDATA[dovecot]]></category>
		<category><![CDATA[managesieve]]></category>
		<category><![CDATA[package]]></category>
		<category><![CDATA[sieve]]></category>
		<category><![CDATA[solaris]]></category>

		<guid isPermaLink="false">http://whacked.net/?p=1246</guid>
		<description><![CDATA[I&#8217;d been looking for a good way to do server-side mail filtering with client side configuration&#8230; and short of some lame CGI interfaces to editing your .procmailrc, I hadn&#8217;t found much until I discovered Sieve a few days ago.  To skip a long and boring story, I rebuilt a bunch of packages (yay for JDS&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;d been looking for a good way to do server-side mail filtering with client side configuration&#8230; and short of some lame CGI interfaces to editing your .procmailrc, I hadn&#8217;t found much until I discovered <a href="http://en.wikipedia.org/wiki/Sieve_(mail_filtering_language)">Sieve</a> a few days ago.  To skip a long and boring story, I rebuilt a bunch of packages (yay for JDS&#8217;s spec build system) for the following:
<ul>
    <li><a href="http://dovecot.org/">Dovecot IMAP server</a> (1.1.11)</li>
    <li>Dovecot&#8217;s <a href="http://wiki.dovecot.org/LDA/Sieve">CMU Sieve plugin</a> (1.1.6)</li>
    <li>Dovecot&#8217;s <a href="http://wiki.dovecot.org/ManageSieve">managesieve plugin</a> (0.10.5)</li>
</ul>
Quick summary: Dovecot is a wicked awesome IMAP server.  Sieve provides a way of doing mail filtering.  managesieve is an protocol to allow users to modify their sieve filters via the IMAP protocol.</p>

<p>I use <a href="http://roundcube.net/">Roundcube Webmail</a> on my server, and there is a super-nice <a href="http://alec.pl/roundcube/managesieve/">Roundcube Managesieve plugin available</a>.</p>

<p>So I built and installed my Dovecot packages, installed the Roundcube Managesieve plugin, and I&#8217;m off and flying with awesome client-configurable mail filtering while allowing the mail filtering itself to be done server-side.</p>

<p>I&#8217;ve made the packages <a href="http://whacked.net/oss/SFEdovecot-20090311.pkg">available here (14 MB download)</a>.  This SVr4 pkg contains <tt>SFEdovecot, SFEdovecot-cmusieve, SFEdovecot-managesieve</tt>, and the <tt>SFEdovecot-root</tt> (configuration files) packages.</p>
]]></content:encoded>
			<wfw:commentRss>http://whacked.net/2009/03/11/dovecot-1111-managesieve-cmu-sieve-solaris-pkgs/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>photos and re-designs</title>
		<link>http://whacked.net/2008/11/26/photos-and-re-designs/</link>
		<comments>http://whacked.net/2008/11/26/photos-and-re-designs/#comments</comments>
		<pubDate>Thu, 27 Nov 2008 05:27:43 +0000</pubDate>
		<dc:creator>Stephen Lau</dc:creator>
				<category><![CDATA[Grommit]]></category>
		<category><![CDATA[Photos]]></category>

		<guid isPermaLink="false">http://whacked.net/?p=1162</guid>
		<description><![CDATA[Personal stuff first: On a whim, I bought stevel.me and decided to keep a photoblog using WordPress and YAPB. I also reorganised my photo gallery. Stuff for the other grommit residents: I installed a bunch of new themes to the grommit gallery, as well as turning on a bunch of new Gallery plugins. None of [...]]]></description>
			<content:encoded><![CDATA[<p>Personal stuff first:
On a whim, I bought <a href="http://stevel.me">stevel.me</a> and decided to keep a photoblog using WordPress and <a href="http://johannes.jarolim.com/blog/wordpress/yet-another-photoblog/">YAPB</a>.  I also reorganised my <a href="http://whacked.net/gallery">photo gallery</a>.</p>

<p>Stuff for the other grommit residents:
I installed a bunch of new themes to the <a href="http://grommit.com/gallery">grommit gallery</a>, as well as turning on a bunch of new Gallery plugins.  None of the defaults have changed, but if you play around with the album settings you should see some new features.</p>

<p>For some reason or another, I&#8217;m quite fond of the square thumbnails plugin.  I notice between my <a href="http://whacked.net">new blog theme</a>, my <a href="http://stevel.me">photoblog theme</a>, and my new <a href="http://whacked.net/gallery">gallery theme</a>&#8230; I seem to really be into grids, squares, and lines&#8230; the square thumbnails must fit nicely into those in a uniform space sort of way.</p>
]]></content:encoded>
			<wfw:commentRss>http://whacked.net/2008/11/26/photos-and-re-designs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>whacked gets fatty</title>
		<link>http://whacked.net/2008/11/16/whacked-gets-fatty/</link>
		<comments>http://whacked.net/2008/11/16/whacked-gets-fatty/#comments</comments>
		<pubDate>Sun, 16 Nov 2008 23:26:38 +0000</pubDate>
		<dc:creator>Stephen Lau</dc:creator>
				<category><![CDATA[Grommit]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://whacked.net/?p=1129</guid>
		<description><![CDATA[I just installed a new WordPress theme (Miniml). It&#8217;s considerably fatter (as in &#8216;wider&#8217;) than my previous theme&#8230; so hopefully all y&#8217;all who complained about the previous one being too skinny will stop hassling me now. It also integrates my photo gallery and Twitter stream below. This is a half-assed attempt to keep my blog [...]]]></description>
			<content:encoded><![CDATA[<p>I just installed a new WordPress theme (<a href="http://www.themelab.com/2008/08/14/miniml-free-wordpress-theme/">Miniml</a>).  It&#8217;s considerably fatter (as in &#8216;wider&#8217;) than my previous theme&#8230; so hopefully all y&#8217;all who complained about the previous one being too skinny will stop hassling me now.</p>

<p>It also integrates my photo gallery and Twitter stream below.  This is a half-assed attempt to keep my blog looking active even when I&#8217;m lazy and not blogging.</p>
]]></content:encoded>
			<wfw:commentRss>http://whacked.net/2008/11/16/whacked-gets-fatty/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>200 days of uptime, yay!</title>
		<link>http://whacked.net/2008/06/12/200-days-of-uptime-yay/</link>
		<comments>http://whacked.net/2008/06/12/200-days-of-uptime-yay/#comments</comments>
		<pubDate>Fri, 13 Jun 2008 02:50:06 +0000</pubDate>
		<dc:creator>Stephen Lau</dc:creator>
				<category><![CDATA[Grommit]]></category>

		<guid isPermaLink="false">http://whacked.net/?p=972</guid>
		<description><![CDATA[grommit just passed 200 days of uptime! (please don&#8217;t take this as an invitation to attack my machine now. it&#8217;s been a fairly cruddy day otherwise, and i have no energy to fend off an attack at the moment)]]></description>
			<content:encoded><![CDATA[<p>grommit just passed 200 days of uptime!
(please don&#8217;t take this as an invitation to attack my machine now. it&#8217;s been a fairly cruddy day otherwise, and i have no energy to fend off an attack at the moment)</p>
]]></content:encoded>
			<wfw:commentRss>http://whacked.net/2008/06/12/200-days-of-uptime-yay/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>roundcube webmail software</title>
		<link>http://whacked.net/2008/02/03/roundcube-webmail-software/</link>
		<comments>http://whacked.net/2008/02/03/roundcube-webmail-software/#comments</comments>
		<pubDate>Mon, 04 Feb 2008 06:16:06 +0000</pubDate>
		<dc:creator>Stephen Lau</dc:creator>
				<category><![CDATA[Grommit]]></category>

		<guid isPermaLink="false">http://whacked.net/2008/02/03/roundcube-webmail-software/</guid>
		<description><![CDATA[hrm&#8230; stumbled across roundcube tonight. have to admit, i&#8217;m interested. it&#8217;s a helluva lot prettier looking than squirrelmail. the fact that it&#8217;s a 0.1 rc2 scares me a little&#8230; but hey, i&#8217;m working for a startup that&#8217;s at 0.4 after 3 years. i might try setting it up as a parallel webmail system for people [...]]]></description>
			<content:encoded><![CDATA[<p>hrm&#8230; stumbled across <a href="http://roundcube.net/screens">roundcube</a> tonight.  </p>

<p>have to admit, i&#8217;m interested.  it&#8217;s a helluva lot prettier looking than squirrelmail.  the fact that it&#8217;s a 0.1 rc2 scares me a little&#8230; but hey, i&#8217;m working for a startup that&#8217;s at 0.4 after 3 years. <img src='http://whacked.net/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />   </p>

<p>i might try setting it up as a parallel webmail system for people to check out&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://whacked.net/2008/02/03/roundcube-webmail-software/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>php5 &#8220;Unable to fork&#8221; on Solaris</title>
		<link>http://whacked.net/2007/12/06/php5-unable-to-fork-on-solaris/</link>
		<comments>http://whacked.net/2007/12/06/php5-unable-to-fork-on-solaris/#comments</comments>
		<pubDate>Thu, 06 Dec 2007 17:04:24 +0000</pubDate>
		<dc:creator>Stephen Lau</dc:creator>
				<category><![CDATA[Grommit]]></category>
		<category><![CDATA[OpenSolaris]]></category>

		<guid isPermaLink="false">http://whacked.net/2007/12/06/php5-unable-to-fork-on-solaris/</guid>
		<description><![CDATA[I was battling with inconsistent behaviour for grommit with PHP5 periodically (50% of the time, roughly) throwing the dreaded &#8220;Unable to fork&#8221; error (seen on both exec() &#38; passthru() calls). Googling for it gives tons of great info for what causes this problem on Windows; but virtually none on Solaris. Finally after some truss and [...]]]></description>
			<content:encoded><![CDATA[<p>I was battling with inconsistent behaviour for <a href="http://grommit.com">grommit</a> with PHP5 periodically (50% of the time, roughly) throwing the dreaded &#8220;Unable to fork&#8221; error (seen on both exec() &amp; passthru() calls).  Googling for it gives tons of great info for what causes this problem on Windows; but virtually none on Solaris.</p>

<p>Finally after some truss and DTrace-fu, I saw what was happening.  exec() was calling open(), and since httpd is a 32 bit process, it was hitting the 256 file descriptor limit.</p>

<p>Booooooo. <img src='http://whacked.net/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>

<p>A quick modification to /lib/svc/method/http-apache2 to do a:</p>

<p><code>ulimit -n 65535
LD&#95;PRELOAD&#95;32=/usr/lib/extendedFILE.so.1
export LD_PRELOAD&#95;32</code></p>

<p>before the line calling apachectl at the end fixed the problem for me.</p>

<p>Seems like other people should have hit this problem though; which makes me curious why I don&#8217;t see any other hits on Google about it.</p>
]]></content:encoded>
			<wfw:commentRss>http://whacked.net/2007/12/06/php5-unable-to-fork-on-solaris/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>a dearth of packages</title>
		<link>http://whacked.net/2007/11/23/a-dearth-of-packages/</link>
		<comments>http://whacked.net/2007/11/23/a-dearth-of-packages/#comments</comments>
		<pubDate>Fri, 23 Nov 2007 23:25:19 +0000</pubDate>
		<dc:creator>Stephen Lau</dc:creator>
				<category><![CDATA[Grommit]]></category>
		<category><![CDATA[OpenSolaris]]></category>

		<guid isPermaLink="false">http://whacked.net/2007/11/23/a-dearth-of-packages/</guid>
		<description><![CDATA[This Thanksgiving I give thanks for all the packaging work underway in OpenSolaris. I look forward to a day in the future where I don&#8217;t have to spend so much time building out packages for all the updated software I need. I&#8217;m building out the new Grommit machine, and part of what Grommit hosts is [...]]]></description>
			<content:encoded><![CDATA[<p>This Thanksgiving I give thanks for all the packaging work underway in OpenSolaris.  I look forward to a day in the future where I don&#8217;t have to spend so much time building out packages for all the updated software I need.</p>

<p>I&#8217;m building out the new Grommit machine, and part of what Grommit hosts is a whole bunch of Zones.  I like to try to keep everything clean with pkg installs, so I&#8217;ve spent a good part of the past two days building Solaris (snv_75a) packages for Dovecot, PHP5, and Postfix.</p>

<p>Yes, I realise that packages for these already exist on Blastwave and elsewhere, but I want ones that leverage the Apache2, MySQL, and OpenSSL that Solaris already ships with.  Anyway, thankfully the software all built fairly straight-forward which made my life a lot easier.</p>

<p>About the only thing left that I need is SpamAssassin and I&#8217;m hoping to use <a href="http://blogs.sun.com/eric_boutilier">Eric B&#8217;s</a> package that he put together for the OpenSolaris mail server for that.  Eric passed me the Postfix package they use but unfortunately I ended up needing to rebuild it anyway since I wanted it to have TLS + SASL and authenticate against the Dovecot SASL.</p>

<p>I&#8217;ve done migrations of all the ZFS data for the home and web directories (yay for zfs send | ssh zfs receive), and I&#8217;ve installed Mailman (which I didn&#8217;t bother putting in a package since it cleanly separates itself in its own directory).  I did a test migration of the MySQL database (which seemed to barf only on a field named &#8216;key&#8217;, which fortunately was easily worked around by escaping it with backticks).  I&#8217;m pretty happy with the general build out of the machine so far.  When I built out grommit last time it was early on in my days of using Solaris, so in general I&#8217;d made a mess of installing software all over the place, some in Blastwave, some from source, and things poorly and sloppily done everywhere.  I&#8217;m trying to do things properly this time to make it easier to quickly commission zones that don&#8217;t require a whole bunch of finangling to get running cleanly.  </p>

<p>I wonder if I can get grommit migrated by Sunday.  That&#8217;d be a nice Thanksgiving surprise.</p>
]]></content:encoded>
			<wfw:commentRss>http://whacked.net/2007/11/23/a-dearth-of-packages/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>note to self: read notes to self</title>
		<link>http://whacked.net/2007/11/22/note-to-self-read-notes-to-self/</link>
		<comments>http://whacked.net/2007/11/22/note-to-self-read-notes-to-self/#comments</comments>
		<pubDate>Thu, 22 Nov 2007 20:08:33 +0000</pubDate>
		<dc:creator>Stephen Lau</dc:creator>
				<category><![CDATA[Grommit]]></category>

		<guid isPermaLink="false">http://whacked.net/2007/11/22/note-to-self-read-notes-to-self/</guid>
		<description><![CDATA[Urgh. Just spent 45 minutes trying to debug why my Postfix + Dovecot SASL setup wasn&#8217;t working. Reading the (very concise &#38; well written) HOWTO on how to test it, it still wasn&#8217;t working. I knew how to do it, so I totally ignored reading my ~/Documents/Grommit/POSTFIXREADTHIS_IDIOT doc I wrote to myself last time I [...]]]></description>
			<content:encoded><![CDATA[<p>Urgh.
Just spent 45 minutes trying to debug why my Postfix + Dovecot SASL setup wasn&#8217;t working.
Reading the (very concise &amp; well written) <a href="http://www.postfix.org/SASL_README.html#server_test">HOWTO</a> on how to test it, it still wasn&#8217;t working.
I knew how to do it, so I totally ignored reading my ~/Documents/Grommit/POSTFIX<em>READ</em>THIS_IDIOT doc I wrote to myself last time I did this.</p>

<p>Finally, after 45 minutes &#8211; I gave up, and read my note to self I wrote 3 years ago.
A very important line at the bottom said:
<blockquote>
&#8220;If you have Perl special characters ($, &amp;) in your password, don&#8217;t forget to escape them or the password base64 encoding won&#8217;t work.  You just wasted an hour on this, dumbass.&#8221;
</blockquote></p>

<p>Sigh.  I just updated it to &#8220;You just wasted an hour and 45 minutes on this, dumbass.&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://whacked.net/2007/11/22/note-to-self-read-notes-to-self/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>new grommit online</title>
		<link>http://whacked.net/2007/11/17/new-grommit-online/</link>
		<comments>http://whacked.net/2007/11/17/new-grommit-online/#comments</comments>
		<pubDate>Sun, 18 Nov 2007 01:59:46 +0000</pubDate>
		<dc:creator>Stephen Lau</dc:creator>
				<category><![CDATA[Grommit]]></category>

		<guid isPermaLink="false">http://whacked.net/2007/11/17/new-grommit-online/</guid>
		<description><![CDATA[yay, the new grommit machine is up and running&#8230; [stevel@animalfarm:~] 507$ psrinfo -vp The physical processor has 4 virtual processors (0-3) x86 (GenuineIntel 6FB family 6 model 15 step 11 clock 2400 MHz) Intel(r) Xeon(r) CPU X3220 @ 2.40GHz [stevel@animalfarm:~] 508$ prtconf &#124; grep "^Memory" Memory size: 4095 Megabytes [stevel@animalfarm:~] 509$ uname -a SunOS animalfarm [...]]]></description>
			<content:encoded><![CDATA[<p>yay, the new grommit machine is up and running&#8230;</p>

<pre>
[stevel@animalfarm:~] 507$ psrinfo -vp
The physical processor has 4 virtual processors (0-3)
  x86 (GenuineIntel 6FB family 6 model 15 step 11 clock 2400 MHz)
        Intel(r) Xeon(r) CPU           X3220  @ 2.40GHz
[stevel@animalfarm:~] 508$ prtconf | grep "^Memory"
Memory size: 4095 Megabytes
[stevel@animalfarm:~] 509$ uname -a
SunOS animalfarm 5.11 snv_75 i86pc i386 i86pc
[stevel@animalfarm:~] 510$
</pre>
]]></content:encoded>
			<wfw:commentRss>http://whacked.net/2007/11/17/new-grommit-online/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

