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沒有安裝在默認路徑,必須指定這個,如果之前編譯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服務:
          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

          測試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 想飛的魚 閱讀(1870) 評論(0)  編輯  收藏 所屬分類: linux
          主站蜘蛛池模板: 马关县| 惠水县| 会宁县| 华容县| 晋城| 延庆县| 寻甸| 秦皇岛市| 宜宾市| 阳春市| 星子县| 双城市| 大化| 开平市| 静乐县| 峨眉山市| 顺昌县| 原平市| 钦州市| 宜兰市| 修武县| 嘉义市| 虹口区| 贞丰县| 称多县| 卢湾区| 永州市| 田林县| 巫山县| 昂仁县| 牟定县| 韩城市| 镇雄县| 夏河县| 宝鸡市| 旺苍县| 广丰县| 大余县| 孙吴县| 苏尼特左旗| 璧山县|