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.

相关文章:

  • 2021-10-25
  • 2021-08-23
  • 2021-11-02
  • 2022-12-23
  • 2021-12-01
  • 2021-06-21
  • 2022-01-03
  • 2021-11-21
猜你喜欢
  • 2021-07-17
  • 2022-01-15
  • 2021-12-19
  • 2021-09-16
  • 2021-08-09
  • 2021-08-08
  • 2021-10-14
相关资源
相似解决方案