Courier-IMAP是Courier邮件系统中的IMAP服务程序。我给大家就讲讲Courier imap 的安装过程。
- # wget http://www.courier-mta.org/beta/imap/courier-imap-4.0.2.20050403.tar.bz2
- # tar -jxvf courier-imap-4.0.2.20050403.tar.bz2
- # cd courier-imap-4.0.2.20050403
- # ./configure --prefix=/usr/local/imap --with-redhat --disable-root-check --enable-unicode=utf-8,iso-8859-1,gb2312,gbk,gb18030 --with-trashquota --with-dirsync
- # make
- # make install-strip (先install-strip,如果失败,再make install)
- # make install-configure
- # vi /usr/local/imap/etc/pop3d
将POP3DSTART=NO改为POP3DSTART=YES
- # vi /usr/local/imap/etc/imapd
将IMAPDSTART=NO改为IMAPDSTART=YES
让imap自启动:
- # cp courier-imap.sysvinit /etc/rc.d/init.d/courier-imap
- # chmod 755 /etc/rc.d/init.d/courier-imap
- # chkconfig --level 0123456 courier-imap on
手动启动服务:
- # /usr/local/imap/libexec/pop3d.rc start
- # /usr/local/imap/libexec/imapd.rc start
测试courier-imap
- 检查进程:
- # pstree |grep courier
- |-2*[courierlogger]
- |-2*[couriertcpd]
检查端口,应该有如下端口打开:
# pstree |grep courier
|-2*[courierlogger]
|-2*[couriertcpd]
检查进程:
- # pstree |grep courier
- tcp
通过上文介绍,我们知道了Courier-Imap的安装流程,希望本文对大家有用。