"Ain't that some bullshit", 365-to-Migadu-migration edition

TL;DR: Use imapsync with DavMail.

So my subscription for Office 365 (or whatever it's called these days) was due for renewal in January. I only ever used it for email on my domain. Given how increasingly hateful the Outlook web client has been in recent years (worst among them was when it randomly disabled the ability to send plain-text email for some time), and my general desire to move as much of my life away from software I have no control over, I decided to migrate my shit to Migadu. Partly because Migadu is kinda cheap, partly because Drew DeVault recommended them, but mostly because I really like their beautifully simple and functional website. I'm shallow!

Obviously, I didn't want to lose any of my email in this process. What should have happened is that I would enable IMAP on Office365, plug in some command line options to imapsync, and by the magic of open standards email would be moved from one place to another. Open standards are good! People who write open source software are awesome!

Of course, one half of that involved dealing with Microsoft. That and the rule of time estimates (increase the unit, halve the quantity) and the rule of everything is bullshit and never fucking works meant that I wasted more than a few hours trying to make that happen. Greetings from 3am!

The short version is if you use Office 365 in the same manner I did, which is that you were both the administrator of the domain and a user on the domain (because it was for personal email and you're the only person on the domain), nothing you do will make IMAP work for your account. Not if you navigate six levels of Enterprise-ness and a UI with decade-old branding to enable 2FA and then to enable "app passwords", not if you go disable security defaults and probably still nope if you run some PowerShell magic spells that I've seen around.

Give up trying to make IMAP work directly and use DavMail. I did!

DavMail is a proxy between Microsoft's proprietary protocols and protocols such as IMAP that the rest of the world uses. There's a package in the Ubuntu repositories called davmail, but because everything is bullshit and never fucking works the Ubuntu package is broken if you don't install the openjdk-11-jre package first (through no fault of DavMail's authors).

Anyway, once you've worked out that last bit from reading some random Debian bug report, you will want to go into DavMail's settings, under the "Main" tab, and change "Exchange Protocol" to "O365Interactive".

Then run a magic spell...

./imapsync \
  --host1 localhost \
  --port1 1143 \
  --user1 'you@dealingwithbullshit.com' \
  --debugimap1 \
  --password1 'hunter2' \
  --host2 'imap.migadu.com' \
  --user2 'you@dealingwithbullshit.com' \
  --password2 'hunter3'

...and DavMail will pop up a with a link to open in your browser, and that will in turn redirect to a URL that you copy-and-paste into DavMail. Some time later your mail will appear in Migadu or whatever else you decide to migrate to.

So, that was some bullshit. But it's done now! And I only have to do that once. And if I ever do have to do it again I won't waste hours of my time and hours of someone else's time trying to work out why IMAP isn't working, because, reminder, if your account is an admin account for an O365 domain it absolutely never will.

Anyway, imapsync and DavMail are good! They made me happy! I've only been dealing with mail migration bullshit for one long night, but the authors of both have been dealing with it for years. Here's a figurative toast to those fine people, and here's to many years of Migadu and me!

Rail Alphabet survivors at March station

Rail Alphabet is beautiful. It was everywhere on the railway network for decades; for people over a certain age, it is a typeface that says "railway" almost as surely as a double-arrow symbol does, and as surely as "Transport" says "road". It was so ubiquitous that one could associate that typeface with railways even if you do not know it is a distinct, single-purpose typeface - a fact I only learned in recent years thanks to Nick Job's beautiful digitisation of the British Rail Corporate Identity Manual.

Post-privatisation, much Rail Alphabet signage was replaced, usually with weaker typefaces chosen for coherence with a train operator's brand. Rail Alphabet lives on, though precariously, at lesser-loved stations. Those remnants that have survived privatisation might be doubly endangered in the upcoming Great British Railways rebranding.

March - once a major junction, and still has something of the feel of one despite route cuts from the 60s onwards - is one of those lesser-loved stations. It was on my mind that March is undergoing refurbishment, and that it might not keep any of its Rail Alphabet for very long. So, I paid a visit to the station on Thursday to see how much Rail Alphabet was left. As expected, the in-progress refurbishment has replaced or removed much of it, but there were still some lovely survivors on my visit.

Let's start with Rail Alphabet's distinctive "2", on Platform 2. Rail Alphabet is more likely to survive on platform number signs than it is anywhere else, because who would think they could improve on the clarity and function of this?

Here's a "Waiting room" sign, which indicates a waiting room, next to a non-BR "Customer Services" sign that does not indicate a place for customers to get service:

Compare this with the reference plank from Job's digitisation of the Manual. It looks as though it may have had a pictogram on it at one point which has been painted over since, or perhaps it should have had a pictogram on it and never did.

Over at the footbridge on Platform 2, there is a "Way out" sign with one of those beautiful pictograms. This sign was likely truthful when it was installed. Over the years, this has become misleading, and rather charmingly so; the nearest way out is about 15 feet to the left of this sign, along a footpath that crosses the former trackbed for the disused platforms.

On the footbridge, is more Rail Alphabet. The gate guards the section of the footbridge that leads to the disused platforms. As I did not open it, I was unable to comply with its polite request to close it.

There is another "Way out" sign on Platform 1. It scores one point over Platform 2's sign for veracity, but loses that point due to lack of chunky directional arrow.

Outside the station was much less exciting. Most of the British Rail era signage has disappeared in its current refurbishment, but the station sign at the level crossing nearby is still fully British Rail and still entirely glorious.

And finally, apropos of nothing other than that I really like them (the best reason possible), here's a Greater Anglia class 755 unit I saw while killing time at March.

Psst: I've uploaded all the photos above, and others from my visit, to the Wikimedia Commons, where they are available in full resolution and under a liberal license. See the station's category, which has photos by many people other than me, and in particular the signage subcategory, which does not.

Experiments within a project within a project

This is my brake servo.

I removed it from the car as part of the "refurbish the brakes" subproject of the "financially ruinous Rover P5" project. It's a separate unit from the pedal-activated cylinder unlike it is on almost any other car, because Rover loved overcomplicating things back then.

The vacuum chamber (the large cylinder on the right) was half-full with brake fluid. As the name "vacuum" implies, there is not meant to be any fluid in there at all. That was quite the surprise when I took it apart, and also a surprise which caused me to lose a full set of clothing. There was little way the servo could have been functioning, and I suspect that aeration of the brake fluid would have caused the braking system to be minimally-functional even without the servo's assistance.

I suspected this seal may have been the problem:

But, the unit was so ugly that I cannot say for sure that any single component was at fault. The photos you see here were after a blast of electrical contact cleaner (which is great for cleaning up anything that isn't an electrical contact).

I take a lot of photos in the course of doing things as reference for how things need to go back together. In the above one, you can see quite a lot of mank in the servo's internals.

Under other circumstances, I would have considered giving it a wire brush on the outside, a soak in petrol and a skim with very mild abrasives to clean the cylinders. But while I was ordering an electroplating kit for the various fasteners I have removed from the car, it seemed a good idea to order an electrolytic cleaning kit` as an experiment! As if I didn't have enough new things to learn...

Electrolytic cleaning is, in my head, electroplating in reverse. Rather than using an electric current to attract material onto a thing you want to plate, you operate it in reverse so an electric current attracts material away from a thing you want to clean.

It works quite well. In the process of working quite well, it turns the electrolyte (this is water mixed with powdered sodium carbonate) into the only thing I would like to drink less than brake fluid or Foster's.

The exterior of the servo still required some love from a wire brush on the outside after the cleaning. The two bores feel very nice after the cleaning, so I will leave them be.

And the part that makes me happiest, is that the Girling wordmark is now visible!

And that...means that after two weekends I am half-way through rebuilding one of the components of one of the sub-projects of the P5.


I never really trusted folks who have to talk so loud

Well I don't need more guilt here in my life
How the hell is that supposed to help me find the light?
And I don't need you preaching at me day and night
About the way I look, the way I walk
The way I dress and the way I talk
There's something that you think you see like you've ever looked at me

You say you've got it figured out
And you seem so damn proud about it
I never really trusted folks who have to talk so loud

That ain't to say you never looked me in the eye
But lookin' isn't seein' when you just can't spare the time
Besides you're selling things I just don't feel like buying
Like guilt and pain
Fear and shame
Who to thank, and who to blame
A set of rules that's bound to keep the living out of life
Who to love and who to hate
What's too soon and what's too late
There's some test you have to pass before you feel the love of God

Well I don't need some fear of afterlife
How the hell is that supposed to help me find the light?
And I don't need you preaching at me day and night
About the things I do and the things I don't
What I will and what I won't
There's fire in your eyes sir, and it chills me to the bone

You say you've got it figured out
And you seem so damn proud about it
I never really trusted folks who have to talk so loud

So thanks a lot man, but I'll be moving on
Yours is a hateful sermon, and it takes too goddamned long
See, life is short and I'm gonna find mine searching for the light


A visit to the body filler mines of Norfolk

Video contains strong language.

And that, kids, is where your P38 comes from!

This was not an act of wanton destruction and savagery. I would be lying if I said I didn't enjoy it, but it was necessary, because my brother's 1963 Land Rover had, as my brother sagely observed, a lot of filler.

Pictured: A lot of filler.

Some time before my brother bought this Land Rover in 2008, someone had tried to make its bodywork a bit smarter, with a lot of filler. I cannot say that this was a terrible idea, because it held up as well as a monstrous amount of filler could reasonably hold up.

It took my brother rolling the car onto its side some years ago to crack it severely, with some help from daily driving for years, three road trips to Africa, and one gentle road trip to China via Kazakhstan and Mongolia. Even then, as ugly as it was, it was not an MOT failure, until someone picked off some bits of it, and then it was an MOT failure because of an exposed sharp edge.

So, with a lot of filler removed, and some help from a blowtorch, soap[1], and a selection of percussive persuasion tools, we had a straight panel again. I say "straight", though I actually mean "straight enough to be presentable on a battered Land Rover". I made sure that Alex was out of arms reach and did not have any power tools to hand when I said "that's straight enough, but do you know how we could make that panel absolutely perfect? If we got a lot of filler..."

Many other things were completed over the weekend, thanks to Alex's superhuman motivation. And also his ability to talk people out of whatever else they wanted to do and into helping him.

But not even Alex can make me miss a British Drift Championship livestream...

I had other things to do with my current project-within-a-project on the P5 (more on this soon-ish), but after the filler-mining was complete of course I stayed up much longer than I was expecting to stay up, helping him wire in a pair of new horrifically-bright LED light bars, because Alex can talk toothpaste back into the tube...

...which took us into the early hours of the morning, and all of that was definitely a good way to spend 14 hours!

Thanks to Alex for the video and a couple of the pictures in this post.

[1] With very thin aluminium such as that of a Land Rover body panel, you mark the area you want to with ordinary soap. Heat that area with a blowtorch. When the soap turns black, it is at a temperature that is more-or-less optimal for percussive reshaping. :)

The little things

I love good documentation.

The Rover P5's workshop manual - the original one written by the engineers at Rover - is the best manual I have ever used. I especially enjoy that the manual sets out exactly what tools you will need including the sizes of spanners in the preface. This is the only workshop manual I have seen that does this, and it makes every job a tiny bit faster and a tiny bit more fun.

How many times did I work on the Mazda and read through a 20-step walkthrough and then in step 19 it says "use special tool, part number F-U, which is obviously completely unavailable for any amount of money to remove this delicate thing that will definitely break if you try to use cruder methods to remove it"?

Good documentation is important, and I believe in thanking people for good work even if I am late to their particular party. So, thank you, Rover engineers from 60 years ago. You did a fantastic job.