骨のダイスを転がそう

2009|01|02|03|04|05|06|07|10|12|
2010|01|02|03|04|05|06|07|08|09|10|11|
2011|02|03|05|06|07|08|09|10|11|12|
2012|01|02|04|05|09|10|11|12|
2013|01|02|04|
2014|11|
2015|01|04|05|
2016|06|07|08|09|11|
2017|01|02|03|04|
2018|03|

2010-09-05

_ [mail] net/pop で POP over SSL を使う

ruby のnet/pop は、pop over ssl に対応してなかったので。debian squeeze では、

aptitude install stunnel4 して

/etc/default/stunnel

ENABLED=1

/etc/stunnel/stunnel.conf

……略
client=yes

[pop3s]
accept=110
connect=server_name:995
TIMEOUTclose=0

server_name に、アクセスしたい POPサーバを指定

/usr/share/doc/stunnel4/README.Debian に従って証明書を作成。

/etc/init.d/stunnel start

こんな感じ。あとは、localhost:110 にアクセスすれば良し。