作者 主題: 啟動 pop3 一直出現 啟動 Authentication failed.  (閱讀 15870 次)

0 會員 與 1 訪客 正在閱讀本文。

shinhrn

  • 懷疑的國中生
  • **
  • 文章數: 31
    • 檢視個人資料
我依鳥哥的私房菜理的修改 /etc/dovecot.conf後啟動 啟動 pop3
[root@linux ~]# vi /etc/dovecot.conf
protocols = pop3
pop3_listen = *
為何會Authentication failed.我確定帳號密碼都對阿...還有拿理要改嗎??

[root@linux ~]# telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK dovecot ready.
user xxxxx
+OK
pass xxxx
-ERR Authentication failed.

paulso

  • 俺是博士!
  • *****
  • 文章數: 1966
    • 檢視個人資料
啟動 pop3 一直出現 啟動 Authentication failed.
« 回覆 #1 於: 2007-08-14 11:50 »
dovecot 預設是使用 linux 系統賬戶
/var/log/dovecot.log 有什麼看

shinhrn

  • 懷疑的國中生
  • **
  • 文章數: 31
    • 檢視個人資料
啟動 pop3 一直出現 啟動 Authentication failed.
« 回覆 #2 於: 2007-08-14 12:12 »
引述: "paulso"
dovecot 預設是使用 linux 系統賬戶
/var/log/dovecot.log 有什麼看

我是用系統內的帳號阿...
我沒有 /var/log/dovecot.log耶
secure紀錄如下
Aug 14 12:08:41 nat dovecot-auth: pam_unix(dovecot:auth): authentication failure; logname= uid=0 euid=0 tty=dovecot ruser= rhost=127.0.0.1  user=xxxxx

用root試.現在出現
-ERR [IN-USE] Internal login failure. Refer to server log for more information.
Connection closed by foreign host.
之前是跟一般帳號一樣authentication failure...奇怪??整麼變了...

請問paulso大大如果要有 /var/log/dovecot.log 那/etc/syslog.conf要如何設??

shinhrn

  • 懷疑的國中生
  • **
  • 文章數: 31
    • 檢視個人資料
啟動 pop3 一直出現 啟動 Authentication failed.
« 回覆 #3 於: 2007-08-15 12:35 »
網路上找到這篇
http://newweb.syups.tp.edu.tw/documents/memo/postfix/postfix.htm

AUTH PLAIN  //提出純文字認證要求
+
USER shane //送出登入帳號
-ERR Authentication failed.
連帳號都過不去???

日京三子

  • 全區板主
  • 俺是博士!
  • *****
  • 文章數: 8831
    • 檢視個人資料
    • http://www.24online.cjb.net
啟動 pop3 一直出現 啟動 Authentication failed.
« 回覆 #4 於: 2007-08-15 14:14 »
你是用什麼作業系統? 版本是?

testsaslauthd 執行結果如何?
哈克不愛的多合一輸入平台----->新香草口味
過去的時間不斷流逝,抹去的眼淚已成追憶;
乾枯的雙手無力阻止,再會了我遠去的曾經。

shinhrn

  • 懷疑的國中生
  • **
  • 文章數: 31
    • 檢視個人資料
啟動 pop3 一直出現 啟動 Authentication failed.
« 回覆 #5 於: 2007-08-15 15:00 »
引述: "日京三子"
你是用什麼作業系統? 版本是?

testsaslauthd 執行結果如何?

Linux 2.6.15-1.2054_FC5

testsaslauthd 執行結果 root跟一般帳號都是
connect() : No such file or directory

不好意思.現在是 root 才不行啦...
用root試.出現
-ERR [IN-USE] Internal login failure. Refer to server log for more information.
Connection closed by foreign host.

日京三子

  • 全區板主
  • 俺是博士!
  • *****
  • 文章數: 8831
    • 檢視個人資料
    • http://www.24online.cjb.net
啟動 pop3 一直出現 啟動 Authentication failed.
« 回覆 #6 於: 2007-08-15 15:02 »
引述: "shinhrn"
引述: "日京三子"
你是用什麼作業系統? 版本是?

testsaslauthd 執行結果如何?

Linux 2.6.15-1.2054_FC5

testsaslauthd 執行結果 root跟一般帳號都是
connect() : No such file or directory

不好意思.現在是root才不行啦...
用root試.現在出現
-ERR [IN-USE] Internal login failure. Refer to server log for more information.
Connection closed by foreign host.
1. 請啟動 saslauthd 。
2. 不要用root 帳號測試,請使用一般使用者帳號。
哈克不愛的多合一輸入平台----->新香草口味
過去的時間不斷流逝,抹去的眼淚已成追憶;
乾枯的雙手無力阻止,再會了我遠去的曾經。

shinhrn

  • 懷疑的國中生
  • **
  • 文章數: 31
    • 檢視個人資料
啟動 pop3 一直出現 啟動 Authentication failed.
« 回覆 #7 於: 2007-08-15 17:51 »
引述: "日京三子"
引述: "shinhrn"
引述: "日京三子"
你是用什麼作業系統? 版本是?

testsaslauthd 執行結果如何?

Linux 2.6.15-1.2054_FC5

testsaslauthd 執行結果 root跟一般帳號都是
connect() : No such file or directory

不好意思.現在是root才不行啦...
用root試.現在出現
-ERR [IN-USE] Internal login failure. Refer to server log for more information.
Connection closed by foreign host.
1. 請啟動 saslauthd 。
2. 不要用root 帳號測試,請使用一般使用者帳號。

啟動 saslauthd
0: NO "authentication failed"

SO....一般使用者帳號可以了...

netman

  • 管理員
  • 俺是博士!
  • *****
  • 文章數: 17484
    • 檢視個人資料
    • http://www.study-area.org
啟動 pop3 一直出現 啟動 Authentication failed.
« 回覆 #8 於: 2007-08-15 23:44 »
root 本來就不能用來 pop 的啊。

shinhrn

  • 懷疑的國中生
  • **
  • 文章數: 31
    • 檢視個人資料
啟動 pop3 一直出現 啟動 Authentication failed.
« 回覆 #9 於: 2007-08-16 08:22 »
引述: "netman"
root 本來就不能用來 pop 的啊。

是喔..那root的信只能用MAIL收嘍...

jou

  • 酷!學園 學長們
  • 俺是博士!
  • *****
  • 文章數: 4989
  • 性別: 男
    • 檢視個人資料
啟動 pop3 一直出現 啟動 Authentication failed.
« 回覆 #10 於: 2007-08-16 08:34 »
是!
或則用 aliases 或 .forward 轉到一般的使用者收信。

shinhrn

  • 懷疑的國中生
  • **
  • 文章數: 31
    • 檢視個人資料
啟動 pop3 一直出現 啟動 Authentication failed.
« 回覆 #11 於: 2007-08-16 08:54 »
引述: "jou"
是!
或則用 aliases 或 .forward 轉到一般的使用者收信。

了解謝謝

testsaslauthd
Aug 15 17:52:24 nat saslauthd[12684]: do_auth         : auth failure: [user=test] [service=imap] [realm=] [mech=pam] [reason=PAM auth error]
Aug 16 08:59:01 nat saslauthd[12684]: do_auth         : auth failure: [user=test] [service=dovecot] [realm=] [mech=pam] [reason=PAM auth error]