Mail Server の移行


Lastmodified 2015-07-25 (土) 15:21:36


Mail Server の入れ替え

設定ファイルの変更

変更を要するファイルを探す

メールサーバ(frola)は219.117.236.148で稼働中。準備中のメル鯖(p5k)は219.117.236.147 (ns1.kuji-clinic.info)

root@p5k:/ # grep 219.117.236.147 /etc/ -r
/etc/hosts:219.117.236.147              p5k.kuji-clinic.info p5k
/etc/hosts:219.117.236.147              p5k.kuji-clinic.info.
/etc/namedb/kuji-clinic.info.db:ns1             IN      A       219.117.236.147
/etc/namedb/thousand-winds.jp.db:;      IN      A       219.117.236.147
/etc/rc.conf:ifconfig_age0=" inet 219.117.236.147 netmask 255.255.255.240"
root@p5k:/ #
root@p5k:/ #
root@p5k:/ # grep 219.117.236.147 /usr/local/etc -r
root@p5k:/ #
root@p5k:/ #
root@p5k:/ # grep ns1.kuji-clinic /usr/local/etc -r
/usr/local/etc/postfix/main.cf:myhostname = ns1.kuji-clinic.info
/usr/local/etc/amavisd.conf:$myhostname = 'ns1.kuji-clinic.info';  # must be a fully-qualified domain name!
/usr/local/etc/apache22/httpd.conf:ServerName ns1.kuji-clinic.info:80
/usr/local/etc/Counter/conf/count.cfg:  ns1.kuji-clinic.info
root@p5k:/ #
root@p5k:/ #
root@p5k:/ # grep ns1.kuji-clinic /etc -r
/etc/namedb/kuji-clinic.info.db:;       IN      NS      ns1.kuji-clinic.info.
/etc/namedb/kuji-clinic.info.rev:       IN      NS      ns1.kuji-clinic.info.
/etc/namedb/kuji-clinic.info.rev:147    IN      PTR     ns1.kuji-clinic.info.
/etc/namedb/thousand-winds.jp.db:       IN      NS      ns1.kuji-clinic.info.
root@p5k:/ #

/var/mail w

/etc/hosts

/etc/rc.conf

/usr/local/etc/postfix/main.cf

/usr/local/etc/amavisd.conf

/usr/local/etc/apache22/httpd.conf

/usr/local/etc/Counter/conf/count.cfg

FreeBSD 9.1-RELEASE で運用中のMailサーバを新しいサーバへ移行するメモ

移動元の/usr/ports/distfiles

