Patrick Ben Koetter wrote: > * Curtis Maurand <cur...@maurand.com>: >> >> >> I had a server running on gentoo and it was running OK, but the latest >> updates in the gentoo tree killed it. So I spent yesterday afternoon >> setting up new mail server using Ubuntu 12.04 LTS. >> >> It took a >> while, but I have it all working except for smtp authentication (which >> was working on the gentoo machine. I copied the configuration over >> to the new machine and now I'm getting the following error: >> >> warning: SASL authentication problem: unable to open Berkeley db >> /etc/sasldb2: Invalid argument > > Did you follow the SASL documentation in Ubuntus Postfix documentation? On > Debian/Ubuntu etc. you have to add the postfix user to the sasl group. > > >> according to the redhat website >> that tells me that it is because postfix is linked against the wrong >> version of berkely db. >> https://bugzilla.redhat.com/show_bug.cgi?id=734088 > > Nope. Wrong path. Debian is not RedHat. > >> However, nothing in my configuration says to open the sasldb file >> anywhere >> as the auth machanism is set to imap, but postfix seems intent on >> opening >> this file anyway. > > Cyrus SASL opens sasldb as fallback when all other attempts to do AUTH > have > failed. That in turn says your current setup is non-functional. Which docs > did > you follow? What's your current setup? > >
My currwnt setup has the imap connecting to a remote server on a private network. The imap server is dbmail 2.2.17. Postfix is a member of the sasl group. There is an sasldb2 file just in case. > >