matthew's blog

matthew's picture

Migrating IMAP mailboxes using Linux and Mailsync

IMPORTANT NOTE: This is a "running blog" today, updated as I complete several steps. It will continue to change until I've nailed this process down -- I just wanted it recorded, and my blog seems a good spot to put up technical documentation.

This is my personal how-to on how I am migrating users from Groupwise to Cyrus Mail. I know this may sound backwards to some people! If it sounds odd to you, guess you're not a free/open-source software aficianado.


We were given a directive by our CIO that was quite simple. "Replace Groupwise. We're done running Novell stuff on our network. If you choose an alternative where we can own the source code, you may implement it without question. If you choose a proprietary alternative, you must provide written cost justification."

Exhibiting the enthusiasm that all systems administrators show for options that require cost-justification, I, of course, chose the free software option :) Spencer Tuttle did the initial Cyrus implementation and LDAP integration (a process well-documented elsewhere on the web), and eventually it fell to me to figure out how to migrate the Groupwise mailboxes to Cyrus. This, unfortunately, is much tougher than it sounds. Yeah, there's an easy way, but given the choice between doing it the easy way and relying on users to get it right, and doing it the hard way but being in control of the process and knowing it's done right, I'd rather be in control.

Products evaluated

  1. Mozilla Thunderbird. This is our chosen mail client for post-Groupwise life, so we figured we could just have all the users log into both their Groupwise and Cyrus mail accounts at the same time, and copy the folders over that they want to keep.


    • It just works™. You can log into both mailstores and drag folders.
    • Users gain complete control over what gets moved.

matthew's picture


I had a wonderful Labor Day weekend, and enjoyed my time with my family and children. We celebrated Zach's sixth birthday on Sunday with grandparents, cousins, aunts, an uncles. I had a chance to meet up with a friend from a common mailing list in person, and he was very interesting and fun to talk to -- can't wait to do it again, with more people. We went to the park tonight and played while picnicking with a neighbor family. I'm just about to retire for the night and snuggle with my beloved.

Of course, due to all this activity, I had zero blog entries :)

"Beauty is the bait which with delight allures man to enlarge his kind." --Socrates

"The pursuit of truth and beauty is a sphere of activity in which we are permitted to remain children all our lives." --Albert Einstein

"Youth is happy because it has the capacity to see Beauty. Anyone who keeps the ability to see Beauty never grows old. --Frank Kafka"

My life is beautiful.

matthew's picture

EjectEjectEject: On Individual Responsibility

I just finished reading an excellent, lengthy essay by Bill Whittle, on the topic of individual responsibility. If I get permission from him, I will reprint it here. If you plan on reading it, you need to allocate probably about an hour (for a reasonably speedy reader) to get through the essay and all the comments. Quotes follow, not necessarily in order in the essay (emphasis mine):

matthew's picture

Hotmail Out Of Memory

Just had a funny entry scroll past my window. We use sender address verification where I work to confirm that a sender, in fact, exists at the domain from which the mail is purported to be sent. Some spam just came our way claiming to be from hotmail, so of course Postfix (our mail transfer agent) ran out to Hotmail to make sure the user existed. What do we get on the reply? (a couple names changed to protect our network)

Aug 28 14:18:32 bubba postfix/smtpd[6705]: 1AA1FB8024: reject: RCPT from[]: 450 <>: Sender address rejected: unverified address: host[] said: 452 Out of memory (in reply to MAIL FROM command); from=<> to=<> proto=ESMTP helo=<>

Hotmail ran out of memory? They have to be getting slammed by something, they run some pretty beefy mail servers.

matthew's picture

Autism or Demonic Possession?

Minister charged with abuse in boy's death

A church minister was charged Tuesday with physical abuse of a child in the
death of an 8-year-old autistic boy who died as church leaders tried to
heal him at a storefront church in Milwaukee.

This so-called "minister" sat on a kid for two hours, suffocating him to death, in trying to drive out the "demons" that caused his autism. The mother of the boy helped hold him down as he was murdered in the name of religion. And people wonder why I insist that rationality, not emotion or the supernatural, govern my life.

matthew's picture

Pitch correction

Posted to this article on Slashdot today, and I figured I'd like to archive it somewhere useful...

Tuning, pitch, and scale are closely correlated. The two most common "tunings" in the western world are even-tempered and Pythagorean. The most common "scales" are Ionian and Aeolian (major and minor), with Dorian and Phrygian sometimes chiming in on popular music, but rarely others. Other cultures offer non-pentatonic scales with sometimes only five notes. I'm not confusing pitch and scale. I'm explaining that often pitch correction is necessary, particularly in some unusual recording situations, due to the conflict between modern even-tempered 12-tone tuning of certain instruments and the natural instinct of a singer or inexact-pitch instrument (such most strings, which depend on finger position for pitch, and some woodwinds where one can slightly adjust pitch via jaw tension) to gravitate towards a sweeter, non-logarithmic tuning.

matthew's picture

Best rant ever!

Eric S. Raymond (ESR) just posted the best rant I've ever read.

Eric is one of the luminaries of the Open-Source/Free Software community. His seminal writings, such as "The Cathedral And The Bazaar", "Homesteading the Noosphere", and "The Magic Cauldron" have shaped the values of a generation of software programmers steeped in the open development tradition. I've never seen anything make him angry before in his writing. This is an amazing first.

If you're interested in more background on this case, I'd recommend Googling for details on "SCO versus IBM", "Linux versus SCO", and hitting the archives on searching for "SCO". There's a lot of history for one short year.

matthew's picture


I am spending today moving servers to a newer, safer location. I'm tired of the power outages in this colo; they are very frustrating and frequent. I'm locking both the Outlanders Outfit and databases here once I get the move underway, so if you are unable to post comments you'll know why. I should be done by the end of today, Aug 25 2003.

It was a close thing that my server wasn't hosed forever. Guess I need to start doing nightly mysqldump's and exports from Cyrus mail.

For your daily dose of freakishness, try this link. Yes, it's work-safe. Just pictures from the 1991 Anything Goes production at Quince Orchard High School. I was "Sir Evelyn Oakleigh", first picture on the upper left. Man, I look different.

For the impatient, here's the image without clicking (boy, the things I do for you!). The strangest thing is, Mary's kept these pictures around for 12 years, and I think they've been up on the web nearly that long. Dig the rouge!

Matt Barnson and Jen Wolfe as Evelyn Oakleigh and Reno Sweeney in Anything Goes

matthew's picture

One Man: Prerelease!

OK, folks, early reviews are in, and although the song is not finished, they are highly favorable. So I figure I'll throw this over the wall. Click "Read More" to get the full blog and the download link for this tune. Best work I've ever done. But still not Garageband-ready.

"One Man" is a song with many lives. At the age of 17, I was conflicted, coming out of the other side of my mom's divorce, and had just spent a week

matthew's picture

My Sunday Sermon

As is often the case on Sunday mornings, our toddler and my wife were able to get some sleep around the same time Sunday morning, so I caught up on the conversations in some mailing lists. A conversation is raging through one list regarding a judge who secretly installed a two-ton stone Ten Commandments monument in the Alabama State Supreme Court building. Some list members suggested that if the Ten Commandments were an appropriate monument on the property of a government-owned building, perhaps the Wiccan "do what ye will, but harm no one" belief, or the Mormon "Articles of Faith" should also be given government ground. Good old ELC, the raving catholic, chose to speak up:

Syndicate content