檢查相關套件是否有安裝
[root@ns1 /]# rpm -qa | grep perl-DBIperl-DBI-1.52-2.el5
[root@ns1 /]# rpm -qa | grep mysql
mysql-5.0.45-7.el5
[root@ns1 /]# rpm -qa | grep postgresql
postgresql-libs-8.1.11-1.el5_1.1
[root@ns1 /]# rpm -qa | grep dovecot
dovecot-1.0.7-7.el5
[root@ns1 /]# rpm -qa | grep perl-DBIperl-DBI-1.52-2.el5
[root@ns1 /]# rpm -qa | grep mysql
mysql-5.0.45-7.el5
[root@ns1 /]# rpm -qa | grep postgresql
postgresql-libs-8.1.11-1.el5_1.1
[root@ns1 /]# rpm -qa | grep dovecot
dovecot-1.0.7-7.el5
有缺的話就用yum安裝
[root@ns1 /]# yum -y install xxxxxxx
修改dovecot.conf設定檔
[root@ns1 /]# vi /etc/dovecot.conf
protocols = pop3 pop3s
[root@ns1 /]# vi /etc/dovecot.conf
protocols = pop3 pop3s
啟動dovecot
[root@ns1 /]# /etc/rc.d/init.d/dovecot start
[root@ns1 /]# /etc/rc.d/init.d/dovecot start
設定開機啟動dovecot
[root@ns1 /]# chkconfig dovecot on
[root@ns1 /]# chkconfig dovecot on
測試POP3是否正常啟動
[root@ns1 /]# telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
+OK Dovecot ready.
[root@ns1 /]# telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
+OK Dovecot ready.
沒有留言:
張貼留言