Extmail1.5对应RH5.X
Extmail1.6对应RH6.X

系统环境

Linux hzbenhe 2.6.18-238.el5 #1 SMP Sun Dec 19 14:22:44 EST 2010 x86_64 x86_64 x86_64 GNU/Linux

Red Hat Enterprise Linux Server release 5.6 (Tikanga)

安装过程
根据http://wiki.extmail.org/extmail_solution_for_centos-5安装就可以
yum源:http://mirror.extmail.org/yum/emos/1.5/os/$basearch/

安装问题
1.安装《拾壹、配置courier-imap]》时候======================
yum install courier-imap

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package courier-imap.x86_64 0:4.6.0-1 set to be updated
--> Processing Dependency: courier-authlib-devel >= 0.60.6.20080629 for package: courier-imap
--> Processing Dependency: libcourierauthsasl.so()(64bit) for package: courier-imap
--> Processing Dependency: libcourierauth.so()(64bit) for package: courier-imap
--> Finished Dependency Resolution
courier-imap-4.6.0-1.x86_64 from EMOS-base has depsolving problems
  --> Missing Dependency: libcourierauth.so()(64bit) is needed by package courier-imap-4.6.0-1.x86_64 (EMOS-base)
courier-imap-4.6.0-1.x86_64 from EMOS-base has depsolving problems
  --> Missing Dependency: courier-authlib-devel >= 0.60.6.20080629 is needed by package courier-imap-4.6.0-1.x86_64 (EMOS-base)
courier-imap-4.6.0-1.x86_64 from EMOS-base has depsolving problems
  --> Missing Dependency: libcourierauthsasl.so()(64bit) is needed by package courier-imap-4.6.0-1.x86_64 (EMOS-base)
Error: Missing Dependency: libcourierauth.so()(64bit) is needed by package courier-imap-4.6.0-1.x86_64 (EMOS-base)
Error: Missing Dependency: libcourierauthsasl.so()(64bit) is needed by package courier-imap-4.6.0-1.x86_64 (EMOS-base)
Error: Missing Dependency: courier-authlib-devel >= 0.60.6.20080629 is needed by package courier-imap-4.6.0-1.x86_64 (EMOS-base)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.

解决:

wget http://shupp.org/software/courier-imap-4.1.2.tar.bz2
tar -jxvf courier-imap-4.1.2.tar.bz2 
cd courier-imap-4.1.2 
./configure --prefix=/usr/local/courier-imap --with-redhat --enable-unicode --disable-root-check --with-trashquota --without-ipv6 CPPFLAGS='-I/usr/courier-authlib/include' COURIERAUTHCONFIG='/usr/local/bin/courierauthconfig' CPPFLAGS='-I/usr/courier-authlib/include' 

make 
make install 
cp /usr/local/courier-imap/etc/imapd.dist /usr/local/courier-imap/etc/imapd 
cp /usr/local/courier-imap/etc/imapd-ssl.dist /usr/local/courier-imap/etc/imapd-ssl 
cp /usr/local/courier-imap/etc/pop3d.dist /usr/local/courier-imap/etc/pop3d 
cp /usr/local/courier-imap/etc/pop3d-ssl.dist /usr/local/courier-imap/etc/pop3d-ssl 

配置Courier-IMAP,为用户提供pop3服务:

vi /usr/local/courier-imap/etc/pop3d 
POP3DSTART=yes 

注:如果你想为用户提供IMAP服务,可以在”/usr/local/courier-imap/etc/imapd”文件中设置”IMAPDSTART=yes”。
设置courier-imap开机自动运行:

cp courier-imap.sysvinit /etc/rc.d/init.d/imapd 
chmod 755 /etc/rc.d/init.d/imapd 
chkconfig --add imapd 
service imapd start 

1.telnet localhost 110======================
ERR Temporary problem, please try again later
maillog日志
Oct 30 16:31:44 toc-server pop3d: Connection, ip=[127.0.0.1]
Oct 30 16:32:09 toc-server pop3d: authdaemon: s_connect() failed: No such file or directory
Oct 30 16:32:09 toc-server pop3d: LOGIN FAILED, user=test@extmail.org, ip=[127.0.0.1]
Oct 30 16:32:09 toc-server pop3d: authentication error: No such file or directory

解决:

这问题一直没搞定,最后还是放弃了在RH5.6上安装EMOS1.5