fetchmail は over SSL できる

今の今まで知りませんでした orz。

$ fetchmail --ssl --verbose
fetchmail: 6.2.5 は hoge.example.jp とプロトコル POP3 を用いて 2008年07月01日 13時42分34秒 に交信しています。交信が開始されました。
fetchmail: 発行元の組織: Equifax Secure Inc.
fetchmail: 発行元の CommonName: Equifax Secure Global eBusiness CA-1
fetchmail: サーバの CommonName: hoge.example.jp
fetchmail: hoge.example.jp の key fingerprint は次の通りです。: F1:0F:62:B6:BB:E7:31:7B:39:A6:A7:44:64:FE:B7:35 
fetchmail: 警告 : サーバ証明書検証: unable to get local issuer certificate
fetchmail: 発行元の組織: Equifax Secure Inc.
fetchmail: 発行元の CommonName: Equifax Secure Global eBusiness CA-1
fetchmail: サーバの CommonName: hoge.example.jp
fetchmail: 警告 : サーバ証明書検証: certificate not trusted
fetchmail: 発行元の組織: Equifax Secure Inc.
fetchmail: 発行元の CommonName: Equifax Secure Global eBusiness CA-1
fetchmail: サーバの CommonName: hoge.example.jp
fetchmail: 警告 : サーバ証明書検証: unable to verify the first certificate
fetchmail: POP3< +OK <94751.1214887354@hoge.example.jp>
fetchmail: POP3> USER foo-bar
fetchmail: POP3< +OK 
fetchmail: POP3> PASS *
fetchmail: POP3< +OK 
fetchmail: POP3> STAT
fetchmail: POP3< +OK 0 0
fetchmail: アカウント foo-bar , サーバ hoge.example.jp 宛にメッセージは届いておりません。
fetchmail: POP3> QUIT
fetchmail: POP3< +OK 
fetchmail: 6.2.5 は hoge.example.jp とプロトコル POP3 を用いて 2008年07月01日 13時42分37秒 に交信しています。交信が終了しました。
fetchmail: 通常の終了です。status 1

これで stunnel の設定が一個消せるなぁ :)。


あ、~/.fetchmailrc にも書けますね。

$ cat .fetchmailrc
poll hoge.example.jp
proto POP3
user foo-bar
pass xxxxx
fetchall
ssl