Comment 10 for bug 298085

Revision history for this message
Rich Drewes (drewes) wrote :

I ran into this problem while upgrading 8.04 to 10.04 for a system running Domain Technologie Control (DTC) web admin panel. I fixed it by getting the source package for courier-maildrop, editing the configure.in in the maildrop directory as follows:

dnl if test "$COURIERAUTHCONFIG" != ""
dnl then
        AUTHINCLUDE=`$COURIERAUTHCONFIG --cppflags`
        dnl AUTHLDADD="`$COURIERAUTHCONFIG --ldflags` -lcourierauth"
        dnl RPD: also had to add -L for the authlib library dir
        AUTHLDADD="`$COURIERAUTHCONFIG --ldflags` -L/usr/lib/courier-authlib/ -lcourierauth"
        AUTHLIB=1
dnl fi

which forces compilation with authlib, then doing a dpkg-buildpackage -sn -uc, installing the new .deb, and then locking the version so that it wouldn't get stomped in a future upgrade. The crucial step in diagnosing the problem was seeing that authtest from the command line would verify the user, but maildrop -v showed that base version of maildrop with 10.04 was not compiled with support for courier authlib. After recompilation, maildrop -v showed maildrop had authlib support in it.