- 论坛徽章:
- 0
|
环境:fedora 6 已经编译安装好 mysql+php+apache+sasl2+postfix
telnet localhost 25 以后,一直停在Escape character is '^]'. 这个位置,当我把在main.cf末尾添加的
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = ' '
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated,
reject_unauth_destination
smtpd_client_restrictions = permit_sasl_authenticated
smtpd_sasl_security_options = noanonymous
删除以后,重启postfix。然后:
[root@polo log]# telnet localhost 25
Trying 192.168.100.91...
Connected to localhost.localdomain (192.168.100.91).
Escape character is '^]'.
220 polo ESMTP Postfix
ehlo polo
250-polo
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
一直处于等待状态,没有出现:250-AUTH PLAIN LOGIN
也就是说sasl没有工作,但是在之前我已经启动了saslauthd
# ps -ef|grep saslauthd
root 1910 1 0 17:32 ? 00:00:00 /usr/local/sbin/saslauthd -a shadow
并且testsaslauthd通过
[root@polo log]# /usr/local/sbin/testsaslauthd -u root -p 111111
0: OK "Success."
下面是一些相关配置文件:
[root@polo sasl2]# more /usr/lib/sasl2/smtpd.conf
pwcheck_method: saslauthd
mech_list:plain login
[root@polo sasl2]# more /etc/ld.so.conf
include ld.so.conf.d/*.conf
/usr/local/mysql/lib/mysql
/usr/local/lib
/opt/nessus/lib
请大虾们帮我看看是怎么会事,谢谢了。。。。。在线等待 |
|