Summary
Tips on configuring, compiling, and running re-alpine 2.01 on Mac OSX 10.6.2. This may work on previous versions of both the operating system and/or the email client, but I have not tested either.
This is not a full procedure, merely a series of notes I will forget after I make them, then have to search for later.
Assumptions
- XCode version 3.2.1 installed (no other versions tested).
Purpose
I want to be able to use re-alpine to connect to my IMAP server using TLSv1/SSLv3 without receiving a warning that my CACert issued server certificate for mx.weller-fahy.com is of questionable validity.
- I do not want to set the "/novalidate-cert" switch.
Procedure
$ wget http://www.cacert.org/certs/root.crt
$ certhash=\`openssl x509 -noout -in root.crt -hash\`
$ mv root.crt $certhash.0
$ ln -s $certhash.0 cacert-class-1-PKI-key.pem
# mv $certhash.0 cacert-class-1-PKI-key.pem /System/Library/OpenSSL/certs
Remove the following line from imap/Makefile (as indicated in http://mailman2.u.washington.edu/pipermail/alpine-info/2009-October/002636.html).
EXTRACFLAGS="$(EXTRACFLAGS) -DMAC_OSX_KLUDGE=1" \Configure, make, and make install.