- 论坛徽章:
- 0
|
谢谢楼上的兄弟,你那2句话太管用了。不过还有问题,我telnet localhost 25最后认证失败是什么原因啊?过程如下:
#telnet localhost 25
Trying 127.0.0.1...
Connected to www.oswardhead.com (127.0.0.1).
Escape character is '^]'.
220 www.headosward.com ESMTP "Version not Available"
ehlo www.oswardhead.com
250-www.headosward.com
250-PIPELINING
250-SIZE 14336000
250-VRFY
250-ETRN
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250 8BITMIME
auth login
334 VXNlcm5hbWU6
b3N3YXJkaGVhZC8uY29t
334 UGFzc3dvcmQ6
MTIzNDU2
535 Error: authentication failed
错误日志如下:
Sep 7 17:11:08 www postfix/smtpd[1563]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Sep 7 17:11:09 www postfix/smtpd[1563]: connect from www.oswardhead.com[127.0.0.1]
Sep 7 17:13:23 www postfix/smtpd[1563]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
Sep 7 17:13:23 www postfix/smtpd[1563]: warning: www.oswardhead.com[127.0.0.1]: SASL login authentication failed
这是什么问题?main.cf文件下的SASL我这样配的;
#====================SASL========================
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_invalid_hostname,
reject_non_fqdn_hostname,
reject_unknown_sender_domain,
reject_non_fqdn_sender,
reject_non_fqdn_recipient,
reject_unknown_recipient_domain,
reject_unauth_pipelining,
reject_unauth_destination,
permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
smtpd_sasl_application_name = smtpd
smtpd_banner=$myhostname ESMTP "Version not Available"
请问这是哪里出的问题啊?
[ 本帖最后由 oswardhead 于 2006-9-7 17:20 编辑 ] |
|