歡迎您光臨本站 註冊首頁

求助:postfix+ldap 認證失敗的問題

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

求助:postfix+ldap 認證失敗的問題

採用postfix+ldap搭建郵件伺服器,搭建成功后運行一切正常。突然昨天就不好用了,不能發信了,大家幫幫忙,檢查了兩天,實在沒轍了

系統上安裝了ldap-utils,php5-ldap,stunnel4,postfix以及libsasl2-modules,開始都一切正常,發郵件也沒問題,結果突然發信就不好用了,/var/log/mail.log裡面的錯誤信息如下:
Dec 19 14:03:15 iSpace01 postfix/qmgr: 40E7B2582EFE: from=<>, size=3721, nrcpt=1 (queue active)
Dec 19 14:03:16 iSpace01 postfix/smtp: warning: SASL authentication failure: GSSAPI Error: Unspecified GSS failure.  Minor code may provide more information (Credentials cache file '/tmp/krb5cc_106' not found)
Dec 19 14:03:16 iSpace01 postfix/smtp: 40E7B2582EFE: to=<ispace@****.com>, relay=smtp.****.com[*.*.*.*]:587, delay=11398, delays=11397/0.02/0.48/0, dsn=4.7.0, status=deferred (SASL authentication failed; cannot authenticate to server smtp.****.com[*.*.*.*]: generic failure)

main.cf如下:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
inet_interfaces = loopback-only
mailbox_size_limit = 0
mydestination = iSpace01, ispace.****.com, localhost.****.com, localhost
mydomain = ****.com
myhostname = iSpace01
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
myorigin = neusoft.com
readme_directory = no
recipient_delimiter = +
relayhost = :587
smtp_generic_maps = hash:/etc/postfix/generic
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_tls_CAfile = /etc/postfix/Neusoft_root.cer
smtp_tls_loglevel = 5
smtp_tls_session_cache_database = btree{data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_enforce_tls = no
smtpd_tls_session_cache_database = btree{data_directory}/smtpd_scache
smtpd_use_tls = no

系統其它部分還是正常的,ldap登錄也正常,就是郵件突然間就不好用了,大家幫忙看看,真沒轍了,呵呵
《解決方案》

操作系統是ubuntu
《解決方案》

root@iSpace01:~# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 iSpace01 ESMTP Postfix (Ubuntu)
ehlo localhost
250-iSpace01
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
《解決方案》

求助,求助

[火星人 ] 求助:postfix+ldap 認證失敗的問題已經有711次圍觀

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