| POP3サーバ |
POP3(post office protocol 3)は、サーバにためられたメールを クライアント側にダウンロードするものである。
| ダウンロードとインストール |
ipop3dがインストールされているか調べる。
# which ipop3d /usr/sbin/ipop3d あるいは # rpm -q imap imap-2000c-10
ないようならばインストールする。rpmを探してくるのが手っ取り早い。 現状(2001.8.15)で新しいのは2000c-10というのがある。(RedHatの rpmに入っていたかな?)
# rpm -ivh imap-2000c-10
| サーバの立ち上げ |
inetd ,xined経由でPOP3サーバをたてる。 xinetdの場合は、/etc/xinetd.d/の下にipop3という名前で 以下のようなファイルを作る。rpmからインストールした場合はすでにあ るかな?。
# default: off
# description: The POP3 service allows remote users to access their mail \
# using an POP3 client such as Netscape Communicator, mutt, \
# or fetchmail.
service pop3
{
socket_type = stream
wait = no
user = root
server = /usr/sbin/ipop3d
log_on_success += USERID
log_on_failure += USERID
disable = no
}
|
inetdでは
pop3 stream tcp nowait root ipop3d ipop3d |
と設定して、xinetまたはinetを起動しなおせばいいでしょう。
# /etc/rc.d/init.d/xinetd restart または # /etc/rc.d/inet.d/inetd restart
| クライアントでの確認 |
お好きなメールソフトで、アカウントの追加を行なう。
受信メールのサーバの種類をPOP3とし、POP3サーバは、 mail.bigforest.hn.orgとする。 アカウントとパスワードを打てば問題なく、メールをダウンロードできる。