Solaris8にqpopperをインストールする
まずは、特にオプションを指定せずにインストールする
最新のqpopperを入手する
URL:http://www.ring.gr.jp/
今回使用したものは、qpopper4.0.9
gdbmが必要になるので合わせて入手する
URL:http://www.sunfreeware.com/
今回使用したものは、gdbm-1.8.3-sol8-sparc-local
○gdbmをインストールする
# pkgadd -d gdbm-1.8.3-sol8-sparc-local
○qppoperのセットアップ
入手してきたqpopper4.0.9を解凍して適当なディレクトリにおく
# cd qpopper4.0.9 # ./configure checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes ・・・・(省略) checking for setresuid... no checking for library containing gethostbyname... -lnsl checking for unsigned long int... yes checking size of unsigned long int... 4 checking for /dev/urandom ... no configure: creating ./config.status config.status: creating Makefile config.status: creating common/Makefile config.status: creating popper/Makefile config.status: creating mmangle/Makefile config.status: creating password/Makefile config.status: creating config.h #
# make cd ./popper && make all make[1]: Entering directory `/export/home/nadmin/qpopper4.0.9/popper' gcc -c -I.. -I.. -I. \ ・・・・(省略) gcc pop_dele.o pop_dropcopy.o pop_get_command.o pop_get_subcommand.o -I../common ../common/libcommon.a \ -lnsl -lsocket -lresolv -lmail -lnsl -lposix4 -lcrypt -ldl -lpam make[1]: Leaving directory `/export/home/nadmin/qpopper4.0.9/popper'
○qpopperのインストール
# make install ./install-sh -c -m 0644 -o root ./man/popper.8 /usr/local/man/man8/ echo "Installed man/popper.8 as /usr/local/man/man8/popper.8" ・・・・(省略) fi \ fi make[1]: Leaving directory `/export/home/nadmin/qpopper4.0.9/popper'
○サービス起動のための設定
/etc/inetd.confに以下を追記
# POP3
pop3 stream tcp nowait root /usr/local/sbin/popper popper -s
○inetdの再起動
# ps -ef | grep inetd
# kill -HUP [pid]
○動作確認
# telnet localhost 110 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. +OK Qpopper (version 4.0.9) at [フルホスト名] starting.