[Alpine-info] Setting Mac's default email handler to alpine

Aidan Wilson aidan at usyd.edu.au
Thu Dec 3 22:35:04 PST 2009


Far out, I didn't think this simple question would generate such debate.

I've since had a look at my system at home, an Ubuntu machine, and I
discovered that it's not quite as well supported as some in this thread
seem to believe.

My system 'preferred application' for email is in fact not 'alpine', but
~/bin/send-alpine, a small bash script I'd written to handle mailto: urls.
Here it is:


> #!/bin/sh

> alpine `echo $1 | sed "s/mailto://"`


I actually haven't tried putting this script on my mac system at work (not
at work now or until monday, so I can't test this), but hopefully doing so
will work, although there's the checkbox to run this in a terminal, which
is lacking on a mac. Would someone with a mac like to test this?

-Aidan


More information about the Alpine-info mailing list