sasl問題 - BBS
By Linda
at 2008-06-13T13:46
at 2008-06-13T13:46
Table of Contents
※ 引述《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
[email protected]/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
--
: ※ 引述《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
[email protected]/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
--
Tags:
BBS
All Comments
Related Posts
倒數計時器功能
By Dora
at 2008-06-13T12:48
at 2008-06-13T12:48
sasl問題
By Leila
at 2008-06-13T10:47
at 2008-06-13T10:47
sasl問題
By Charlie
at 2008-06-13T09:25
at 2008-06-13T09:25
關於 Syslog 紀錄 remote log
By Isabella
at 2008-06-13T02:27
at 2008-06-13T02:27
關於 Syslog 紀錄 remote log
By Eden
at 2008-06-13T01:39
at 2008-06-13T01:39