- 论坛徽章:
- 0
|
i build my postfix 2.0.16 and sasl2 on solaris 8 sparc64
and i compile my sasl2 with
"./configure --disable-krb4 --disable-gssapi --with-pwcheck --enable-login --with-mysql=/usr/local/mysql --with-dbpath=/etc/sasldb2 "
i can use saslpasswd2 and sasldblistuser2 well, while insert users and domain well.
also , i echo "pwcheck_method:auxprop >;/usr/lib/sasl2/smtpd.conf"
but when i try to reload postfix and send mail, log says : "warning: SASL authentication failure: Could not open db", simutaneously, i find there are sasldb2.dir/sasldb2.pag in /etc/ rather than sasldb2. and "strings sasldb2.pag" show the info. of user and password.
So, i do "cp /etc/sasldb2.pag /etc/sasldb2; cp /etc/sasldb2 /var/spool/postfix/etc/sasldb2; chmod 666 sasldb2; postfix reload. "
finally, i get the "warning: SASL authentication failure: Could not open db" still.
(by the way. postfix with pam/saslauthd/pwcheck works well)
i doubt where i make mistakes, and can you give me some advices?
thank you!
 |
|