flora{111} % cd /usr/ports/distfiles
flora{112} % ll
total 624256
-rw-r--r--   1 root  wheel     48243 Oct 13  2008 Archive-Tar-1.40.tar.gz
-rw-r--r--   1 root  wheel     58055 Sep  6  2012 Archive-Tar-1.90.tar.gz
-rw-r--r--   1 root  wheel    193921 Oct 12  2008 Archive-Zip-1.26.tar.gz
-rw-r--r--   1 root  wheel    197179 Jul  1  2009 Archive-Zip-1.30.tar.gz
-rw-r--r--   1 root  wheel    167105 Oct  1  2008 BerkeleyDB-0.36.tar.gz
-rw-r--r--   1 root  wheel    196814 Mar 21  2012 BerkeleyDB-0.51.tar.gz
-rw-r--r--   1 root  wheel    131942 Oct  3  2004 Bit-Vector-6.4.tar.gz
-rw-r--r--   1 root  wheel    135586 May 18  2012 Bit-Vector-7.2.tar.gz
-rw-r--r--   1 root  wheel    247277 Nov 15  2012 CGI.pm-3.63.tar.gz
-rw-r--r--   1 root  wheel     34501 Feb  2  2006 Cache-2.04.tar.gz
-rw-r--r--   1 root  wheel     34506 Mar  1  2009 Cache-Cache-1.06.tar.gz
-rw-r--r--   1 root  wheel     18673 Feb 18  2008 Carp-Clan-6.00.tar.gz
-rw-r--r--   1 root  wheel     19345 Oct 25  2009 Carp-Clan-6.04.tar.gz
-rw-r--r--   1 root  wheel     20271 Jul 16  2012 Class-Load-0.20.tar.gz
-rw-r--r--   1 root  wheel      7793 Sep 29  2007 Class-Singleton-1.4.tar.gz
-rw-r--r--   1 root  wheel    140877 Sep  4  2008 Compress-Raw-Bzip2-2.015.tar.gz
-rw-r--r--   1 root  wheel    135892 Jan  8 14:02 Compress-Raw-Bzip2-2.060.tar.gz
-rw-r--r--   1 root  wheel    209006 Sep  4  2008 Compress-Raw-Zlib-2.015.tar.gz
-rw-r--r--   1 root  wheel    236107 Jan  8 14:02 Compress-Raw-Zlib-2.060.tar.gz
-rw-r--r--   1 root  wheel     64980 Sep  4  2008 Compress-Zlib-2.015.tar.gz
-rw-r--r--   1 root  wheel     84573 Jun 28  1997 Convert-BinHex-1.119.tar.gz
-rw-r--r--   1 root  wheel     12173 Feb 25  2002 Convert-TNEF-0.17.tar.gz
-rw-r--r--   1 root  wheel     12533 Jul 24  2012 Convert-TNEF-0.18.tar.gz
-rw-r--r--   1 root  wheel    230644 Jun 13  2008 Convert-UUlib-1.11.tar.gz
-rw-r--r--   1 root  wheel    232006 May 30  2011 Convert-UUlib-1.4.tar.gz
-rw-r--r--   1 root  wheel     23331 Dec 15 13:30 Crypt-CBC-2.32.tar.gz
-rw-r--r--   1 root  wheel     15369 Dec  9  2005 Crypt-DES-2.05.tar.gz
-rw-r--r--   1 root  wheel     13520 May 21  2007 Crypt-OpenSSL-Bignum-0.04.tar.gz
-rw-r--r--   1 root  wheel     19133 May 21  2007 Crypt-OpenSSL-RSA-0.25.tar.gz
-rw-r--r--   1 root  wheel     20035 Aug 25  2011 Crypt-OpenSSL-RSA-0.28.tar.gz
-rw-r--r--   1 root  wheel     10679 May 21  2007 Crypt-OpenSSL-Random-0.04.tar.gz
-rw-r--r--   1 root  wheel    596824 Mar 23 14:41 DBI-1.624.tar.gz
-rw-r--r--   1 root  wheel     13735 May  7  2011 Data-OptList-0.107.tar.gz
-rw-r--r--   1 root  wheel    208629 Feb 28  2007 Date-Calc-5.5.1.tar.gz
-rw-r--r--   1 root  wheel    168967 Nov  1  2009 Date-Calc-6.3.tar.gz
-rw-r--r--   1 root  wheel   1605072 Sep  5  2012 Date-Manip-6.34.tar.gz
-rw-r--r--   1 root  wheel    176173 Nov 17  2012 DateTime-0.78.tar.gz
-rw-r--r--   1 root  wheel      9982 Sep 10  2003 DateTime-HiRes-0.01.tar.gz
-rw-r--r--   1 root  wheel   1079736 Mar 20  2010 DateTime-Locale-0.45.tar.gz
-rw-r--r--   1 root  wheel    852884 Mar 12 16:24 DateTime-TimeZone-1.58.tar.gz
-rw-r--r--   1 root  wheel     13623 Mar 14  2001 Digest-HMAC-1.01.tar.gz
-rw-r--r--   1 root  wheel      7251 Jul 26  2011 Digest-HMAC-1.03.tar.gz
-rw-r--r--   1 root  wheel     44687 Nov 30  2005 Digest-MD5-2.36.tar.gz
-rw-r--r--   1 root  wheel     45345 Nov 14  2008 Digest-MD5-2.38.tar.gz
-rw-r--r--   1 root  wheel     46828 Jun  8  2012 Digest-MD5-2.52.tar.gz
-rw-r--r--   1 root  wheel     39864 Apr 30  2008 Digest-SHA-5.47.tar.gz
-rw-r--r--   1 root  wheel     42166 Mar 10 18:42 Digest-SHA-5.84.tar.gz
-rw-r--r--   1 root  wheel     38723 Jan 18  2006 Digest-SHA1-2.11.tar.gz
-rw-r--r--   1 root  wheel     39078 Jul  4  2010 Digest-SHA1-2.13.tar.gz
-rw-r--r--   1 root  wheel     15461 Jan  3  2011 Dist-CheckConflicts-0.02.tar.gz
-rw-r--r--   1 root  wheel    179698 May 28  2008 Encode-Detect-1.01.tar.gz
-rw-r--r--   1 root  wheel      6846 Feb 12  2012 Encode-Locale-1.03.tar.gz
-rw-r--r--   1 root  wheel     22341 Nov 20  2012 Error-0.17019.tar.gz
-rw-r--r--   1 root  wheel     23639 Aug 16  2008 ExtUtils-CBuilder-0.24.tar.gz
-rw-r--r--   1 root  wheel     34683 Feb 23  2012 ExtUtils-CBuilder-0.280205.tar.gz
-rw-r--r--   1 root  wheel     25214 Feb 18  2008 ExtUtils-ParseXS-2.19.tar.gz
-rw-r--r--   1 root  wheel     62833 Nov 20  2012 ExtUtils-ParseXS-3.18.tar.gz
-rw-r--r--   1 root  wheel     97599 Sep 25  2011 FCGI-0.74.tar.gz
-rw-r--r--   1 root  wheel     10843 Dec  7  2008 File-Copy-Recursive-0.38.tar.gz
-rw-r--r--   1 root  wheel     51536 Feb 16  2012 File-Listing-6.04.tar.gz
-rw-r--r--   1 root  wheel     17301 Jul 14  2011 File-NFSLock-1.21.tar.gz
-rw-r--r--   1 root  wheel     37796 Dec 21  2007 File-Temp-0.20.tar.gz
-rw-r--r--   1 root  wheel     38612 Nov 14  2008 File-Temp-0.21.tar.gz
-rw-r--r--   1 root  wheel     38352 Jun 30  2009 File-Temp-0.22.tar.gz
-rw-r--r--   1 root  wheel      7264 Jun 25  2002 File-Which-0.05.tar.gz
-rw-r--r--   1 root  wheel     15637 Sep 27  2009 File-Which-1.09.tar.gz
-rw-r--r--   1 root  wheel     10545 Apr 14  2009 Geography-Countries-2009041301.tar.gz
-rw-r--r--   1 root  wheel     42380 Mar 13 07:45 Getopt-Long-2.39.tar.gz
-rw-r--r--   1 root  wheel     86040 Jan 12  2007 HTML-Parser-3.56.tar.gz
-rw-r--r--   1 root  wheel     88856 Oct 25  2009 HTML-Parser-3.64.tar.gz
-rw-r--r--   1 root  wheel     89531 Oct 16  2011 HTML-Parser-3.69.tar.gz
-rw-r--r--   1 root  wheel      8150 Mar  1  2008 HTML-Tagset-3.20.tar.gz
-rw-r--r--   1 root  wheel     90862 Jan 18 15:00 HTML-Template-2.94.tar.gz
-rw-r--r--   1 root  wheel     15673 Apr 29  2007 Heap-0.80.tar.gz
-rw-r--r--   1 root  wheel    242986 Jan  8 14:02 IO-Compress-2.060.tar.gz
-rw-r--r--   1 root  wheel     95844 Sep  4  2008 IO-Compress-Base-2.015.tar.gz
-rw-r--r--   1 root  wheel     75388 Sep  4  2008 IO-Compress-Bzip2-2.015.tar.gz
-rw-r--r--   1 root  wheel    141649 Sep  4  2008 IO-Compress-Zlib-2.015.tar.gz
-rw-r--r--   1 root  wheel     15222 Sep 15  2008 IO-Multiplex-1.10.tar.gz
-rw-r--r--   1 root  wheel     16244 Apr 16  2011 IO-Multiplex-1.13.tar.gz
-rw-r--r--   1 root  wheel     12282 Oct  6  2008 IO-Socket-INET6-2.56.tar.gz
-rw-r--r--   1 root  wheel     18603 Nov 29  2011 IO-Socket-INET6-2.69.tar.gz
-rw-r--r--   1 root  wheel     36562 Mar 12 17:25 IO-Socket-IP-0.19.tar.gz
-rw-r--r--   1 root  wheel     63074 Oct 13  2008 IO-Socket-SSL-1.17.tar.gz
-rw-r--r--   1 root  wheel     63494 Jan 24  2009 IO-Socket-SSL-1.22.tar.gz
-rw-r--r--   1 root  wheel     80035 Feb 16 14:48 IO-Socket-SSL-1.84.tar.gz
-rw-r--r--   1 root  wheel      7480 Dec  6  2005 IO-String-1.08.tar.gz
-rw-r--r--   1 root  wheel     10092 Jan  4  2008 IO-Zlib-1.09.tar.gz
-rw-r--r--   1 root  wheel     10144 Jul 15  2009 IO-Zlib-1.10.tar.gz
-rw-r--r--   1 root  wheel     40590 Feb 15  2005 IO-stringy-2.110.tar.gz
-rw-r--r--   1 root  wheel    207632 Jul 26  2009 IP-Country-2.27.tar.gz
-rw-r--r--   1 root  wheel     22875 Mar 11  2009 IPC-ShareLite-0.17.tar.gz
-rw-r--r--   1 root  wheel     38997 Aug  5  2011 List-MoreUtils-0.33.tar.gz
-rw-r--r--   1 root  wheel    273132 Dec  1 21:53 Log-Log4perl-1.40.tar.gz
-rw-r--r--   1 root  wheel     15548 Nov 30  2005 MIME-Base64-3.07.tar.gz
-rw-r--r--   1 root  wheel     17735 Nov 27  2010 MIME-Base64-3.13.tar.gz
-rw-r--r--   1 root  wheel    391971 Jul  1  2008 MIME-tools-5.427.tar.gz
-rw-r--r--   1 root  wheel    404825 Jan 31 15:01 MIME-tools-5.504.tar.gz
-rw-r--r--   1 root  wheel     72248 Jun  4  2008 Mail-DKIM-0.32.tar.gz
-rw-r--r--   1 root  wheel     95186 Feb  8 14:19 Mail-DKIM-0.40.tar.gz
-rw-r--r--   1 root  wheel      9663 Mar  4  2007 Mail-DomainKeys-1.0.tar.gz
-rw-r--r--   1 root  wheel     55342 Feb 27  2006 Mail-SPF-Query-1.999.1.tar.gz
-rw-r--r--   1 root  wheel   1223706 Jun 10  2008 Mail-SpamAssassin-3.2.5.tar.gz
-rw-r--r--   1 root  wheel   1208182 Jun 22  2011 Mail-SpamAssassin-3.3.2.tar.gz
-rw-r--r--   1 root  wheel     52292 Jul 29  2008 MailTools-2.04.tar.gz
-rw-r--r--   1 root  wheel     54553 Dec 22 05:27 MailTools-2.12.tar.gz
-rw-r--r--   1 root  wheel    200231 Apr 22  2008 Math-BigInt-1.89.tar.gz
-rw-r--r--   1 root  wheel    213533 Sep  5  2011 Math-BigInt-1.997.tar.gz
-rw-r--r--   1 root  wheel   3375615 Jun 24  2009 MesaLib-7.4.4.tar.bz2
-rw-r--r--   1 root  wheel    195650 Sep 26  2008 Module-Build-0.30.tar.gz
-rw-r--r--   1 root  wheel    307352 Aug 19  2012 Module-Build-0.4003.tar.gz
-rw-r--r--   1 root  wheel     10514 Feb 13  2012 Module-Implementation-0.06.tar.gz
-rw-r--r--   1 root  wheel     15849 Feb 17  2012 Module-Runtime-0.013.tar.gz
-rw-r--r--   1 root  wheel     28766 Sep  9  2011 NTLM-1.09.tar.gz
-rw-r--r--   1 root  wheel      9931 Mar 26  2010 Net-CIDR-Lite-0.21.tar.gz
-rw-r--r--   1 root  wheel    149488 Feb  9  2008 Net-DNS-0.63.tar.gz
-rw-r--r--   1 root  wheel    194647 Dec 29 09:03 Net-DNS-0.72.tar.gz
-rw-r--r--   1 root  wheel     25749 May 25  2006 Net-IP-1.25.tar.gz
-rw-r--r--   1 root  wheel     30866 Nov 29 09:34 Net-IP-1.26.tar.gz
-rw-r--r--   1 root  wheel     94664 Sep 10  2010 Net-SNMP-v6.0.1.tar.gz
-rw-r--r--   1 root  wheel    132198 Jul 25  2008 Net-SSLeay-1.35.tar.gz
-rw-r--r--   1 root  wheel    393431 Mar 23 16:14 Net-SSLeay-1.54.tar.gz
-rw-r--r--   1 root  wheel     92158 Jul 26  2007 Net-Server-0.97.tar.gz
-rw-r--r--   1 root  wheel    133765 Jan 11 01:47 Net-Server-2.007.tar.gz
-rw-r--r--   1 root  wheel    172661 Oct 30  2012 NetAddr-IP-4.066.tar.gz
-rw-r--r--   1 root  wheel      2543 Sep  6  2005 Package-Constants-0.01.tar.gz
-rw-r--r--   1 root  wheel      2761 Dec 14  2008 Package-Constants-0.02.tar.gz
-rw-r--r--   1 root  wheel     10961 Mar 10  2012 Package-DeprecationManager-0.13.tar.gz
-rw-r--r--   1 root  wheel     36180 Jan  5 03:40 Package-Stash-0.34.tar.gz
-rw-r--r--   1 root  wheel     73481 Jan  5 03:37 Package-Stash-XS-0.26.tar.gz
-rw-r--r--   1 root  wheel     40726 Mar 11  2012 Params-Util-1.07.tar.gz
-rw-r--r--   1 root  wheel    100822 Oct 27  2012 Params-Validate-1.07.tar.gz
-rw-r--r--   1 root  wheel    129446 Feb 12  2008 PathTools-3.2701.tar.gz
-rw-r--r--   1 root  wheel    130270 Oct 30  2008 PathTools-3.29.tar.gz
-rw-r--r--   1 root  wheel    139883 Jan 17 00:35 PathTools-3.40.tar.gz
-rw-r--r--   1 root  wheel     97659 Oct 27  2006 Pod-Parser-1.35.tar.gz
-rw-r--r--   1 root  wheel    103288 Feb  9  2009 Pod-Parser-1.38.tar.gz
-rw-r--r--   1 root  wheel     79381 Feb  4 02:40 Pod-Parser-1.60.tar.gz
-rw-r--r--   1 root  wheel     67478 Oct 14  2007 SNMP_Session-1.11.tar.gz
-rw-r--r--   1 root  wheel     68407 Mar 20  2008 SNMP_Session-1.12.tar.gz
-rw-r--r--   1 root  wheel     65738 Nov 22  2008 SNMP_Session-1.13.tar.gz
-rw-r--r--   1 root  wheel     37847 Jan 19 10:13 Socket-2.009.tar.gz
-rw-r--r--   1 root  wheel     57392 Aug 18  2008 Socket6-0.22.tar.gz
-rw-r--r--   1 root  wheel     57859 Nov  2  2008 Socket6-0.23.tar.gz
-rw-r--r--   1 root  wheel     27631 Jan 30  2006 Spiffy-0.30.tar.gz
-rw-r--r--   1 root  wheel     53320 Aug  3  2012 Spiffy-0.31.tar.gz
-rw-r--r--   1 root  wheel    182104 Sep 11  2012 Storable-2.39.tar.gz
-rw-r--r--   1 root  wheel     45185 Feb 21 18:03 Sub-Exporter-0.985.tar.gz
-rw-r--r--   1 root  wheel     15065 Feb 27  2012 Sub-Install-0.926.tar.gz
-rw-r--r--   1 root  wheel     18415 Sep 12  2008 Sub-Uplevel-0.2002.tar.gz
-rw-r--r--   1 root  wheel     23314 Feb 21  2012 Sub-Uplevel-0.24.tar.gz
-rw-r--r--   1 root  wheel      4991 Jun 26  2005 Sys-Hostname-Long-1.4.tar.gz
-rw-r--r--   1 root  wheel     45525 Jun 29  2007 Test-Base-0.54.tar.gz
-rw-r--r--   1 root  wheel     60322 Apr  5  2011 Test-Base-0.60.tar.gz
-rw-r--r--   1 root  wheel     35504 Jun 17  2012 Test-Deep-0.110.tar.gz
-rw-r--r--   1 root  wheel     12940 Feb 17  2008 Test-Exception-0.27.tar.gz
-rw-r--r--   1 root  wheel     17634 Oct 11  2010 Test-Exception-0.31.tar.gz
-rw-r--r--   1 root  wheel     18204 Dec  1  2011 Test-NoWarnings-1.04.tar.gz
-rw-r--r--   1 root  wheel     89308 Oct 15  2008 Test-Simple-0.84.tar.gz
-rw-r--r--   1 root  wheel    107255 Feb 23  2011 Test-Simple-0.98.tar.gz
-rw-r--r--   1 root  wheel     15801 Dec  1  2011 Test-Tester-0.108.tar.gz
-rw-r--r--   1 root  wheel     48477 Jul 30  2009 Text-Balanced-2.02.tar.gz
-rw-r--r--   1 root  wheel     86901 Apr  9  2008 Time-HiRes-1.9715.tar.gz
-rw-r--r--   1 root  wheel     87541 Jan  5  2009 Time-HiRes-1.9719.tar.gz
-rw-r--r--   1 root  wheel     88527 Feb  2  2012 Time-HiRes-1.9725.tar.gz
-rw-r--r--   1 root  wheel     22366 Jun  3  2003 TimeDate-1.16.tar.gz
-rw-r--r--   1 root  wheel     31109 Feb 19 13:37 TimeDate-2.30.tar.gz
-rw-r--r--   1 root  wheel     10320 Jan  3 10:30 Try-Tiny-0.12.tar.gz
-rw-r--r--   1 root  wheel     96676 Jun 16  2008 URI-1.37.tar.gz
-rw-r--r--   1 root  wheel     81196 Mar 26  2012 URI-1.60.tar.gz
-rw-r--r--   1 root  wheel     13738 May 19  2008 Unix-Syslog-1.1.tar.gz
-rw-r--r--   1 root  wheel    230002 Nov 20  2007 XML-Parser-2.36.tar.gz
-rw-r--r--   1 root  wheel    238441 Jun  3  2011 XML-Parser-2.41.tar.gz
-rw-r--r--   1 root  wheel     94654 Sep 27  2007 YAML-0.66.tar.gz
-rw-r--r--   1 root  wheel    121150 Jul 14  2012 YAML-0.84.tar.gz
-rw-r--r--   1 root  wheel    171723 Mar 11 22:31 YAML-Syck-1.25.tar.gz
-rw-r--r--   1 root  wheel    911740 Jun 29  2008 amavisd-new-2.6.1.tar.gz
-rw-r--r--   1 root  wheel    903818 Dec 15  2008 amavisd-new-2.6.2.tar.gz
-rw-r--r--   1 root  wheel   1007952 Jul  1  2012 amavisd-new-2.8.0.tar.gz
drwxr-xr-x   2 root  wheel       512 Mar 26 17:32 apache22
-rw-r--r--   1 root  wheel    949945 Jul 18  2010 apr-1.4.2.tar.gz
-rw-r--r--   1 root  wheel    790952 Jul 18  2010 apr-util-1.3.9.tar.gz
-rw-r--r--   1 root  wheel     82386 Oct 13  2005 arc-5.21o.tgz
-rw-r--r--   1 root  wheel     84791 Aug  7  2010 arc-5.21p.tar.gz
-rw-r--r--   1 root  wheel    431467 Jun 23  2005 arj-3.10.22.tar.gz
-rw-r--r--   1 root  wheel    259210 Oct 14  2003 autoconf-000227.tar.bz2
-rw-r--r--   1 root  wheel   1165951 Apr  9  2008 autoconf-2.62.tar.bz2
-rw-r--r--   1 root  wheel   1369605 Aug  3  2010 autoconf-2.67.tar.bz2
-rw-r--r--   1 root  wheel   1381988 Sep 23  2010 autoconf-2.68.tar.bz2
-rw-r--r--   1 root  wheel   1214744 Apr 25  2012 autoconf-2.69.tar.xz
-rw-r--r--   1 root  wheel    918341 Jan 22  2008 automake-1.10.1.tar.bz2
-rw-r--r--   1 root  wheel   1367980 Jul 10  2012 automake-1.12.2.tar.xz
-rw-r--r--   1 root  wheel   1400336 Dec 16 01:58 automake-1.12.6.tar.xz
-rw-r--r--   1 root  wheel    375060 Jul 28  2002 automake-1.4-p6.tar.gz
-rw-r--r--   1 root  wheel    765505 Jul 11  2005 automake-1.9.6.tar.bz2
drwxr-xr-x   2 root  wheel      1024 Mar 28 09:10 bash
drwxr-xr-x   2 root  wheel       512 Mar 26 17:01 bdb
-rw-r--r--   1 root  wheel   5717426 Dec 24  2008 bind-9.3.6-P1.tar.gz
-rw-r--r--   1 root  wheel       479 Jan  8  2009 bind-9.3.6-P1.tar.gz.asc
-rw-r--r--   1 root  wheel   7277958 Mar 27 00:23 bind-9.9.2-P2.tar.gz
-rw-r--r--   1 root  wheel   1467784 Dec 12  2008 bison-2.4.1.tar.bz2
-rw-r--r--   1 root  wheel   1776640 Dec 13 00:25 bison-2.7.tar.xz
-rw-r--r--   1 root  wheel    194006 Aug  2  2007 cabextract-1.2.tar.gz
-rw-r--r--   1 root  wheel    217633 Jul 24  2010 cabextract-1.3.tar.gz
-rw-r--r--   1 root  wheel    222490 May 12  2011 cabextract-1.4.tar.gz
-rw-r--r--   1 root  wheel  23558405 Dec 26  2010 cairo-1.10.2.tar.gz
-rw-r--r--   1 root  wheel   7102657 Feb 20  2010 cairo-1.8.10.tar.gz
-rw-r--r--   1 root  wheel    558943 Sep 23  2009 check-0.9.8.tar.gz
-rw-r--r--   1 root  wheel    602679 Oct 22  2012 check-0.9.9.tar.gz
-rw-r--r--   1 root  wheel  21817818 Oct 31  2008 clamav-0.94.1.tar.gz
-rw-r--r--   1 root  wheel  22107637 Nov 26  2008 clamav-0.94.2.tar.gz
-rw-r--r--   1 root  wheel  20509228 Sep  2  2008 clamav-0.94.tar.gz
-rw-r--r--   1 root  wheel  25137010 Jun 11  2009 clamav-0.95.2.tar.gz
-rw-r--r--   1 root  wheel  26919541 Oct 29  2009 clamav-0.95.3.tar.gz
-rw-r--r--   1 root  wheel  40568982 May 19  2010 clamav-0.96.1.tar.gz
-rw-r--r--   1 root  wheel  14754465 Jun 14  2012 clamav-0.97.5.tar.gz
-rw-r--r--   1 root  wheel  14598481 Mar 12 01:07 clamav-0.97.7.tar.gz
-rw-r--r--   1 root  wheel  14609966 Apr 18 05:20 clamav-0.97.8.tar.gz
-rw-r--r--   1 root  wheel  41834871 Feb  8  2011 clamav-0.97.tar.gz
-rw-r--r--   1 root  wheel   5768373 Nov 28 05:03 cmake-2.8.10.2.tar.gz
-rw-r--r--   1 root  wheel   1779421 Jan 29  2008 curl-7.18.0.tar.bz2
-rw-r--r--   1 root  wheel   2296879 Mar  3  2009 curl-7.19.4.tar.bz2
-rw-r--r--   1 root  wheel   2088522 Feb  9  2010 curl-7.20.0.tar.bz2
-rw-r--r--   1 root  wheel    430951 Apr 13  2003 cvsup-snap-16.1h.tar.gz
-rw-r--r--   1 root  wheel    444554 Jul  7  2012 dialog-1.1-20120706.tgz
-rw-r--r--   1 root  wheel      9598 Mar 25 18:11 dialog4ports-0.1.2.tar.gz
-rw-r--r--   1 root  wheel     54537 Jan 20  2011 dmidecode-2.11.tar.bz2
-rw-r--r--   1 root  wheel     56654 May 21  2010 docbk41.zip
-rw-r--r--   1 root  wheel     75683 Jul  8  2006 docbkx412.zip
-rw-r--r--   1 root  wheel     61830 May 21  2010 docbook-4.2.zip
-rw-r--r--   1 root  wheel     66117 Jul  8  2006 docbook-4.3.zip
-rw-r--r--   1 root  wheel     66879 Jul  8  2006 docbook-4.4.zip
-rw-r--r--   1 root  wheel     71252 Oct 27  2006 docbook-4.5.zip
-rw-r--r--   1 root  wheel    835797 May 21  2010 docbook-5.0.zip
-rw-r--r--   1 root  wheel     78428 May 21  2010 docbook-xml-4.2.zip
-rw-r--r--   1 root  wheel     83865 Jul  8  2006 docbook-xml-4.3.zip
-rw-r--r--   1 root  wheel     96107 Jul  8  2006 docbook-xml-4.4.zip
-rw-r--r--   1 root  wheel     98497 Oct 27  2006 docbook-xml-4.5.zip
-rw-r--r--   1 root  wheel   1543130 Jul 22  2009 docbook-xsl-1.75.2.tar.bz2
-rw-r--r--   1 root  wheel   1429554 Jul 23  2009 docbook-xsl-doc-1.75.2.tar.bz2
-rw-r--r--   1 root  wheel       684 Feb 18  2002 exifautotran.txt
-rw-r--r--   1 root  wheel    446456 Jun  7  2007 expat-2.0.1.tar.gz
drwxr-xr-x   2 root  wheel       512 Oct 23  2008 ezm3
-rw-r--r--   1 root  wheel      7828 Sep 19  2008 fastest_cvsup-0.2.8.tar.gz
-rw-r--r--   1 root  wheel      8260 Mar 31  2011 fastest_cvsup-0.3.0.tar.gz
-rw-r--r--   1 root  wheel    584803 Aug 30  2008 file-4.26.tar.gz
-rw-r--r--   1 root  wheel    648552 Mar 22 02:54 file-5.14.tar.gz
-rw-r--r--   1 root  wheel   1256501 Feb 27  2008 flex-2.5.35.tar.bz2
-rw-r--r--   1 root  wheel   1682774 Mar 11  2012 fontconfig-2.9.0.tar.gz
-rw-r--r--   1 root  wheel   1310542 Jun 29  2008 freetype-2.3.7.tar.bz2
-rw-r--r--   1 root  wheel   1363190 Mar 12  2009 freetype-2.3.9.tar.bz2
-rw-r--r--   1 root  wheel   1546087 Dec 20 16:35 freetype-2.4.11.tar.bz2
-rw-r--r--   1 root  wheel   1487579 Jul 29  2011 freetype-2.4.6.tar.bz2
-rw-r--r--   1 root  wheel   1490543 Oct 18  2011 freetype-2.4.7.tar.bz2
-rw-r--r--   1 root  wheel   1504819 Mar  9  2012 freetype-2.4.9.tar.bz2
-rw-r--r--   1 root  wheel     36402 Feb 24  1993 freeze-2.5.tar.gz
-rw-r--r--   1 root  wheel    653392 Nov 25  2008 gamin-0.1.10.tar.gz
-rw-r--r--   1 root  wheel   1212730 Jun 22  2007 gd-2.0.35.tar.bz2
-rw-r--r--   1 root  wheel    228695 Oct 17  2002 gdbm-1.8.3.tar.gz
-rw-r--r--   1 root  wheel    554843 Aug 14  2011 gdbm-1.9.1.tar.gz
-rw-r--r--   1 root  wheel  15139737 Jun  7  2010 gettext-0.18.1.1.tar.gz
-rw-r--r--   1 root  wheel      7693 Jun  1  2005 gettext-1.05.tar.gz
-rw-r--r--   1 root  wheel   1710660 Sep 20  2008 gmp-4.2.4.tar.bz2
drwxr-xr-x   2 root  wheel       512 Mar 26 17:23 gnome
drwxr-xr-x   2 root  wheel       512 Apr 11 05:12 gnome2
drwxr-xr-x   2 root  wheel       512 Apr  4 11:39 gnome3
-rw-r--r--   1 root  wheel   3718925 Mar 26  2008 gnupg-2.0.9.tar.bz2
-rw-r--r--   1 root  wheel       158 Mar 26  2008 gnupg-2.0.9.tar.bz2.sig
-rw-r--r--   1 root  wheel    865088 May  9  2007 gperf-3.0.3.tar.gz
-rw-r--r--   1 root  wheel    127812 Apr 17  2006 groff_1.18.1.1-12.diff.gz
-rw-r--r--   1 root  wheel   2260623 Jun 22  2004 groff_1.18.1.1.orig.tar.gz
-rw-r--r--   1 root  wheel     85630 Feb 28  2006 help2man-1.36.4.tar.gz
-rw-r--r--   1 root  wheel    192138 Dec 31 12:28 help2man-1.41.1.tar.gz
-rw-r--r--   1 root  wheel     20510 Aug  5  2002 isoENTS.zip
-rw-r--r--   1 root  wheel   1415752 Jan 20  2007 jasper-1.900.1.zip
-rw-r--r--   1 root  wheel    405712 Jun 12  2004 jbigkit-1.6.tar.gz
-rw-r--r--   1 root  wheel     26498 Jan 17  2002 jp-man-1.1j-ex-20020115.patch
-rw-r--r--   1 root  wheel     56007 Jun 16  2001 jp-man-1.1j.tar.gz
drwxr-xr-x   2 root  wheel       512 Mar 27 11:21 jpeg8d
-rw-r--r--   1 root  wheel      8192 Feb 18  2002 jpegexiforient.c
-rw-r--r--   1 root  wheel    613261 Apr 17  2008 jpegsrc.v6b.tar.gz
-rw-r--r--   1 root  wheel    960379 Jun 27  2009 jpegsrc.v7.tar.gz
-rw-r--r--   1 root  wheel    965125 May 16  2010 jpegsrc.v8b.tar.gz
-rw-r--r--   1 root  wheel      9466 Sep  7  2005 less-382-iso258-259.patch.gz
-rw-r--r--   1 root  wheel     87859 Sep  4  2005 less-382-iso258.patch.gz
-rw-r--r--   1 root  wheel     19014 Feb 18  2006 less-382-iso259-260.patch.gz
-rw-r--r--   1 root  wheel       841 Feb 24  2006 less-382-iso260-261.patch.gz
-rw-r--r--   1 root  wheel      2215 Feb 24  2006 less-382-iso261-262.patch.gz
-rw-r--r--   1 root  wheel    138951 Jan 19 09:44 less-382-iso262.ext03.patch.gz
-rw-r--r--   1 root  wheel    264414 Sep  4  2005 less-382.tar.gz
-rw-r--r--   1 root  wheel     64608 Dec 15  2000 lha-114i.tar.gz
-rw-r--r--   1 root  wheel    297123 Dec 13  2007 libassuan-1.0.4.tar.bz2
-rw-r--r--   1 root  wheel    529149 Dec 20  2011 libassuan-2.0.3.tar.bz2
-rw-r--r--   1 root  wheel       287 Dec 20  2011 libassuan-2.0.3.tar.bz2.sig
-rw-r--r--   1 root  wheel    414175 Jul 16  2009 libdrm-2.4.12.tar.bz2
-rw-r--r--   1 root  wheel    408882 Dec 21  2009 libdrm-2.4.17.tar.bz2
-rw-r--r--   1 root  wheel    845747 Mar 18 07:40 libffi-3.0.13.tar.gz
-rw-r--r--   1 root  wheel    731719 Dec 31  2009 libffi-3.0.9.tar.gz
-rw-r--r--   1 root  wheel    969240 Apr 26  2008 libgcrypt-1.4.1.tar.bz2
-rw-r--r--   1 root  wheel   1151877 Aug  5  2010 libgcrypt-1.4.6.tar.bz2
-rw-r--r--   1 root  wheel   1433506 Jun 29  2011 libgcrypt-1.5.0.tar.bz2
-rw-r--r--   1 root  wheel    489057 Feb 25 21:17 libgpg-error-1.11.tar.bz2
-rw-r--r--   1 root  wheel    382110 Oct 30  2007 libgpg-error-1.6.tar.bz2
-rw-r--r--   1 root  wheel   4984397 Aug  8  2011 libiconv-1.14.tar.gz
-rw-r--r--   1 root  wheel    566099 Sep 22  2008 libksba-1.0.4.tar.bz2
-rw-r--r--   1 root  wheel    624704 Sep 27  2012 libksba-1.3.0.tar.bz2
-rw-r--r--   1 root  wheel       287 Sep 27  2012 libksba-1.3.0.tar.bz2.sig
-rw-r--r--   1 root  wheel    639460 Sep 18  2008 libpng-1.2.32.tar.bz2
-rw-r--r--   1 root  wheel      9199 Mar 30  2012 libpng-1.4.11-apng.patch.gz
-rw-r--r--   1 root  wheel    548088 Mar 29  2012 libpng-1.4.11.tar.xz
-rw-r--r--   1 root  wheel     54364 Jun 28  2010 libpng-1.4.3-apng.patch
-rw-r--r--   1 root  wheel    539048 Jun 26  2010 libpng-1.4.3.tar.xz
-rw-r--r--   1 root  wheel      9475 Jan 24 15:16 libpng-1.5.14-apng.patch.gz
-rw-r--r--   1 root  wheel    714064 Jan 24 12:09 libpng-1.5.14.tar.xz
-rw-r--r--   1 root  wheel    203468 Oct 14  2009 libpthread-stubs-0.3.tar.bz2
-rw-r--r--   1 root  wheel   2961939 Feb  2  2008 libtool-1.5.26.tar.gz
-rw-r--r--   1 root  wheel   2870524 Sep  8  2008 libtool-2.2.6a.tar.gz
-rw-r--r--   1 root  wheel   2347317 Nov 17  2009 libtool-2.2.6b.tar.gz
-rw-r--r--   1 root  wheel    739089 Nov 17  2009 libtool-2.2.6b.tar.lzma
-rw-r--r--   1 root  wheel   2632347 Oct 18  2011 libtool-2.4.2.tar.gz
-rw-r--r--   1 root  wheel   2580417 Sep 23  2010 libtool-2.4.tar.gz
-rw-r--r--   1 root  wheel     14588 Feb 19  2007 libutempter-1.1.5.tar.bz2
-rw-r--r--   1 root  wheel     23399 Mar  3  2009 libvolume_id-0.81.1.tar.bz2
-rw-r--r--   1 root  wheel    252647 Oct 20  2008 libwww-perl-5.819.tar.gz
-rw-r--r--   1 root  wheel    251865 Feb 16  2009 libwww-perl-5.825.tar.gz
-rw-r--r--   1 root  wheel    270101 May 13  2010 libwww-perl-5.836.tar.gz
-rw-r--r--   1 root  wheel    132505 Mar 12 15:47 libwww-perl-6.05.tar.gz
-rw-r--r--   1 root  wheel    317321 Apr 10  2010 libxcb-1.6.tar.bz2
-rw-r--r--   1 root  wheel    626042 Apr 30  2008 lzo-2.03.tar.gz
-rw-r--r--   1 root  wheel    583045 Aug 13  2011 lzo-2.06.tar.gz
-rw-r--r--   1 root  wheel    333240 Jul 25  2005 lzop-1.02rc1.tar.gz
-rw-r--r--   1 root  wheel    928910 Apr  3  2008 m4-1.4.11.tar.bz2
-rw-r--r--   1 root  wheel   1258362 Mar  2  2011 m4-1.4.16.tar.bz2
-rw-r--r--   1 root  wheel   1151445 Apr  1  2006 make-3.81.tar.bz2
-rw-r--r--   1 root  wheel   1242186 Jul 28  2010 make-3.82.tar.bz2
-rw-r--r--   1 root  wheel    820067 Feb  8  2008 mod_ssl-2.8.31-1.3.41.tar.gz
-rw-r--r--   1 root  wheel   1078423 May 16  2008 mrtg-2.16.2.tar.gz
-rw-r--r--   1 root  wheel   1096879 Jan 12  2012 mrtg-2.17.4.tar.gz
-rw-r--r--   1 root  wheel   1331839 Feb  9 22:40 munin-2.0.11.1.tar.gz
-rw-r--r--   1 root  wheel  27899139 Oct 12  2008 mysql-5.1.29-rc.tar.gz
-rw-r--r--   1 root  wheel  24781885 Dec 13 19:17 mysql-5.1.67.tar.gz
-rw-r--r--   1 root  wheel  24655564 Jan  8 21:48 mysql-5.1.68.tar.gz
-rw-r--r--   1 root  wheel   5123346 Jun 19  2008 net-snmp-5.4.1.2.tar.gz
-rw-r--r--   1 root  wheel   5185390 Nov  1  2008 net-snmp-5.4.2.1.tar.gz
-rw-r--r--   1 root  wheel   6110619 Oct  5  2011 net-snmp-5.7.1.tar.gz
-rw-r--r--   1 root  wheel   6281352 Oct 10  2012 net-snmp-5.7.2.tar.gz
-rw-r--r--   1 root  wheel   2544590 Sep 26  2008 netpbm-10.26.57.tgz
-rw-r--r--   1 root  wheel   2550967 Feb 20 12:02 netpbm-10.35.88.tgz
-rw-r--r--   1 root  wheel   3760535 Feb  7  2008 nss-3.11.9.tar.gz
-rw-r--r--   1 root  wheel   6035595 Sep  3  2011 nss-3.12.11.with.ckbi.1.87.tar.gz
-rw-r--r--   1 root  wheel   5813393 Dec 30 23:47 nss-3.14.1.with.ckbi.1.93.tar.gz
-rw-r--r--   1 root  wheel   1948207 Jun  9  2008 p7zip_4.58_src_all.tar.bz2
-rw-r--r--   1 root  wheel   3835235 Mar 17  2011 p7zip_9.20.1_src_all.tar.bz2
-rw-r--r--   1 root  wheel    157044 Mar 23 17:02 pciids-20130323.tar.xz
-rw-r--r--   1 root  wheel    840922 Sep  6  2008 pcre-7.8.tar.bz2
-rw-r--r--   1 root  wheel   1361156 Dec  1 04:26 pcre-8.32.tar.bz2
drwxr-xr-x   2 root  wheel       512 Mar 26 15:55 perl
-rw-r--r--   1 root  wheel     44865 Jun 29  2008 pflogsumm-1.1.2.tar.gz
-rw-r--r--   1 root  wheel     47130 Feb  6  2012 pflogsumm-1.1.5.tar.gz
-rw-r--r--   1 root  wheel      3383 Jul  2  2009 php-5.2.10-mail-header.patch
-rw-r--r--   1 root  wheel   9030787 Sep 16  2009 php-5.2.11.tar.bz2
-rw-r--r--   1 root  wheel   9075161 Dec 16  2009 php-5.2.12.tar.bz2
-rw-r--r--   1 root  wheel      3420 May 10  2008 php-5.2.6-mail-header.patch
-rw-r--r--   1 root  wheel   9571312 May  1  2008 php-5.2.6.tar.bz2
-rw-r--r--   1 root  wheel   9827180 Dec  8  2008 php-5.2.8.tar.bz2
-rw-r--r--   1 root  wheel  11545777 Mar 15 17:01 php-5.4.13.tar.bz2
-rw-r--r--   1 root  wheel     80211 Sep 15  2012 pkgconf-0.8.9.tar.bz2
-rw-r--r--   1 root  wheel     82129 Mar 16 10:21 pkgconf-0.9.1.tar.bz2
-rw-r--r--   1 root  wheel    112891 Jul  3  2007 pkgtools-2.3.1.tar.bz2
-rw-r--r--   1 root  wheel    114708 Jul 11  2008 pkgtools-2.4.6.tar.bz2
-rw-r--r--   1 root  wheel     79394 Aug 23  2011 pkgtools-2.4.9.3.tar.bz2
-rw-r--r--   1 root  wheel    702769 May  8  2010 popt-1.16.tar.gz
drwxr-xr-x   2 root  wheel       512 Mar 27 10:29 postfix
-rw-r--r--   1 root  wheel    652640 Jun  9  2006 pth-2.0.7.tar.gz
drwxr-xr-x   2 root  wheel       512 Mar 28 13:34 python
-rw-r--r--   1 root  wheel     10986 Jun 26  2006 qpopper4.0.9-ipv6-20060626.diff.gz
-rw-r--r--   1 root  wheel   2767261 Mar 21  2006 qpopper4.0.9.tar.gz
-rw-r--r--   1 root  wheel   1239530 Jun  2  2011 qpopper4.1.0.tar.gz
-rw-r--r--   1 root  wheel     79196 May 24  2007 razor-agents-2.84.tar.bz2
-rw-r--r--   1 root  wheel     60569 May 24  2000 regex_cs-lwp9k.shar.gz
-rw-r--r--   1 root  wheel     27890 Dec 12  2005 ripole-0.2.0.tar.gz
-rw-r--r--   1 root  wheel     30629 Jan 23 08:29 ripole-0.2.2.tar.gz
drwxr-xr-x   3 root  wheel       512 Mar 27 07:10 rpm
-rw-r--r--   1 root  wheel   1646191 Sep 14  2000 rpm-3.0.6.tar.gz
-rw-r--r--   1 root  wheel   1349040 Jan 24  2012 rrdtool-1.4.7.tar.gz
-rw-r--r--   1 root  wheel    792725 Sep 24  2011 rsync-3.0.9.tar.gz
drwxr-xr-x   2 root  wheel       512 Mar 28 09:24 ruby
-rw-r--r--   1 root  wheel    840602 Oct 23  2006 screen-4.0.3.tar.gz
-rw-r--r--   1 root  wheel     23050 Sep 18  2009 suhosin-patch-5.2.11-0.9.7.patch.gz
-rw-r--r--   1 root  wheel     22986 May  2  2008 suhosin-patch-5.2.6-0.9.6.2.patch.gz
-rw-r--r--   1 root  wheel     23125 Dec  4  2008 suhosin-patch-5.2.7-0.9.6.3.patch.gz
-rw-r--r--   1 root  wheel   1336295 Mar 30  2007 tiff-3.8.2.tar.gz
-rw-r--r--   1 root  wheel   1436968 Jun 16  2010 tiff-3.9.4.tar.gz
-rw-r--r--   1 root  wheel   2051630 Sep 23  2012 tiff-4.0.3.tar.gz
-rw-r--r--   1 root  wheel    136303 Oct 17  2003 tmac-20030521_2.tar.gz
-rw-r--r--   1 root  wheel    135665 Oct  9  2008 unrarsrc-3.8.4.tar.gz
-rw-r--r--   1 root  wheel    164641 Jun  9  2012 unrarsrc-4.2.4.tar.gz
-rw-r--r--   1 root  wheel   1376845 Apr 30  2009 unzip60.tar.gz
-rw-r--r--   1 root  wheel      8567 May 18  2005 unzoo_4.4-4.diff.gz
-rw-r--r--   1 root  wheel     25737 Aug 24  2002 unzoo_4.4.orig.tar.gz
-rw-r--r--   1 root  wheel     40316 Apr  4  2010 v4l_compat-1.0.20100403.tar.gz
-rw-r--r--   1 root  wheel     63578 May  2  2012 v4l_compat-1.0.20120501.tar.gz
-rw-r--r--   1 root  wheel    445343 Oct 28  2003 wwwcount2.5.tar.gz
-rw-r--r--   1 root  wheel     19830 Nov 26  2002 xcb-2.4.tar.gz
-rw-r--r--   1 root  wheel     92829 Dec  2  2009 xcb-proto-1.6.tar.bz2
-rw-r--r--   1 root  wheel    293408 Aug 24  2009 xcb-util-0.3.6.tar.bz2
-rw-r--r--   1 root  wheel    287855 May 31  2012 xcb-util-0.3.9.tar.bz2
-rw-r--r--   1 root  wheel    257492 Apr 26  2011 xcb-util-renderutil-0.3.8.tar.bz2
-rw-r--r--   1 root  wheel     97265 Sep  1  2004 xmlcatmgr-2.2.tar.gz
-rw-r--r--   1 root  wheel     29705 Jul  8  2006 xmlcharent-0.3.zip
drwxr-xr-x  10 root  wheel       512 Mar 27 11:14 xorg
-rw-r--r--   1 root  wheel    862288 Dec 31  2008 xterm-238.tgz
-rw-r--r--   1 root  wheel   1037541 Aug 28  2009 xz-4.999.9beta.tar.gz
-rw-r--r--   1 root  wheel    172096 May 14  1993 zoo-2.10pl1.tar.gz
flora{113} %

qpopper install

# locate qpopper
# locate: database too small: /var/db/ locate.database

# /usr/libexec/locate.updatedb

# locate qpopper

# portinstall mail/qpopper

/etc/inetd.conf

pop3	stream	tcp	nowait	root	/usr/local/libexec/qpopper 	qpopper -s
pop3	stream	tcp	nowait.100	root	/usr/local/libexec/qpopper	qpopper -s
****************************************************************************
To enable the qpopper-daemon, add the following line to your /etc/inetd.conf:

  pop3 stream tcp nowait root /usr/local/libexec/qpopper qpopper -s
****************************************************************************
===>   Compressing manual pages for qpopper-4.1.0

qpopper pop password の移行

http://www.smb.net/~jake/Boubi/Mail-clietns/home-lan-apop.html

flora# scp mail.kuji-clinic.info:/usr/local/etc/qpopper/pop.auth.db /usr/local/etc/qpopper/

APOPパスワード 新規作成 設定

1. APOP とは?

POP の一種, POP ではパスワードが生でネットワークを流れるが,
APOP では, 暗号化して送られるので安心です. 

2. APOP の運用の注意点

一度 popauth -user sanpei などと, APOP を使い出すと, それ
以降そのユーザは APOP でしかメールを読めなくなります. そのた
め, 使う mail reader が対応していないと困ったことになるので
注意が必要です.

なお, もちろん POP を使わず local に inc, mail コマンドで読め
ばよめます. ですから, 外からは APOP を用いて, local では mule 中
の mh-e や mew を使うことは可能です.

※: qpopauth -init したからと言って, 全てのユーザが APOP に
   なるわけではありません. qpopauth -user sanepi としたユー
   ザだけです.

3. APOP に対応した mail reader

o EudraPro
o 電信八号(Win95 用フリーウェア)
o MH
  (他にもあれば連絡ください, 追加します)

4. 初期設定法

(0) ports/mail/qpopper を用いて qpopper を install
(1) APOP を動かすときには(初期設定)
	/usr/local/etc/popper/ %ディレクトリが必要(これは手で作成)%
		% mkdir /usr/local/etc/popper %
		% chown pop.bin /usr/local/etc/popper %
		% chmod 700 /usr/local/etc/popper %

	/usr/local/etc/popper/pop.auth.db を qpopauth -init とやって作成する
# qpopauth -init

inetd_enable="YES" もお忘れ無く!

(2) APOP を使いたい user がいたら

	root の権限で
 # qpopauth -user hoge
 Adding only APOP password for hoge.
 New password:
       ※: ここで, unix login と別のパスワードを設定できます. 

(3) APOP の利用を止める

	root 権限で
	#qpopauth -delete sanpei
	これで, 他の POP が利用できるようになります. 

