看板FreeBSD
标 题[问题]Postfix + SASL 寄信的问题
发信站SF (Sat Aug 13 09:00:05 2005)
转信站ptt!ctu-reader!ctu-peer!news.nctu!netnews.chu!Leo.mi.chu!SF
小弟的系统是
FreeBSD 5.4-RELEASE-p6
安装
postfix-2.2.5,1
cyrus-sasl-1.5.28_4
cclient-2004d,1
imap-uw-2004d,1
目前收信正常
但是寄信时会发生
SASL LOGIN authentication failed
我在安装 postfix 和 SASL 时
选择的选项为
Postfix configuration options
[X] SASL Cyrus SASLv1 (Simple Authentication and Security Layer)
[X] TLS SSL and TLS
[X] DB3 Berkeley DB3 (required if SASL also built with DB3)
Additional SASL options
[X] DB3 Berkeley DB, revision 3
[X] PWCHECK Use pwcheck for password Authentication
我的 main.cf 加入了
mydestination = /usr/local/etc/postfix/mydestination
alias_maps = hash:/usr/local/etc/postfix/aliases
smtpd_recipient_restrictions =
permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination
smtpd_client_restrictions = permit_sasl_authenticated,reject_rbl_client
bl.spamcop.net,reject_rbl_client relays.ordb.org,reject_rbl_client
xbl.spamhaus.org
smtpd_sasl_auth_enable= yes
smtpd_sasl_auth_clients=yes
smtpd_sasl_security_options= noanonymous
smtpd_sasl_local_domain = $myhostname
修改了
/etc/group
cyrus:*:60:postfix
和
/usr/local/lib/sasl/smtpd.conf
pwcheck_method: pwcheck
不知是否有遗漏或是错误的地方
请大家指教一下
感谢^^
--
※Origin:星 情 小 筑 < Star.leobbs.net >
※From: 59-105-116-78.adsl.dynamic.seed.net.tw