15th Mar 2010
How to get authvchkpw working for courier?
Leider bieten die aktuellen Versionen von courier keinen Support mehr fuer authvchkpw und daher muss man einen kleinen hack machen und Versionen mischen :(
wget http://www.qmailrocks.org/downloads/courier-authlib-0.55.tar.bz2
tar jxvf courier-authlib-0.55.tar.bz2
cd courier-authlib-0.55
apt-get install libdb-dev
./configure –prefix=/usr/local –exec-prefix=/usr/local –with-authvchkpw –without-authldap –without-authmysql –disable-root-check –with-ssl
make && make check
cp .libs/libauthvchkpw.so /usr/lib/courier-authlib/
und natürlich:
/etc/init.d/courier-authdaemon restart
und dann könnte man mit glueck folgendes sehen:
Mar 15 20:41:34 host authdaemond: stopping authdaemond children
Mar 15 20:41:34 host authdaemond: modules=”authvchkpw”, daemons=5
Mar 15 20:41:34 host authdaemond: Installing libauthvchkpw
Mar 15 20:41:34 host authdaemond: Installation complete: authvchkpw
und nicht mehr:
Mar 15 16:46:37 host authdaemond.plain: restarting authdaemond children
Mar 15 16:46:37 host authdaemond.plain: modules=”authvchkpw”, daemons=5
Mar 15 16:46:37 host authdaemond: modules=”authvchkpw”, daemons=5
Mar 15 16:46:37 host authdaemond: Installing libauthvchkpw
Mar 15 16:46:37 host authdaemond: libauthvchkpw.so: cannot open shared object file: No such file or directory
Ausprobiert auf Debian Lenny. (via)
Leider bieten die aktuellen Versionen von courier keinen Support mehr fuer authvchkpw und daher muss man einen kleinen hack machen und Versionen mischen :(
wget http://www.qmailrocks.org/downloads/courier-authlib-0.55.tar.bz2
tar jxvf courier-authlib-0.55.tar.bz2
cd courier-authlib-0.55
apt-get install libdb-dev
./configure –prefix=/usr/local –exec-prefix=/usr/local –with-authvchkpw –without-authldap –without-authmysql –disable-root-check –with-ssl
make && make check
cp .libs/libauthvchkpw.so /usr/lib/courier-authlib/
und natürlich:
/etc/init.d/courier-authdaemon restart
und dann könnte man mit glueck folgendes sehen:
Mar 15 20:41:34 host authdaemond: stopping authdaemond children
Mar 15 20:41:34 host authdaemond: modules=”authvchkpw”, daemons=5
Mar 15 20:41:34 host authdaemond: Installing libauthvchkpw
Mar 15 20:41:34 host authdaemond: Installation complete: authvchkpw
und nicht mehr:
Mar 15 16:46:37 host authdaemond.plain: restarting authdaemond children
Mar 15 16:46:37 host authdaemond.plain: modules=”authvchkpw”, daemons=5
Mar 15 16:46:37 host authdaemond: modules=”authvchkpw”, daemons=5
Mar 15 16:46:37 host authdaemond: Installing libauthvchkpw
Mar 15 16:46:37 host authdaemond: libauthvchkpw.so: cannot open shared object file: No such file or directory
Ausprobiert auf Debian Lenny. (via)
Posted in Linux/BSD | No Comments »
