Courier imap 安裝指南
Courier-IMAP是Courier郵件系統(tǒng)中的IMAP服務(wù)程序。我給大家就講講Courier imap 的安裝過(guò)程?! ?/p>
- # 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自啟動(dòng):
- # 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
手動(dòng)啟動(dòng)服務(wù):
- # /usr/local/imap/libexec/pop3d.rc start
- # /usr/local/imap/libexec/imapd.rc start
測(cè)試courier-imap
- 檢查進(jìn)程:
- # pstree |grep courier
- |-2*[courierlogger]
- |-2*[couriertcpd]
檢查端口,應(yīng)該有如下端口打開(kāi):
# pstree |grep courier
|-2*[courierlogger]
|-2*[couriertcpd]
檢查進(jìn)程:
- # pstree |grep courier
- tcp
通過(guò)上文介紹,我們知道了Courier-Imap的安裝流程,希望本文對(duì)大家有用。