歡迎您光臨本站 註冊首頁

sendmail 安裝問題。無法SASL認證 版主幫幫忙。

←手機掃碼閱讀     火星人 @ 2014-03-05 , reply:0

sendmail 安裝問題。無法SASL認證 版主幫幫忙。

sendmail -v -bi     //調試啟動啟動。

Warning: Option: AuthMechanisms requires SASL support (-DSASL)
Warning: Option: AuthOptions requires SASL support (-DSASL)
/etc/aliases: 0 aliases, longest 0 bytes, 0 bytes total


總是出現說要認證要認證。
    到底是為什麼呢?
  是路徑不對還是什麼原因呢?


大家幫幫忙,我下在明年以前完成這第一步的配置。

[ 本帖最後由 zhanghuiin 於 2006-12-28 17:20 編輯 ]
《解決方案》

你的 sendmail complier 時沒有加入 SASL 的參數,
你對 APPENDDEF 這些東西不夠了解,建議您再把 www.sendmail.org 上那篇關於 complier 的說明再多看一下
《解決方案》

我根據《[精華] 我的sendmail安裝筆記》
http://www.chinaunix.net/jh/14/480130.html
這樣安裝的。步驟差不多都一樣了。
在安裝sendmail的時候提示我

-------------------------------------------------------------------------------------------
* WARNING:
* Plugins are being installed into /usr/local/sasl2/lib/sasl2,
* but the library will look for them in /usr/lib/sasl2.
* You need to make sure that the plugins will eventually
* be in /usr/lib/sasl2 -- the easiest way is to make a
* symbolic link from /usr/lib/sasl2 to /usr/local/sasl2/lib/sasl2,
* but this may not be appropriate for your site, so this
* installation procedure won't do it for you.
*
* If you don't want to do this for some reason, you can
* set the location where the library will look for plugins
* by setting the environment variable SASL_PATH to the path
* the library should use.

-------------------------------------------------------------------------------------------

我已經把/usr/local/sasl2/lib/sasl2目錄下的所以文件都  ln  到了  /usr/lib/sasl2目錄下了。
包括  Sendmail.conf   這個配置文件也過來了。可是還是找不到。為什麼呢?
《解決方案》

幫忙看看啊!!!
    到底是哪裡錯了。
  文檔裡面說在
/sendmail-8.13.8/devtools/Site

這個目錄下面有一個文件(site.config.m4.sample )是用來配置sendmail支持SASL的。


-------------------------------
如果要sendmail支持SASL,需要修改源碼的位置配置文件site.config.m4。site.config.m4位
於源碼目錄樹的devtools/Site。文件中應包含以下行:
PREPENDDEF(`confMAPDEF', `-DMAP_REGEX')
APPENDDEF(`confENVDEF', `-DTCPWRAPPERS -DSASL=2')
APPENDDEF(`conf_sendmail_LIBS', `-lwrap -lsasl2')
APPENDDEF(`confLIBDIRS', `-L/usr/local/sasl2/lib')
APPENDDEF(`confINCDIRS', `-I/usr/local/sasl2/include')
第一行配置正則表達式相關內容
第二、三行配置表示在sendmail程序中支持sasl2和tcp_wrapper(可通過hosts.allow和
hosts.deny控制訪問)
第四、五行配置指出sasl2的庫文件和頭文件的位置。

-------------------------------

我想問一下            PREPENDDEF(`confMAPDEF', `-DMAP_REGEX')
這句話對嗎?是不是    APPENDDEF(`confMAPDEF', `-DMAP_REGEX')    這樣寫的?

而且。如果這樣他說   第四、五行配置指出sasl2的庫文件和頭文件的位置。
那為什麼當我安裝sendmail的時候,程序提示我說

------------------------------------
* WARNING:
* Plugins are being installed into /usr/local/sasl2/lib/sasl2,
* but the library will look for them in /usr/lib/sasl2.
* You need to make sure that the plugins will eventually
* be in /usr/lib/sasl2 -- the easiest way is to make a
* symbolic link from /usr/lib/sasl2 to /usr/local/sasl2/lib/sasl2,
* but this may not be appropriate for your site, so this
* installation procedure won't do it for you.
*
* If you don't want to do this for some reason, you can
* set the location where the library will look for plugins
* by setting the environment variable SASL_PATH to the path
* the library should use.

------------------------------------

到底是哪裡出問題了啊?程序警告我所說的路徑和我設置的路徑也不對啊???


    請高手幫忙。
《解決方案》

能不能幫我看看啊.

telnet 192.168.2.217 110
+OK POP3 v2001.78rh server ready
user zhanghangming
+OK User name accepted, password please
pass tangdi
-ERR Bad login

密碼肯定是對的,為什麼就是登陸不了呢?
《解決方案》

問題解決了嗎?我也遇到相同的問題了。。。。
如果解決了, 把解決方法寫出來,好嗎?謝謝!

[火星人 ] sendmail 安裝問題。無法SASL認證 版主幫幫忙。已經有574次圍觀

http://coctec.com/docs/service/show-post-41505.html