All entries for Wednesday 23 August 2006

August 23, 2006

Mail export from Groupwise with fetchmail + procmail

Wondering how to get all your valuable messages out of Groupwise and into somewhere safe before you get migrated on to exchange? Tried Thunderbird etc but it keeps timing out? Got a Proper Operating System™ handy? Try this then:

 fetchmail --user {usercode} --proto imap --folder {foldername} --fetchall  --mda "procmail -f %F"

(replacing {usercode} and {foldername} as appropriate; you can leave off—folder {foldername} if you just want your inbox)

I expect that someone who knew the first thing about procmail could probably make it put the messages somewhere other than /var/mail/{usercode}, but that’s good enough for me – I can always rename the file afterwards.

The big advantage of this method is that fetchmail has more-or-less infinite patience; whereas thunderbird (and, and evolution, and outlook too AFAIK) will all get impatient after a while and time out, fetchmail will wait for as long as groupwise asks it to (which can be a long time!) Hopefully by tomorrow morning it’ll have finished downloading the couple-of-thousand messages I’ve asked for, and I can delete my ‘reference’ folder :-)

update this works fine against exchange too, but you need to (a) replace gwmail with , and (b) add the—ssl option (myimapmail only listens to sIMAP)

Cory Doctorow is James Barris

(BTW, 'A Scanner Darkly' is ace, you should go and see it.)

Separated at birth?



I like tractors

Tractors are great. They drive at a steady 25–30MPH, and (on account of their less–than–areodynamic design) they pull along a massive slipstream behind them. If one overtakes you whilst you're on a bike, you can usually tuck in behind it without much effort, after which you've basically got a free ride for as long as you and the tractor are going the same way.

The only slight downer is that you've got to stick about 5–10 feet away from the back of the tractor, which means either staring the 3–pronged spiky metal linkage thing in the face (knowing full well that if the tractor decides to stop suddenly, you'll be eating it), or sitting behind the nearside wheel and getting covered in crap every time it goes through a puddle. Small price to pay for the chance to sit back and relax, whilst travelling at speeds that would normally be pretty much unsustainable on the flat, though :–)

Most recent entries


Search this blog

on twitter...


    Not signed in
    Sign in

    Powered by BlogBuilder
    © MMXXI