标签:style http color io os ar 文件 sp art
dovecot-1.0.rc14安装
 
 注:我的系统是RHEL4
一、RPM格式
1。安装RPM包;
2。编辑/etc/dovecot.conf
其中,修改
protocols = imap pop3
 passdb passwd {
 }
 passdb shadow {
   }
 3。启动
#service dovecot start
二、tar.gz包的安装
1。下载地址:(目前最新版本)
http://www.dovecot.org/releases/dovecot-1.0.rc14.tar.gz
 2。安装:
#tar zxvf dovecot-1.0.rc14.tar.tar
 #cd dovecot-1.0.rc14
 #./configure --prefix=/usr/local/dovecot --sysconfdir=/usr/local/etc --with-mysql --without-ssl --disable-ipv6
 #make
 #make install
 # cp /usr/local/etc/dovecot-example.conf /usr/local/etc/dovecot.conf
 3。建立启动进程所依赖的用户
# useradd -s /bin/false -d /dev/null dovecot
 4。修改配置文件
 编辑/usr/local/etc/dovecot.conf
其中,修改
protocols = imap pop3
 ssl_disable = yes
 passdb passwd {
 }
 passdb shadow {
   }
 5。启动
#/usr/local/dovecot/sbin/dovecot
 6。可以把启动命令写进/etc/rc.d/rc.local文件,以使得系统启动时能自动启动服务。
#echo "/usr/local/dovecot/sbin/dovecot" >> /etc/rc.d/rc.local
 7。验正
(1)验正POP3
 #telnet localhost 110
 Trying 127.0.0.1...
 Connected to localhost.localdomain (127.0.0.1).
 Escape character is ‘^]‘.
 +OK Dovecot ready.
 (2)验正imap
 #telnet localhost 143
 Trying 127.0.0.1...
 Connected to localhost.localdomain (127.0.0.1).
 Escape character is ‘^]‘.
 * OK Dovecot ready.
标签:style http color io os ar 文件 sp art
原文地址:http://www.cnblogs.com/fklin/p/4025139.html