Hello

Im using debian/unstable and following packets/versions:

postfix                2.3.4-2
postfix-mysql          2.3.4-2
sasl2-bin              2.1.22.dfsg1-5
libsasl2               2.1.22.dfsg1-5
libsasl2-modules       2.1.22.dfsg1-5
libsasl2-modules-sql   2.1.22.dfsg1-5
libsasl2-2             2.1.22.dfsg1-5

What I try to reach is:
Postfix chrooted, forcing use of TLS/SASL, but no SSL, to authenticate 
users. The user data is in mysql. Postfix should use the sasl-librarys to 
generate SQL-Querys for mysql.

Problem was:
I always got the "warning: SASL authentication problem: unable to open 
Berkeley db /etc/sasldb2: Permission denied" error. It looked like the 
sasl-libraries would not find my config file, which lied in 
/etc/postfix/sasl/smtpd.conf. When logging mysql querys, i didn't even see 
any connections made.

Laurent Caron wrote:
> Only fix I found so far is:
> 
> dpkg --purge --force-depends libsasl2-2
> 
> which is very messy

In fact, it didn't solve my problem at all. Postfix wouldn't even start at 
all after removing this library.

Fabian Fagerholm wrote:
> > If it doesn't say anything at all, try
> > copying /etc/postfix/sasl/smtpd.conf to 
/usr/local/lib/sasl2/smtpd.conf
> > and retry (you might have to restart Postfix). Does this change
> > anything?
> 
> Err, I meant /usr/lib/sasl2/smtpd.conf -- but you could
> try /usr/local/... first just to rule it out as well.

That did the trick! Apparently the config-file must now lie in the 
/usr/lib/sasl2-directory.

Thank you, Fabian!

Greetings,
Simon

_______________________________
Simon Rupf 
INT Informatik AG 
swebflex Switzerland
Goldbrunnenstrasse 42 
CH - 9000 St. Gallen
Telefon +41 71 290 12 30 
Telefax +41 71 290 12 32 
Internet: http://www.int-ag.ch | http://www.swebflex.ch


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to