Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

up vote 2 down vote accepted

Is your smtpd chrooted? Check Postfix's master.cf 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
1  
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

 
discard

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.