编译Courier-IMAP
进入Courier-IMAP的源代码目录
#cd ../courier-imap-2.1.2
#./configure /
--prefix=/usr/lib/courier-imap /
--enable-unicode /
--enable-workarounds-for-imap-client-bugs /
--disable-root-check /
--with-redhat
#make
如果当前操作系统不是RedHat Linux系统,可以省略--with-redhat选项;如果当前用户不是root,可能省略--disable-root-check,反之则必须加上。
2、安装Courier-IMAP
#make install
#make install-configure
将源代码目录中的courier-imap.sysvinit复制为/etc/init.d/courier-imap,改变其属性,并加入系统的启动列表:
#cp courier-imap.sysvinit /etc/init.d/courier-imap
#chmod +x /etc/init.d/courier-imap
#chkconfig --level 35 courier-imap on
http://www.xmsc.com.cn/InfoView/Article_143327_9.html