Mac OS X で solid-pop3d を使う !! インストール rin@kahori[/usr/pkgsrc/mail/solid-pop3d]% sudo bmake install clean ===> Checking for vulnerabilities in solid-pop3d-0.15 => solid-pop3d-0.15.tar.gz doesn't seem to exist on this system. => Attempting to fetch solid-pop3d-0.15.tar.gz from http://solidpop3d.pld.org.pl/. => [102927 bytes] ftp: No address associated with nodename => Attempting to fetch solid-pop3d-0.15.tar.gz from http://ftp.fi.NetBSD.org/pub/NetBSD/packages/distfiles/. => [102927 bytes] Requesting http://ftp.fi.NetBSD.org/pub/NetBSD/packages/distfiles/solid-pop3d-0.15.tar.gz 102927 bytes retrieved in 00:02 (41.05 KB/s) => Checksum SHA1 OK for solid-pop3d-0.15.tar.gz. => Checksum RMD160 OK for solid-pop3d-0.15.tar.gz. ===> Extracting for solid-pop3d-0.15 ===> Patching for solid-pop3d-0.15 ===> Applying pkgsrc patches for solid-pop3d-0.15 ===> Overriding tools for solid-pop3d-0.15 ===> Creating toolchain wrappers for solid-pop3d-0.15 ===> Configuring for solid-pop3d-0.15 ===> Building for solid-pop3d-0.15 : ===> Installing for solid-pop3d-0.15 /usr/pkg/bin/bmake install-man1 install-man5 install-man8 /bin/sh ../mkinstalldirs /Volumes/NetBSD/pkg/man/man1 /bin/sh ../mkinstalldirs /Volumes/NetBSD/pkg/man/man5 /usr/bin/install -c -o root -g wheel -m 444 ./spop3d.conf.5 /Volumes/NetBSD/pkg/man/man5/spop3d.conf.5 /usr/bin/install -c -o root -g wheel -m 444 ./dot-spop3d.5 /Volumes/NetBSD/pkg/man/man5/dot-spop3d.5 /bin/sh ../mkinstalldirs /Volumes/NetBSD/pkg/man/man8 /usr/bin/install -c -o root -g wheel -m 444 ./spop3d.8 /Volumes/NetBSD/pkg/man/man8/spop3d.8 /bin/sh ../mkinstalldirs /Volumes/NetBSD/pkg/bin /bin/sh ../mkinstalldirs /Volumes/NetBSD/pkg/sbin /usr/bin/install -c -s -o root -g wheel -m 555 spop3d /Volumes/NetBSD/pkg/sbin/spop3d /usr/bin/install -d -o root -g wheel -m 755 /Volumes/NetBSD/pkg/share/examples/spop3d cd /Volumes/NetBSD/pkgsrc/mail/solid-pop3d/work/solid-pop3d-0.15/doc; for i in config.example; do /usr/bin/install -c -o root -g wheel -m 444 ${i} /Volumes/NetBSD/pkg/share/examples/spop3d/${i}; done /usr/bin/install -d -o root -g wheel -m 755 /Volumes/NetBSD/pkg/share/doc/solid-pop3d /usr/bin/install -c -o root -g wheel -m 444 /Volumes/NetBSD/pkgsrc/mail/solid-pop3d/work/solid-pop3d-0.15/AUTHORS /Volumes/NetBSD/pkg/share/doc/solid-pop3d /usr/bin/install -c -o root -g wheel -m 444 /Volumes/NetBSD/pkgsrc/mail/solid-pop3d/work/solid-pop3d-0.15/CONFIGFILE /Volumes/NetBSD/pkg/share/doc/solid-pop3d /usr/bin/install -c -o root -g wheel -m 444 /Volumes/NetBSD/pkgsrc/mail/solid-pop3d/work/solid-pop3d-0.15/COPYING /Volumes/NetBSD/pkg/share/doc/solid-pop3d /usr/bin/install -c -o root -g wheel -m 444 /Volumes/NetBSD/pkgsrc/mail/solid-pop3d/work/solid-pop3d-0.15/ChangeLog /Volumes/NetBSD/pkg/share/doc/solid-pop3d /usr/bin/install -c -o root -g wheel -m 444 /Volumes/NetBSD/pkgsrc/mail/solid-pop3d/work/solid-pop3d-0.15/INSTALL /Volumes/NetBSD/pkg/share/doc/solid-pop3d /usr/bin/install -c -o root -g wheel -m 444 /Volumes/NetBSD/pkgsrc/mail/solid-pop3d/work/solid-pop3d-0.15/README /Volumes/NetBSD/pkg/share/doc/solid-pop3d /usr/bin/install -c -o root -g wheel -m 444 /Volumes/NetBSD/pkgsrc/mail/solid-pop3d/work/solid-pop3d-0.15/THANKS /Volumes/NetBSD/pkg/share/doc/solid-pop3d /usr/bin/install -c -o root -g wheel -m 444 /Volumes/NetBSD/pkgsrc/mail/solid-pop3d/work/solid-pop3d-0.15/VIRTUALS /Volumes/NetBSD/pkg/share/doc/solid-pop3d ===> Please note the following: =========================================================================== $NetBSD: MESSAGE,v 1.1 2002/05/12 16:54:45 hubertf Exp $ The config file for solid-pop3d-0.15 must be located at /Volumes/NetBSD/pkg/etc Example files are located at /Volumes/NetBSD/pkg/share/examples/spop3d To use solid-pop3d-0.15 you must add 'spop3d' user: spop3d:*:68:32766::0:0:spop3d:/sbin/nonexistent:/sbin/nologin To run solid-pop3d-0.15 from inetd, make sure you didn't enable standalone option and add the following line to /etc/inetd.conf: pop3 stream tcp nowait root /Volumes/NetBSD/pkg/sbin/spop3d spop3d =========================================================================== ===> Registering installation for solid-pop3d-0.15 ===> Cleaning for solid-pop3d-0.15 rin@kahori[/usr/pkgsrc/mail/solid-pop3d]% !! ユーザ追加 rin@kahori[/usr/pkgsrc/mail/solid-pop3d]% sudo niload passwd . < spop3d:*:68:32766::0:0:spop3d:/sbin/nonexistent:/sbin/nologin spop3d:*:68:32766::0:0:spop3d:/sbin/nonexistent:/sbin/nologin > END rin@kahori[/usr/pkgsrc/mail/solid-pop3d]% nidump passwd . | grep spop3d nidump passwd . | grep spop3d spop3d:*:68:32766::0:0:spop3d:/sbin/nonexistent:/sbin/nologin !! xinetd xinetd 経由で起動させる。 以下設定ファイル。 rin@kahori[/etc/xinetd.d]% cat pop3 service pop3 { disable = no flags = IPv4 socket_type = stream wait = no user = root server = /usr/pkg/sbin/spop3d port = 110 } xinetd を設定ファイルを読み込ませる。 rin@kahori[/etc/xinetd.d]% ps waxu | grep xinetd root 278 0.0 0.1 27484 316 ?? Ss 20 705 0:30.12 xinetd -inetd_compat -pidfile /var/run/xinetd.pid rin@kahori[/etc/xinetd.d]% sudo kill -HUP 278 サービス起動 rin@kahori[/etc/xinetd.d]% sudo /sbin/service pop3 start !! ログイン確認 rin@kahori[/usr/pkg/etc]% telnet 127.0.0.1 110 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. +OK Solid POP3 server ready USER rin +OK username accepted PASS xxxxxx -ERR authentication failed Connection closed by foreign host. ぇぇぇぇぇ。 ヲレがログインできないのか。 放置。