Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In /var/log/mail.log I get such error message:

Jul 25 01:33:11 ubuntu8 postfix/smtpd[10863]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory

But the database is here:

# ls -l /etc/sasldb2
-r--r----- 1 postfix sasl 12288 2010-07-25 01:29 /etc/sasldb2

How can I fix/diagnose that issue?

share|improve this question
up vote 2 down vote accepted

Is your smtpd chrooted? Check Postfix's for 'y' or '-' in the fifth column for the smtpd service.

share|improve this answer
Indeed, it is chrooted, I see '-'. – alex2k8 Jul 24 '10 at 22:11
I moved the sasldb into the jail 'mv /etc/sasldb2 /var/spool/postfix/etc' and now it works. Thank you! – alex2k8 Jul 24 '10 at 22:19

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.