请教postfix配合cyrus-sasl的问题
请问各位朋友,小弟在自己的Debian机器上架设postfix-tls
此postfix是支援cyrus-sasl的,而在设定上
小弟的方法如下
编辑/etc/postfix/main.cf
### SASL support
# server
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,check_relay_domains
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
# client
smtp_sasl_auth_enable = yes
然后在/usr/lib/sasl/下面增加一个smtpd.conf
内容如下
pwcheck_method: sasldb
然后在使用saslpasswd -c asho -a smtpd
再将/etc/sasldb权限改一改
chgrp postfix /etc/sasldb
chmod 640 /etc/sasldb
重跑/etc/init.d/postfix restart
在mozilla mail寄信的时候,会出现一个对话框要我输入密码,
但我输入正确之后,依然会跑出对话框来。
我检察/var/log/mail.log出现下列错误
SASL PLAIN authentication failed
陆续还会出现一些错误讯息
specify a password table via the `smtp_sasl_password_maps' configuration parameter
看postfix的文件有提到smtp_sasl_password_maps跟sasldb是不一样的,
但我依然无法认证成功,想请教各位这应该如何解决呢?
谢谢。
另外,小弟用telnet $myhostname 25出现的结果如下
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-AUTH LOGIN PLAIN CRAM-MD5 DIGEST-MD5
250-AUTH=LOGIN PLAIN CRAM-MD5 DIGEST-MD5
250-XVERP
250 8BITMIME
--
------ 阿信 ------
Welcome To Debian World!!
http://www.debian.org/
SeXyDebian启动中...
--
[1;32m※ Origin: [33mSayYA 资讯站 [37m<bbs.sayya.org> [m
[1;31m◆ From: [36m61-217-65-228.hinet-ip.hinet.net[m
--
To UNSUBSCRIBE, email to debian-chinese-big5-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
--
| This message was re-posted from debian-chinese-big5@lists.debian.org
| and converted from big5 to gb2312 by an automatic gateway.
Reply to: