Modified: 23 October 2005
POPのポートを変更する方法 (22 October 2005)
自動起動させる方法 (22 October 2005)
メールクライアントを設定する方法 (23 October 2005)
日本語表示にする方法 (23 October 2005)
URLを指定しても開かない (22 October 2005)
起動時のエラーが出る場合 (17 August 2004)
POPのポートがぶつかる
POPFileは、POPサーバーですから、もともとPOPサーバーのインストールされている環境では、ポートがぶつかって起動できません。
"./Proxy/POP3.pm"を変更します。
: # Default ports for POP3 service and the user interface $self->config_( 'port', 110 ); # There is no default setting for the secure server $self->config_( 'secure_server', '' ); $self->config_( 'secure_port', 110 ); :
起動すれば、設定画面で変更できますので、とりあえず適当に空いているポートを指定すればOKです。
どういうことか
デフォルトではインストールしたPCでしか開きません
"popfile/popfile.cfg" の以下を変更します。
: html_local 0 :
基本的なチェック
上記でもうまくいかない場合は、基本的なチェックが必要です。
POPFileのサービスは、"perl popfile.pl"で起動します。
以下のようにポートを確認し、"110"と"8080"のサービスがあればOKです。
# nmap localhost Starting nmap V. 3.00 ( www.insecure.org/nmap/ ) Interesting ports on localhost (127.0.0.1): (The 1587 ports scanned but not shown below are in state: closed) Port State Service : 110/tcp open pop-3 : 8080/tcp open http-proxy Nmap run completed -- 1 IP address (1 host up) scanned in 3 seconds #
"HTML/Tagset.pm"
# perl popfile.pl POPFile Engine loading Loading... {core: logger config mq} Can't locate HTML/Tagset.pm in @INC (@INC contains: : #以下のようにインストールします。
# rpm -ivh perl-HTML-Tagset-3.03-29.noarch.rpm 警告: perl-HTML-Tagset-3.03-29.noarch.rpm: V3 DSA signature: NOKEY, key ID 4f2a6 fd2 Preparing... ########################################### [100%] 1:perl-HTML-Tagset ########################################### [100%] [root@fc2-mail sources]#
"DBI.pm"
# perl popfile.pl POPFile Engine loading Loading... {core: logger config mq} Can't locate DBI.pm in @INC (@INC contains: : #以下のようにインストールします。
# rpm -ivh perl-DBI-1.40-4.i386.rpm 警告: perl-DBI-1.40-4.i386.rpm: V3 DSA signature: NOKEY, key ID 4f2a6fd2 Preparing... ########################################### [100%] 1:perl-DBI ########################################### [100%] #
"DBI.pm"
# perl popfile.pl POPFile Engine loading Loading... {core: logger config mq} {classifier: wordmangle bayes} {interface: html} {proxy: pop3} POPFile Engine v0.21.2 starting Initializing... {core: mq config logger} {interface: html} {classifier: wordmangle bayes} {proxy: pop3} Starting... {core: mq config logger} {interface: html} {classifier: wordmangle install_driver(SQLite) failed: Can't locate DBD/SQLite.pm in @INC (@INC contains: :Perhaps the DBD::SQLite perl module hasn't been fully installed, or perhaps the capitalisation of 'SQLite' isn't right. Available drivers: ExampleP, Proxy, Sponge. at /Classifier/Bayes.pm line 503 #以下からダウンロードして、インストールします。
http://search.cpan.org/dist/DBD-SQLite/
# tar zxvf DBD-SQLite-1.03.tar.gz : # cd DBD-SQLite-1.03 # perl Makefile.PL Checking if your kit is complete... Looks good Using DBI 1.40 (for perl 5.008003 on i386-linux-thread-multi) installed in /usr/ lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi/auto/DBI Writing Makefile for DBD::SQLite # make : # make test : # make install : #