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
          主站蜘蛛池模板: 射洪县| 东丰县| 临猗县| 余姚市| 中超| 濉溪县| 绥芬河市| 南乐县| 万荣县| 洮南市| 承德市| 元阳县| 安阳县| 友谊县| 新龙县| 宁阳县| 富川| 吉首市| 南通市| 申扎县| 卢湾区| 剑川县| 鹿泉市| 当阳市| 股票| 寻乌县| 宣威市| 孟村| 桐庐县| 贵溪市| 汝阳县| 毕节市| 福泉市| 六盘水市| 阳春市| 屏山县| 保康县| 上虞市| 平泉县| 攀枝花市| 许昌县|