postfix無法通過身份認證,大家幫幫我,謝謝
向大家請教一個問題,我昨天重新配置了postfix,但是身份驗證通不 過,請大家指點下
這是mail.cf文件的配置
queue_directory = ar/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr bexec/postfix
mail_owner = postfix
myhostname = cl-t051-190cl.privatedns.com
mydomain = privatedns.com
inet_interfaces = all
mydestination = $myhostname localhost.$mydomain localhost dits.cc
unknown_local_recipient_reject_code = 550
alias_maps = hash:/etc/aliases
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
smtpd_sasl_auth_enable = yes
smtpd_sasl2_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
lmtp_sasl_auth_enable = yes
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix sl_passwd.db
smtp_sasl_security_options =
這個是日誌文件maillog
3417 Jan 20 22:29:44 cl-t051-190cl postfix/smtpd: connect from
servera01.tk2smtp.msn.com
3418 Jan 20 22:29:44 cl-t051-190cl postfix/smtpd: NOQUEUE: reject: RCPT from
servera01.tk2smtp.msn.com: 554 <
[email protected]>: Relay access denied;
from=<ms
[email protected]> to=<
[email protected]> proto=ESMTP
helo=<servera01.tk2smtp.msn.com>
3419 Jan 20 22:29:44 cl-t051-190cl postfix/smtpd: disconnect from
servera01.tk2smtp.msn.com
3420 Jan 20 22:30:33 cl-t051-190cl postfix/smtp: fatal: open database
/etc/postfix sl_passwd.db.db: No such file or directory
3421 Jan 20 22:30:34 cl-t051-190cl postfix/master: warning: process /usr
bexec/postfix/smtp pid 22452 exit status 1
3422 Jan 20 22:30:34 cl-t051-190cl postfix/master: warning: /usr
bexec/postfix/smtp: bad command startup -- throttling
3423 Jan 20 22:31:17 cl-t051-190cl postfix/qmgr: fatal: timeout connecting to
transport: smtp
3424 Jan 20 22:31:18 cl-t051-190cl postfix/master: warning: process /usr
bexec/postfix/qmgr pid 12424 exit status 1
3425 Jan 20 22:31:18 cl-t051-190cl postfix/qmgr: C9C7370403B8:
from=<
[email protected]>, size=935, nrcpt=1 (queue active)
這個cutlook返回的錯誤
登錄郵件伺服器時出錯。「密碼」被拒絕。 帳戶: '72.55.153.22', 伺服器: '72.55.153.22', 協
議:
POP3, 伺服器響應: '-ERR Login failed.', 埠: 110, 安全(SSL): 否, 伺服器錯誤:
0x800CCC90, 錯誤號: 0x800CCC92
無法使用安全密碼身份驗證登錄到伺服器。 帳戶: 'cl-t051-190cl.privatedns.com', 伺服器:
'cl-t051-190cl.privatedns.com', 協議: POP3, 伺服器響應: '-ERR Invalid command.', 埠:
110, 安全(SSL): 否, 伺服器錯誤: 0x800CCC90, 錯誤號: 0x800CCC18
伺服器版本:Fedora Core release 5 (Bordeaux)
大家多指點,現在我都急得不行了,會的請幫幫我,謝謝
《解決方案》
在線等
《解決方案》
3418 Jan 20 22:29:44 cl-t051-190cl postfix/smtpd: NOQUEUE: reject: RCPT from
servera01.tk2smtp.msn.com: 554 <
[email protected]>: Relay access denied;
from=<ms
[email protected]> to=<
[email protected]> proto=ESMTP
helo=<servera01.tk2smtp.msn.com>
3419 Jan 20 22:29:44 cl-t051-190cl postfix/smtpd: disconnect from
servera01.tk2smtp.msn.com
3420 Jan 20 22:30:33 cl-t051-190cl postfix/smtp: fatal: open database
/etc/postfix sl_passwd.db.db: No such file or directory
《解決方案》
回復 #3 ruochen 的帖子
Look at the error log:
/etc/postfix sl_passwd.db.db: No such file or directory
do you have this file? access right ?
《解決方案》
原帖由 ruochen 於 2009-1-21 13:04 發表 http://bbs.chinaunix.net/images/common/back.gif
3418 Jan 20 22:29:44 cl-t051-190cl postfix/smtpd: NOQUEUE: reject: RCPT from
servera01.tk2smtp.msn.com: 554 : Relay access denied;
from= to= proto=ESMTP
helo=
...
ruochen提出你的日誌裡面有兩個問題
《解決方案》
各位大哥,我沒看明白,能不能中文說下具體的問題
《解決方案》
1.你把以下2個搞混了
Enabling SASL authentication in the Postfix SMTP server
Enabling SASL authentication in the Postfix SMTP client
http://www.postfix.org/SASL_README.html
最好買本《postfix權威指南》看看
2.你貼出來的那個outlook錯誤是pop3錯誤,而不是smtp auth錯誤,
pop3認證與postfix毫無關係