南寧團購大全 http://www.nntianye.com
第九部分:配置Courier-IMAP
1、安裝Courier-imap
默認的courier-authlib及courier-imap都會增加系統自啓動設置,因此下一次服務器啓動將自動啓動相應的authlib及POP3服務
# yum install courier-imap
配置courier-imap
由於Courier-imap的IMAP目錄是按UTF-7編碼的,ExtMail目前還沒有正式支持IMAP目錄,因此需要屏蔽IMAP,只提供pop3服務。而就目前的使用情況來看,IMAP使用的非常少,絕大部分OutLook/Foxmail用戶都習慣使用POP3而非IMAP
# vi /usr/lib/courier-imap/etc/imapd
修改內容如下:
IMAPDSTART=NO
# vi /usr/lib/courier-imap/etc/imapd-ssl
修改內容如下:
IMAPDSSLSTART=NO
然後重新啓動courier-imap:
# service courier-imap start
測試POP3 請按如下步驟輸入pop3命令測試其是否正常工作,注意藍色的信息是我們輸入到POP3服務器的(請首先登錄extman自行建立[email protected]用戶,密碼:extmail)
# telnet localhost 110
其過程如下:
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
+OK Hello there.
user [email protected] << 輸入內容
+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.