默认的courier-authlib及courier-imap都会增加系统自启动设置,因此下一次服务器启动将自动启动相应的authlib及POP3服务
shell
配置courier-imap
由于Courier-imap的IMAP目录是按UTF-7编码的,ExtMail目前还没有正式支持IMAP目录,因此需要屏蔽IMAP,只提供pop3服务。而就目前的使用情况来看,IMAP使用的非常少,绝大部分OutLook/Foxmail用户都习惯使用POP3而非IMAP。
shell
修改内容如下:
IMAPDSTART=NO
shell
修改内容如下:
IMAPDSSLSTART=NO
然后重新启动courier-imap:
shell
测试POP3 请按如下步骤输入pop3命令测试其是否正常工作,注意蓝色的信息是我们输入到POP3服务器的(请首先登录extman自行建立test@extmail.org用户,密码:extmail)
shell
其过程如下:
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.