十一、配置courier-imap--EXTMAIL

简介:

1、安装Courier-imap

默认的courier-authlib及courier-imap都会增加系统自启动设置,因此下一次服务器启动将自动启动相应的authlib及POP3服务

 

shell

# yum install courier-imap

配置courier-imap

由于Courier-imap的IMAP目录是按UTF-7编码的,ExtMail目前还没有正式支持IMAP目录,因此需要屏蔽IMAP,只提供pop3服务。而就目前的使用情况来看,IMAP使用的非常少,绝大部分OutLook/Foxmail用户都习惯使用POP3而非IMAP。

 

shell

# vi /usr/lib/courier-imap/etc/imapd

修改内容如下:

IMAPDSTART=NO

shell

# vi /usr/lib/courier-imap/etc/imapd-ssl

修改内容如下:

IMAPDSSLSTART=NO

然后重新启动courier-imap:

 

shell

# service courier-imap start

测试POP3 请按如下步骤输入pop3命令测试其是否正常工作,注意蓝色的信息是我们输入到POP3服务器的(请首先登录extman自行建立test@extmail.org用户,密码:extmail)

 

shell

# telnet localhost 110

其过程如下:

Trying 127.0.0.1...Connected to localhost.localdomain (127.0.0.1).Escape character is '^]'.+OK Hello there.user test@extmail.org << 输入内容+OK Password required.pass extmail << 输入内容+OK logged in.list << 输入内容+OK POP3 clients that break here, they violate STD53..quit << 输入内容+OK Bye-bye.Connection closed by foreign host.





      本文转自glying 51CTO博客,原文链接:http://blog.51cto.com/liying/968547,如需转载请自行联系原作者



相关文章
|
网络协议 关系型数据库 MySQL