Yearly Archives: 2012

Goodbye Evolution

I have a confession. I’ve stopped believing in Evolution. I don’t know how it happened, but it slowly evolved (or devolved) into one shitpile of an email/calendar/groupware application. The latest version packaged with Ubuntu is slower and buggier than ever. It will occasionally crash while using it (some of the controls in the configuration panel will crash it instantly on activation). While running in the background, idle, doing nothing, it will suddenly crash for no reason. As my friend Mike has joked, “They call it ‘Evolution’, because it’s not intelligently-designed.”

This stability problem is untenable. So I’ve decided to migrate to Thunderbird.

For some reason (documented on the dev wiki, I’m sure), Novell has decided to start using Maildir as the backing storage format for emails instead of the venerable mbox format. Maildir puts every message in its own file sorted by folder, whereas mbox stores all messages in a folder into one large file. The benefits of having thousands of small files is obvious if you consider how easy it would be to lose every message contained in an mbox file should it become corrupted. Novell included a conversion module to be run after the Evolution app upgrade that automatically converts the entire mbox store to Maildir. Since it leaves an archival copy of the mbox folders, this is not a problem…as long as you don’t receive any new mail for Evolution to pile into the Maildir folders.

Enter Thunderbird. It doesn’t natively support Maildir (yet), so it requires mbox for its local storage. Normally, I would just take the folder of mbox files and copy them over into the area used by the new mail client, but I can’t do that this time; can’t use the mbox archive without losing all of the mail collected into the Maildir folders since the upgrade back in June. So what to do? I thought about using some scripts to do the conversion, but most of the ones I found online wouldn’t handle the nested folder hierarchies of my emails. Next solution: use Evolution to push my entire mailstore, one folder at a time, up to an IMAP mail server, and then fetch it with Thunderbird. Well, that would swamp the server and take a while to chew through. Lots of hand-work.

Third solution? Set up a local (on this machine) mail server and copy my messages from there. Brilliant! Enter Dovecot, an email server that handles both IMAP (where mail is stored on the server and accessible from anywhere) and POP3 (where mail is fetched from the server by the email client and stored locally on disk). It natively supports different mail stores, is quick, highly configurable, and fits the job nicely. So here’s my migration path:

  1. In Evolution, make a backup of all emails into a tarball (likely named “evolution-backup-<date>.tar.gz”). At this point, stop using Evolution. Configure its email account settings it to leave mail on the server of all the email accounts it accesses. Wash your hands.
  2. Open the tarball and navigate down to “/.local/share/evolution/mail/”; pull out a copy of “local”, rename it “Maildir”, and drop it into your home folder (“/home/<username>/Maildir/”). This is where Dovecot will store your messages.
  3. Install Dovecot (you’ll need root or sudo privileges). It’s preferred to install the dovecot-imapd package since it comes preconfigured for IMAP support.
  4. in “/etc/dovecot/dovecot.conf”, uncomment “listen = *, ::” This tells Dovecot to listen to all network interfaces.
  5. in “/etc/dovecot/conf.d/10-mail.conf”, uncomment “mail_location =” and set the value to “~/Maildir”. This tells Dovecot that each user’s mail is in their home directory in the folder “Maildir”.
  6. restart Dovecot.
  7. Install Thunderbird and configure it to connect to the localhost server using your system username and password. Follow these instructions if you need handholding. Tell Thunderbird to subscribe to all of your mail folders if they’re not visible.

Some finagling later, and I got Thunderbird talking to and browsing all my mail. Success! And it was at this point that I had an epiphany. One of the problems I’ve had over the years is that all of my email (the stuff that wasn’t hosted on an IMAP server somewhere) is stored locally on my desktop’s disk and inaccessible from anything that wasn’t a mail client running on the system. This made it difficult to dig through old messages or check my POP3 mail if I wasn’t at home. So, why did I really need to copy everything from the “temporary” Dovecot server into the “local folders” of my email client? Why can’t I just, I dunno, actually keep using Dovecot as my own email server so I can access it from anywhere? Bully of an idea!

