[問題]Postfix + SASL 寄信的問題
小弟的系統是
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
討論串 (同標題文章)
FreeBSD 近期熱門文章
PTT數位生活區 即時熱門文章