Postfixのインストール

Postfix on FreeBSD

Apacheのインストール

Apache on FreeBSD

mbmon on FreeBSD9.0

mbmon on FreeBSD9.0

portinstall net/cvsup-without-gui

portinstall net/cvsup-without-gui

portinstall sysutils/fastest_cvsup

portinstall sysutils/fastest_cvsup

#ref(): File not found: "fastest.gif" at page "Mail Server の移行2013"

移動先には proxy user が標準ではいっているため、

#vipw して

proxy:*:62:62::0:0:Packet Filter pseudo-user:/nonexistent:/usr/sbin/nologin

を入れておかないと、make install world で、

--------------------------------------------------------------
>>> Kernel build for GENERIC completed on Fri Oct 24 10:21:19 JST 2008
--------------------------------------------------------------
2178.179u 241.375s 23:23.78 172.3%      6087+984k 22044+7271io 233pf+0w
ERROR: Required proxy user is missing, see /usr/src/UPDATING.
*** Error code 1

になる。という、FAQ

移動元移動先
FreeBSD 4.4RFreeBSD 7.0R
#cp /etc/master.passwd /etc/master.passwd-dist
/etc/master.passwd->/etc/master.passwd
#vipwでmaster.passwdを編集保存
#mv /usr/home /usr/home-dist
cd /usr/
#tar cvfzp home_date.tar.gz home
#scp FreeBSD4.4Rmachine:/usr/home_date.tar.gz /usr/
#tar xvfzp /usr/home_date.tar.gz
/etc/hosts.allow->/etc/hosts.allow
% tar cvfzp /usr/local/www/data.070910.tar.gz /usr/local/www/data
# scp www.smb.net:/usr/local/www/data.070910.tar.gz ./
# mv data data-dist
# tar xvfzp data.070910.tar.gz
cgiの移行
ScriptAlias /cgi-bin/ "/usr/local/www/cgi-bin/"ScriptAlias /cgi-bin/ "/usr/local/www/apache22/cgi-bin/"
cd /usr/local/www
tar cvfzp cgi-bin.070913.tar.gz cgi-bin
cd /usr/local/www/apache22
cp -rp cgi-bin/ cgi-bin-old
scp www.smb.net:/usr/local/www/cgi-bin.070913.tar.gz ./
tar xvfzp cgi-bin.070913.tar.gz
cd /usr/local/www/apache22/cgi-bin-old
cp -rp Count.cgi ../cgi-bin/


