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

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

          刪除以前的rpm包以及相關目錄
          rpm -e cyrus-sasl --nodeps
          rpm -e cyrus-sasl-plain --nodeps
          rpm -e cyrus-sasl-devel --nodeps
          rpm -e cyrus-sasl-md5 --nodeps
          rm -rf /usr/lib/sasl
          rm -rf /usr/lib/sasl2

          wget? ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-2.1.22.tar.gz

          tar zxvf cyrus-sasl-2.1.22.tar.gz
          cd cyrus-sasl-2.1.22

          ./configure --enable-plain --enable-cram --enable-digest --enable-login --enable-sql \
          --disable-anon --disable-ntlm --disable-gssapi --disable-krb4 --disable-otp --disable-srp --disable-srp-setpass \
          -with-authdaemond=/usr/local/courier-authlib/var/spool/authdaemon/socket \
          --with-mysql=/usr/local/mysql --with-mysql-includes=/usr/local/mysql/include \
          --with-mysql-libs=/usr/local/mysql/lib

          make
          make install

          ln -s /usr/local/lib/sasl2 /usr/lib/sasl2

          增加"/usr/local/lib"到你的"/etc/ld.so.conf",并執行ldconfig命令。

          vi /usr/local/lib/sasl2/smtpd.conf

          pwcheck_method: authdaemond
          log_level: 3
          mech_list: PLAIN LOGIN
          authdaemond_path:/usr/local/courier-authlib/var/spool/authdaemon/socket

          注意,這個文件的編輯不要多寫一個空格,否則會出現smtp驗證不過的問題

          ?

          posted on 2006-11-30 16:16 想飛的魚 閱讀(1046) 評論(0)  編輯  收藏 所屬分類: linux
          主站蜘蛛池模板: 浦北县| 怀远县| 梁平县| 北安市| 曲阳县| 盐源县| 南开区| 防城港市| 龙江县| 英吉沙县| 平罗县| 延川县| 寿光市| 宁化县| 义乌市| 龙泉市| 德州市| 射阳县| 诸暨市| 梅河口市| 遂川县| 武邑县| 房产| 南雄市| 博兴县| 芮城县| 喀喇| 新泰市| 尚义县| 清镇市| 吴桥县| 弥渡县| 安庆市| 盐池县| 珲春市| 大姚县| 玛纳斯县| 邢台县| 顺义区| 彭泽县| 宜黄县|