wiflish
          Loving Life! Loving Coding!
          posts - 98,comments - 98,trackbacks - 0

          參考文檔:
          http://blog.5ilinux.com/archives/2006/05/postfix_cyrussa.html
          http://www.extmail.org/forum/archive/2/0510/563.html

          wget http://surfnet.dl.sourceforge.net/sourceforge/courier/courier-imap-4.1.1.tar.bz2

          tar jvxf courier-imap-4.1.1.tar.bz2

          ./configure --prefix=/usr/local/courier-imap --with-redhat --enable-unicode --disable-root-check \
          --with-trashquota --without-ipv6 CPPFLAGS='-I/usr/local/courier-authlib/include' \
          COURIERAUTHCONFIG='/usr/local/courier-authlib/bin/courierauthconfig' \
          CPPFLAGS='-I/usr/local/courier-authlib/include'

          #如果編譯courier-authlib沒(méi)有安裝在默認(rèn)路徑,必須指定這個(gè),如果之前編譯courier-authlib加了--without- stdheaderdir,就不需要指定了

          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服務(wù):
          vi /usr/local/courier-imap/etc/pop3d
          POP3DSTART=yes
          ?注:如果你想為用戶提供IMAP服務(wù),可以在"/usr/local/courier-imap/etc/imapd"文件中設(shè)置"IMAPDSTART=yes"。

          ?設(shè)置Courier-IMAP開(kāi)機(jī)自動(dòng)運(yùn)行:
          cp courier-imap.sysvinit /etc/rc.d/init.d/imapd
          chmod 755 /etc/rc.d/init.d/imapd
          chkconfig --add imapd

          測(cè)試POP3:

          				
          						
          telnet localhost 110
          Trying 127.0.0.1... Connected to localhost.localdomain (127.0.0.1). Escape character is '^]'. +OK Hello there. user test@example.com


          +OK Password required. pass 123 +OK logged in. list +OK POP3 clients that break here, they violate STD53. . quit +OK Bye-bye. Connection closed by foreign host.
          posted on 2006-12-01 15:02 想飛的魚(yú) 閱讀(1874) 評(píng)論(0)  編輯  收藏 所屬分類(lèi): linux
          主站蜘蛛池模板: 富锦市| 石林| 勃利县| 沙湾县| 泰顺县| 遂昌县| 刚察县| 苍溪县| 南通市| 龙海市| 越西县| 山丹县| 灵石县| 杨浦区| 封丘县| 新平| 张家川| 景泰县| 阜康市| 临夏县| 冕宁县| 淄博市| 郑州市| 扎赉特旗| 兴安盟| 镇安县| 福安市| 高尔夫| 韶关市| 昌平区| 天全县| 万全县| 始兴县| 阿瓦提县| 柘城县| 河曲县| 泗阳县| 遵义市| 华池县| 孟连| 高雄市|