Re: [問題]Postfix + SASL 寄信的問題
※ 引述《ziway.bbs@Star.leobbs.net (天線仔))[^^](()》之銘言:
> ※ 引述《ERICJ.bbs@bbs.ysmis.cc ( )》之銘言:
> : 建議您使用 postfix with SASL2
> : 剛好前幾天有弄好,有寫一下 note
> : http://blog.ericj.cc/2005/08/07/48
> 感謝您
> 解決了寄信的問題
> 我的安裝過程是
> 1.
> cd /usr/ports/security/cyrus-sasl2-saslauthd
> make install clean
> 2.
> cd /usr/ports/mail/posyfix
> make install clean
記得選SASL2
> 3.
> vi /usr/local/lib/sasl2/smtpd.conf
> 加入
> pwcheck_method: saslauthd
> mechlist: plain login crammd5 digestmd5
pwcheck_method: saslauthd
mech_list: plain login
然後重新啟動saslauthd
> 4.
> vi /usr/local/etc/postfix/main.cf
> 加入
> mydestination = /usr/local/etc/postfix/mydestination
> alias_maps = hash:/usr/local/etc/postfix/aliases
> smtpd_recipient_restrictions =
> permit_sasl_authenticated,permit_mynetworks,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 =
> smtpd_sasl_application_name = smtpd
加入下面搕T行就行了
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
> 目前可以成功寄信
> 但是 OutLook 再寄信時一直會跳出一個視窗
> 要我輸入密碼和網域
> 要按取消才能寄
> maillog 裡有這樣的訊息
> postfix SASL NTLM authentication failed
--
◤◥ Origin: ˙實驗室的愛情 bbs.ychsiao.org
◣◢ Author: ychsiao 從 FreeBSD.stu.edu.tw 發表
討論串 (同標題文章)
FreeBSD 近期熱門文章
PTT數位生活區 即時熱門文章