Re-alpine on Mac OSX
Tips on configuring, compiling, and running re-alpine 2.01 on Mac OSX 10.6.2. This may work on previous or later versions of both the operating system and/or the email client, but I have not tested either.
This is not a full procedure, merely some notes I will forget after I make them, then have to search for later. This assumes XCode version 3.2.1 is installed (no other versions tested).
Re-alpine kept annoying me with warnings that my CACert issued server certificate for mx.weller-fahy.com was of questionable validity, and I did not want to set the "/novalidate-cert" switch. To solve that problem, try the following.
$ 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
Also, you may have better luck compiling by removing the following line from imap/Makefile (as indicated in this post).
EXTRACFLAGS="$(EXTRACFLAGS) -DMAC_OSX_KLUDGE=1" \
Configure, make, make install, and have a cup of joe to celebrate.