Re: [問題]Postfix + SASL 寄信的問題
※ 引述《ychsiao.bbs@bbs.ychsiao.org (ychsiao)》之銘言:
: ※ 引述《ziway.bbs@Star.leobbs.net (天線仔))[^^](()》之銘言:
: > 感謝您
: > 解決了寄信的問題
: > 我的安裝過程是
: > 1.
: > cd /usr/ports/security/cyrus-sasl2-saslauthd
: > make install clean
: > 2.
: > cd /usr/ports/mail/posyfix
: > make install clean
: 記得選SASL2
我直接make install 就一路裝到底了 都沒有像往頁上寫的 會問你什麼選項@@
只是 我裝好後沒有啟動成功^^;
: > 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
--
真33LV10達成
吳: 孫堅 孫尚香 周泰 小喬 大喬 孫策 孫權 甘寧 黃蓋 陸遜 呂蒙 周瑜 太史慈 (終)
蜀: 關羽 張飛 魏延 劉備 馬超 趙雲 月英 龐統 姜維 黃忠 塔矢亮 (終)
魏: 張遼 夏侯惇 甄姬 曹操 徐晃 張郃 司馬懿 曹仁 典韋
他: 呂布 袁紹 孟獲 祝融 董肥 髒腳
剩下 淵肥 許肥 小孟(想到他是男的就...) 剩3個 剩3個了
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.117.197.150
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 5 之 7 篇):
FreeBSD 近期熱門文章
PTT數位生活區 即時熱門文章