移動元移動先
FreeBSD 4.4RFreeBSD 7.0R
# /usr/sbin/sysinstall でinterfaceの設定を変える
/etc/hosts の設定を確認
/etc/resolv.conf の設定を確認
/etc/rc.conf/etc/rc.conf で以下の#を除去
#ifconfig_nve0="inet 219.117.246.201 netmask 255.255.255.224"
#ifconfig_nve0_alias0="inet 219.117.246.214 netmask 255.255.255.255"
#ifconfig_nve0_alias1="inet 219.117.246.214 netmask 255.255.255.255"
#ifconfig_nve0_alias2="inet 219.117.246.214 netmask 255.255.255.255"
/usr/local/etc/apache/httpd.conf/usr/local/etc/apache22/extra/httpd-vhosts.conf
# cp httpd-vhosts.conf-ready2go httpd-vhosts.conf
/usr/local/etc/apache22/httpd.conf
#Include etc/apache22/extra/httpd-vhosts.conf の#除去
#ServerName www.smb.net:80 も?
/usr/local/etc/postfix/main.cf のホスト名を変更

2015-07-25 (土) 15:21:36

アプリケーションのインストール

/usr/ports/www/apache22

===> Installing rc.d startup script(s)
===>   Compressing manual pages for apache-2.2.4_2
===>   Running ldconfig
/sbin/ldconfig -m /usr/local/lib
===>   Registering installation for apache-2.2.4_2
===> SECURITY REPORT:
     This port has installed the following files which may act as network
     servers and may therefore pose a remote security risk to the system.
