必要になったソフトをインストールし続けた。次に問題になったのがメール環境の設定だった。自宅のメール環境は、cygwin + fetchmail + scmail + Meadow + Wanderlustを使っている。
プロバイダーとGMailはPOP over SSLを使っている。Yahoo!メールは対応していないので生のPOP3です。ちなみに、送信はプロバイダーのみ使います。
.fetchmailrcの内容(一部)
sslcertpath /usr/ssl/certs/ sslcertck poll pop.gmail.com with proto POP3 port 995 user ほげほげ@gmail.com password ぱすわーど ssl mda "/usr/local/bin/scmail-deliver"
すると、OPENSSL等はインストールしているんだけどルート証明書がないとエラーが出る。で、GmailはEquifax Secure Certificate Authorityを使っている。プロバイダーは、Entrust, GTE CyberTrustを使っているので、それぞれダウンロードして
$cd /usr/ssl/certs/ $ln -s entrust_ev_ca.pem $(openssl x509 -noout -hash < entrust_ev_ca.pem).0 $ln -s GTEGlRoot.pem $(openssl x509 -noout -hash < GTEGlRoot.pem).0 $ln -s Equifax_Secure_Certificate_Authority.pem $(openssl x509 -noout -hash < Equifax_Secure_Certificate_Authority.pem).0
を実行した。*1これで、cygwin環境のfetchmailでPOP over SSLを使えるようになった。
*1:opensslは難しいので、昔のメモを探して行いました