So what I’ve done is set up port forwarding on my home cable modem router to allow inbound connections on such-and-such a port to be routed internally to my desktop. With a little bit of work last night, I was able to install Thunderbird on my laptop and configure it to access emails, hosted in my house, at the cafe. Two birds, one stone.

The next step is to install something like fetchmail to periodically pull all of the mail sent to my POP3 boxes (I have several addresses across all my domains) and drop them into Dovecot’s inbox so I can check for new messages from anywhere.

This is all very rewarding for me. After some time mired in frustration, to have a project finish so successfully is a welcome bit of cheer. And cheer is what I need going into this next year. 2012 was alright, but it ended on a down note. Every day is a rollercoaster ride of neurochemicals and social currency, so any sort of positive news is like a sigh of relief. May 2013 be better for us all.

Stand

Looking at getting my shit back together. I feel like the long weekend needs to come to an end; time to get busy, active, moving forward. I’m not hurting for cash at the moment, but my income will be drying up within two weeks. It’s time to make the grab at real life again.

I’ve sorta enjoyed the past 2 months of floating. It’s nice to go to bed at 4 and wake up at 11. Nice to spend hours at the cafe. Great that I have no place to be at any one particular time. However, it’s the textbook definition of being debased. There’s no ground, no foundation, no roots. I thrive when rooted; it’s why I’m not a homeless traveler, although the romanticism of that idea tempts me. I need something to churn through, some cause, some purpose greater than myself to give me reason to keep going on. When I’m by myself, on my own, the fire inside is gone, and I’m left to chew my own face. If I want to survive my mental health, I need to work.

I think it is less to do with having a job (although income is important), but rather more about being part of something. When I am alone with my projects, I get the fire for, oh, a few days, a few weeks maybe, and then it just burns out because, well, it’s just me, it’s just my own damned project, so why bother? So many of my projects die before they bear fruit, and that is the crux of it. If I had a writing partner, or a group, or if I had a fellow musician to jam with, or if I was on a team of programmers working on a project, then dammit, I think I could achieve something, finish something. So what if I don’t get the pride of having done the whole thing myself? What does that get me other than “eh, that’s cool.”

Time to stand up and walk.

Invite

Somewhere, out there, something tremendously awesome is happening, something life-affirming and soul-filling. It’s just out there, and it’s going on right now. I think my invite got lost in the mail.

 

MixMaster Kitchenaid

I just wrote this on Facebook:

You won’t hear about this in the mainstream media, but you need to know about the Theory of Peak DJ Names which predicts that by 2068 we will completely exhaust our supply of unused DJ names, the last one being DJ Buffalo Wings With Honey Mustard Sauce. This fate will also happen to MC names in 2084 and MixMaster names in 2124. Please, we’ve got to fund research of alternative nomenclatures before it’s too late. Let’s secure a fresher, deffer future for our grandchildren and our grandchildren’s grandchildren. Pass this on, and let’s get the word out!

It’ll be interesting to see if it radiates out, and if so, how long it takes to mutate and come back around to me. Whee!

Holy Season?

I am not Christian, so I do not celebrate the birth of Christ.
I am not Jewish, so I do not burn nine candles when one will suffice.
I am not Druid, so I do not decorate evergreen trees with charms.
I am not Wiccan, so I do not celebrate the impregnation of the Moon Goddess and mourn the death of the Sun God.
I am not Dutch, so I do not anticipate a visit from Sinterklaas or fear the arrival of Krampus.
I am not Viking, so I do not burn an oak Yule log or sacrifice a boar to the god of farming.
I am not African, so I do not adorn myself in kente cloth.
I am not Roman, so I do not celebrate Saturnalia.
I am not a Consumer, so I do not buy gifts for friends and family as placebo for doing so year-round.

Please tell me, again, why I should be required to celebrate this holiday?

That being said, I do enjoy some of the ritual of the season; feasting with friends, getting drunk when the time is right. Hell, I’ll sometimes drive around and look at the christmas lights on neighborhood houses. Otherwise? Sorry, pal.