/usr/local/lib/libapr-1.so.2

     This port has installed the following startup scripts which may cause
     these network services to be started at boot time.
/usr/local/etc/rc.d/apache22
/usr/local/etc/rc.d/htcacheclean

     If there are vulnerabilities in these programs there may be a security
     risk to the system. FreeBSD makes no guarantee about the security of
     ports included in the Ports Collection. Please type 'make deinstall'
     to deinstall the port if this is a concern.

     For more information, and contact details about the security
     status of this software, see the following webpage:
http://httpd.apache.org/

手動起動

# apachectl start
[Sun Sep 09 17:19:40 2007] [warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter
# apachectl start
httpd (pid 81641) already running

自動起動

/usr/ports/www/apache22/files/apache22.sh.inを見ると

# Add the following lines to /etc/rc.conf to enable apache22:
# apache22_enable (bool):      Set to "NO" by default.
#                             Set it to "YES" to enable apache22
# apache22_profiles (str):     Set to "" by default.
#                              Define your profiles here.
# apache22limits_enable (bool):Set to "NO" by default.
#                             Set it to yes to run `limits $limits_args`
#                             just before apache starts.
# apache22_flags (str):        Set to "" by default.
#                             Extra flags passed to start command.
# apache22limits_args (str):   Default to "-e -C daemon"
#                             Arguments of pre-start limits run.
# apache22_http_accept_enable (bool): Set to "NO" by default.
#                             Set to yes to check for accf_http kernel
#                             module on start up and load if not loaded.

ので、/etc/rc.conf に、apache22_enable="YES" 

/usr/local/etc/apache22/

httpd.conf

ServerAdmin webmaster@smb.net
# Server-pool management (MPM specific)
#Include etc/apache22/extra/httpd-mpm.conf

# Multi-language error messages
Include etc/apache22/extra/httpd-multilang-errordoc.conf

# Fancy directory listings
#Include etc/apache22/extra/httpd-autoindex.conf

# Language settings
#Include etc/apache22/extra/httpd-languages.conf

# User home directories
Include etc/apache22/extra/httpd-userdir.conf

# Real-time info on requests and configuration
Include etc/apache22/extra/httpd-info.conf

# Virtual hosts
Include etc/apache22/extra/httpd-vhosts.conf

# Local access to the Apache HTTP Server Manual
#Include etc/apache22/extra/httpd-manual.conf

# Distributed authoring and versioning (WebDAV)
#Include etc/apache22/extra/httpd-dav.conf

# Various default settings
#Include etc/apache22/extra/httpd-default.conf

# Secure (SSL/TLS) connections
##Include etc/apache22/extra/httpd-ssl.conf

WWWCount

カウンターは普通にインストールすると、nobody:nogroupになるが、apache は wwwで動くために、

# chown www:www /usr/local/www/apache22/cgi-bin/Count.cgi
# chown -R www:www /usr/local/etc/Counter/data

する
で、更新元から/usr/local/etc/Counter/dataをコピーしownerが??なら

# chown -R www:www /usr/local/etc/Counter/data

する

# whereis wwwcount
wwwcount: /usr/ports/www/wwwcount
# cd /usr/ports/www/wwwcount
# make install
===>  Vulnerability check disabled, database not found
===>  Extracting for wwwcount-2.5_2
=> MD5 Checksum mismatch for wwwcount2.5.tar.gz.
=> SHA256 Checksum mismatch for wwwcount2.5.tar.gz.
===>  Refetch for 1 more times files: wwwcount2.5.tar.gz wwwcount2.5.tar.gz
===>  Vulnerability check disabled, database not found
=> wwwcount2.5.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from
http://www.muquit.com/muquit/software/Count/src/wwwcount2.5/.
fetch: wwwcount2.5.tar.gz: local modification time does not match remote
=> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/wwwcount2.5.tar.gz:
File unavailable (e.g., file not found, no access)
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

Stop in /usr/ports/www/wwwcount.
*** Error code 1

Stop in /usr/ports/www/wwwcount.

ので、隣のマシンから、wwwcount2.5.tar.gz をscpしてきて

# make install
===>  Vulnerability check disabled, database not found
===>  Extracting for wwwcount-2.5_2
=> MD5 Checksum OK for wwwcount2.5.tar.gz.
=> SHA256 Checksum OK for wwwcount2.5.tar.gz.
===>  Patching for wwwcount-2.5_2
===>  Applying FreeBSD patches for wwwcount-2.5_2
===>   wwwcount-2.5_2 depends on executable: gmake - found
===>  Configuring for wwwcount-2.5_2
cd /usr/ports/www/wwwcount/work/wwwcount2.5; PREFIX=/usr/local ./Count-config
   Welcome to the configuration procedure of Count 2.5
   ---------------------------------------------------

   o You must know where your system keeps CGI programs (cgi-bin directory)
     It is necessary to generate the install program.
     This directory must exist. If this directory does not exist, the
     configuration procedure will Abort!

   o You have to decide a directory, where you will keep all counter related
     stuff. This directory will have other directories inside. Default
     values will be supplied, press Return key to accept the default value.

     Try to Accept the default value, it will make your life much easier,
     because not much error checking is done to verify input.

   During installation, the directories will be created for you
   if they do not exist and if you have the permission to do so.
   ++
Continue [y|n]?

   You need to enter the full path of the directory where you system
   keeps the CGI programs.

*cgi-bin directory [/usr/local/www/cgi-bin]: /usr/local/www/apache22/cgi-bin/

   You need to enter the base directory of the counter related stuff.
   It must be a absolute path.

*Base directory [/usr/local/etc/Counter]:

   You need to enter the name directory of the configuration file.

* Config directory [/usr/local/etc/Counter/conf]: 

   You need to enter the name of the configuration file. Note, it
   is not the path of the file, just the name. No / is allowed in the
   name.
   This file contains the information about

       o if you want to ignore access from certain hosts
       o host access authentication

   You will create this file later by running the program "Gen_conf".

* Name of the configuration file [count.cfg]:

   You need to enter the directory of the counter data file.

*Data directory [/usr/local/etc/Counter/data]:

*Digits directory [/usr/local/lib/Counter/digits]:

   You need to enter the directory of the Log file.

*Log directory [/var/log]:

   You need to enter the name of the Log file. Note, it just a name, not
   the path. No / is allowed in the name.
   This file hold the error messages of the counter. It also
   logs if someone tried to access your counter remotely.

* Name of the log file [Counter.log]:

Your configuration:
----------------------------------------------------------------
CgiBinDir=/usr/local/www/apache22/cgi-bin/
BaseDir= /usr/local/etc/Counter
DigitDir=/usr/local/lib/Counter/digits
ConfDir= /usr/local/etc/Counter/conf
ConfFile=count.cfg
DataDir=/usr/local/etc/Counter/data
LogDir=/var/log
LogFile=Counter.log
----------------------------------------------------------------
Everything looks OK [y|n]? y

ED_PROTOTYPES_ -o extdgts extdgts.o ../../libs/combine/libCombine.a
cp extdgts ../../bin
/bin/ls -l ./bin
total 150
-rwxr-xr-x  1 root  wheel  89481 Sep 10 05:04 Count.cgi
-rw-r--r--  1 root  wheel     43 Mar 19  2001 README
-rwxr-xr-x  1 root  wheel  27405 Sep 10 05:04 extdgts
-rwxr-xr-x  1 root  wheel  31442 Sep 10 05:04 mkstrip
cd /usr/ports/www/wwwcount/work/wwwcount2.5; ./Gen-conf
   Welcome to the conf file generation procedure of Count 2.5

   This program creates a workable conf file for your host only, you have
   to edit it by hand if you want to add other hosts. The file will have
   enough comments in it to help you out. You also have to hand edit it
   if you want to use netmasks to mask out a entire network or a specific
   range of hosts in a network.

   First of all you must know your
       1) fully qualified domain name (FQDN), for example,
           if your hostname is foo and your domain name is bar.com,
           then your FQDN is
           foo.bar.com

       2) IP address of your host, for example,
           192.165.155.2

       3) If your host has any nickname defined, for example,
           www.foo.com. Note, th nick name also has to be a FQDN.

