Re: [問題] sasl問題

看板FreeBSD作者 (小峰)時間17年前 (2008/06/13 13:46), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串4/6 (看更多)
※ 引述《chiouss (Heart-shaped chant)》之銘言: : ※ 引述《fxsh70133 (小峰)》之銘言: : : Jun 13 03:15:40 harry2 postfix/smtpd[30188]: warning: SASL authentication : : failure: Could not open db : 你的 db 沒有建阿... : http://www.postfix.org/SASL_README.html#server_cyrus 我做了以下sasl的設定: 在 /usr/local/etc/postfix/main.cf 下加入 #enable SASL support in the Postfix SMTP server: smtpd_sasl_auth_enable = yes broken_sasl_auth_clients = yes smtpd_sasl_path = smtpd smtpd_sasl_local_domain = $myhostname smtpd_sender_restrictions = permit_sasl_authenticated, permit_mynetworks #In order to allow mail relaying by authenticated remote SMTP clients smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks, reject_unauth_destination #To report SASL login names in Received: message headers smtpd_sasl_authenticated_header = yes 在 /usr/local/lib/sasl2/smtpd.conf下加入 #To authenticate against Cyrus SASL's own password database: pwcheck_method: auxprop auxprop_plugin: sasldb mech_list: PLAIN LOGIN #CRAM-MD5 DIGEST-MD5 接下來輸入 saslpasswd2 -c -u 140.113.0.0/16 fxsh70133 輸入密碼後 在用這個指令判斷是否建立 sasldblistusers2 fxsh70133@140.113.0.0/16: userPassword 但是我的database還是開不起來,我不確定他這邊建的database的位置在哪邊,還有 在這個指令auxprop_plugin: sasldb,它是用哪個位置的database?? 以下是我的/var/log/maillog Jun 13 05:00:05 harry2 postfix/smtpd[30786]: connect from jack.Dorm9.NCTU.edu.tw [140.113.95.40] Jun 13 05:00:05 harry2 postfix/smtpd[30786]: setting up TLS connection from jack.Dorm9.NCTU.edu.tw[140.113.95.40] Jun 13 05:00:05 harry2 postfix/smtpd[30786]: TLS connection established from jack.Dorm9.NCTU.edu.tw[140.113.95.40]: TLSv1 with cipher RC4-MD5 (128/128 bits) Jun 13 05:00:05 harry2 postfix/smtpd[30786]: warning: SASL authentication failure: Could not open db -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.113.95.40 ※ 編輯: fxsh70133 來自: 140.113.95.40 (06/13 15:45) ※ 編輯: fxsh70133 來自: 140.113.95.40 (06/13 15:47)
文章代碼(AID): #18KWd35Y (FreeBSD)
討論串 (同標題文章)
本文引述了以下文章的的內容:
以下文章回應了本文
完整討論串 (本文為第 4 之 6 篇):
文章代碼(AID): #18KWd35Y (FreeBSD)