segunda-feira, 28 de dezembro de 2009

unable to open Berkeley db /etc/sasldb2: No such file or directory

Just a quick note, I would be grateful if anyone can explain what happened.

I was configuring the mail server for a new server running OpenSuSE 11.2. I was not able to get smtpd authentication. After correcting a lot of stuff (and probably making the mistake at the same time), I got into a situation where I could not authenticate when making a smtp connection, even though I could get TLS. In the log I had the message

"unable to open Berkeley db /etc/sasldb2: No such file or directory"

I did not find the solution on the forums, but comparing their main.conf printouts with mine, I decided to remove the parameter

smtpd_sasl_path=smtp

and everything started working. I also tried

smtpd_sasl_path=smtpd

and it also works.

I hope that this may help anyone.