Continue [y|n]?y

   No Error checking will be done with your hostname, therefore,
   you better make sure you are entering the fully qualified domain name.

* Enter your fully qualified domain name [no default]: www.smb.net

   No Error checking will be done with your IP address, therefore,
   you better make sure you are entering the correct IP address.

* Enter your IP address [no default]: 219.117.246.201

* Does your host have any nickname [y|n]:? y
* Enter your host's nickname (FQDN) [no default]:
* Enter your host's nickname [no default]: www.niihama-med.or.jp

   Now you need to decide if you will allow the users to create datafiles
   for them automatically. If you allow, the counter datafile will be
   created for the user if it does not exist and a pre-determined counter
   number will be inserted to it. If you do not allow, you have to create
   the datafile for each user, provided that the data directory has proper
   write permission.

   Allowing users to create datafile is very convenient, as you do not
   have to be asked all the time when someone decides to use the counter.
   But the dark side of this is, anyone will be able create datafiles in
   the data directory. The decision is yours.

* Do you want to allow automatic file creation [[y|n]? y

   Now you need to decide if you want to compile the program in strict
   mode. If you compile the program in strict mode, the browsers which
   do not return the environment variable HTTP_REFERER, will not be
   served, that is no access hit will be recorded, no time or date
   will be displayed. Instead, a string 888888 will be displayed.

   The strict mode ensures that your counter data file can not be messed
   by accessing the counter remotely from a browser which does not return
   that variable. Note, good browsers like netscape returns this
   variable. Other browsers e.g. Mosaic does not return this variable in
   IMG GET method at this time.  This strict mode is experimental at this
   time!
* Do you want the program to run in strict mode [[y|n]? y
* Do you want to ignore access hits from your own host [y|n]? y

   Ok, do you want the users to use the file rgb.txt for color name
   lookup? It is very inefficient to search this file every time the
   web page is loaded. If you answer yes, the color name
   will be looked up and used. If you answer no, the color will be
   looked up but instead of the counter image, the RGB value will
   be displayed and the user will be asked to use the RGB value
   instead. This will prevent users to use this file. However,
   the convenience of allowing to use rgb.txt file is that color name e.g,
   red, gold etc.  can be used instead of cryptic red, green and blue
   components of the color.

* Allow using the rgb.txt file [y|n]? y

   You can decide if you want to allow reload count in your site.
   When a visitor reloads a page and if you decided to count reload,
   the counter will increment with each reload. It is a good idea
   to ignore reload count as it minimizes remote abuse of the counter.
   Howerver, there may be situation when you will have to count reload,
   for example if visitors are coming through a proxy server. If you
   decide to count reload, your users will have choice to ignore or
   count reload for their counters with "reload=T or F" options.

* Do you want to allow the counter to be reloaded [y|n]? n

   You can decide if you want to log the counter error messages
   or warning messages to the log file. If you are concerned about disk
   space, answer n to the question.

* Do you want to log error messages [[y|n]? y
   You can decide if you want to show error messages to the browsers.
   The counter error messages are verbose and may reveal information about
   the system (e.g. full path of the data file or config file) in case of
   error. If you are concerned with privacy or simply don't care to show
   error messages to browsers (you are confident that the counter works
   perfectly), then answer n to the question. If you answer n, then then
   if there is an error or the access is denied, the visitor will see the
   broken image (browser default).

* Do you want to show error messages to browsers [[y|n]? y

   Created conf file "count.cfg"
   Please look at it, you might want to edit it!

===>  Installing for wwwcount-2.5_2
===>   Generating temporary packing list
===>  Checking if www/wwwcount already installed
cd /usr/ports/www/wwwcount/work/wwwcount2.5; yes "" | ./Count-install

   *** You are installing Counter as root ***


-------------------------------------------------------------------------
Your configuration is shown below. You are only allowed to change the
cgi-bin directory. If you want to change it, edit the file Config.tmpl
and change the variable CGIBIN_DIR to the appropriate directory. Do not change
anything else.

cgi-bin directory   = /usr/local/www/apache22/cgi-bin/
conf directory      = /usr/local/etc/Counter/conf
conf file to install= count.cfg
digit directory     = /usr/local/lib/Counter/digits
data directory      = /usr/local/etc/Counter/data
log directory       = /var/log
log file            = Counter.log
RGB file to install = ./data/rgb.txt
-------------------------------------------------------------------------
Press Control-C to abort
Continue [y|n]? proceeding...

   Now if you know what user and group id child processes of http
   server use, I can change the ownership and access permission
   accordigly. If you do not know, they are usually defined in the
   file httpd.conf with User and Group. I suggest create a unique
   user and group say httpd and set the User and Group to httpd.

*Do you know the user and group id of httpd' child process [y|n]:? *Enter
user  id of httpd's child process [nobody]:? *Enter group id of httpd's child
process [nogroup]:? installing Count.cgi->/usr/local/www/apache22/cgi-bin/
installing count.cfg->/usr/local/etc/Counter/conf
installing sample datafile ./data/data/sample.dat->/usr/local/etc/Counter/data
installing rgb.txt->/usr/local/lib/Counter
installing Counter.log->/var/log
chown: nobody.nogroup: Invalid argument
installing image strip for digit style A->/usr/local/lib/Counter/digits/A
installing sample image peng.gif->/usr/local/lib/Counter/digits/A
installing image strip for digit style B->/usr/local/lib/Counter/digits/B
installing strip image for digit style C->/usr/local/lib/Counter/digits/C
installing strip image for digit style D->/usr/local/lib/Counter/digits/D
installing sample image lenna.gif->/usr/local/lib/Counter/digits/D
installing strip image for digit style E->/usr/local/lib/Counter/digits/E
installing image foo.gif in  E->/usr/local/lib/Counter/digits/E
installing image yeehaw.gif in  A->/usr/local/lib/Counter/digits/A
installing strip image for digit style cd->/usr/local/lib/Counter/digits/cd
installing strip image for digit style cdr->/usr/local/lib/Counter/digits/cdr
installing strip image for digit style cdd->/usr/local/lib/Counter/digits/cdd
installing strip image for digit style bang->/usr/local/lib/Counter/digits/bang
installing the mirroring script
cd /usr/ports/www/wwwcount/work/wwwcount2.5/utils/extdgts;  install  -s -o 
root -g wheel -m 555 extdgts /usr/local/bin;
cd /usr/ports/www/wwwcount/work/wwwcount2.5/utils/mkstrip;  install  -s -o 
root -g wheel -m 555 mkstrip /usr/local/bin;  install  -o root -g wheel -m 444
mkstrip.1 /usr/local/man/man1;  install  -o root -g wheel -m 555 
mkstrip.sh /usr/local/lib/Counter/digits
===>   Compressing manual pages for wwwcount-2.5_2
===>   Registering installation for wwwcount-2.5_2

Total access 3370:本日 1:昨日 0

Counter: 3370, today: 1, yesterday: 0

トップ   編集 凍結 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2015-07-25 (土) 15:21:36