[Postfixbuch-users] Postfixadmin

Andreas Winkelmann ml at awinkelmann.de
Mo Nov 1 05:27:22 CET 2004


Am Montag, 1. November 2004 01:30 schrieb Silvio Siefke:

> Den Postfixadmin habe ich installiert, lief auch zu meiner Zufriedenheit,
> bin ich zum SMTP-Auth kam und hier in der postfix Liste lass, das
> Cyrus gepatcht werden muss. Also habe ich dies gemacht und Postfix
> entsprechend
> auch neu kompilliert mit mässigen Erfolg, wie man ließt,
>
> saslfinger -s
> saslfinger - postfix Cyrus sasl configuration Mo Nov  1 01:20:13 CET 2004
> version: 0.9.6
> mode: server-side SMTP AUTH
>
> -- basics --
> Postfix: 2.1.5
> System: Debian GNU/Linux 3.1 \n \l
>
> -- smtpd is linked to --
>         libsasl2.so.2 => /usr/local/lib/libsasl2.so.2 (0x40091000)
>
> -- active SMTP AUTH and TLS parameters for smtpd --
> broken_sasl_auth_clients = yes
> smtpd_sasl_auth_enable = yes
> smtpd_sasl_local_domain =
> smtpd_sasl_security_options = noanonymous
> smtpd_tls_cert_file = /etc/postfix/smtpd.cert
> smtpd_tls_key_file = /etc/postfix/smtpd.key
> smtpd_use_tls = yes
>
>
> -- listing of /usr/lib/sasl2 --
> insgesamt 104
> drwxr-xr-x   2 root root   4096 2004-11-01 00:06 .
> drwxr-xr-x  39 root root   8192 2004-11-01 00:50 ..
> -rw-r--r--   1 root root  21798 2004-10-16 23:02 libsasldb.a
> -rw-r--r--   1 root root    852 2004-10-16 23:02 libsasldb.la
> -rw-r--r--   1 root root  18692 2004-10-16 23:02 libsasldb.so
> -rw-r--r--   1 root root  18692 2004-10-16 23:02 libsasldb.so.2
> -rw-r--r--   1 root root  18692 2004-10-16 23:02 libsasldb.so.2.0.19
> drwxr-sr-x   2 root staff  4096 2004-11-01 00:06 sasl2

Da dürfte wohl der Link verunglückt sein. /usr/lib/sasl2 
und /usr/local/lib/sasl2 sollten eins sein. Bei Dir sind die unterschiedlich.

> -- listing of /usr/local/lib/sasl2 --
> insgesamt 2872
> drwxr-sr-x  2 root staff   4096 2004-11-01 00:06 .
> drwxr-sr-x  6 root staff   4096 2004-11-01 00:06 ..
> -rwxr-xr-x  1 root staff    686 2004-11-01 00:06 libanonymous.la
> -rwxr-xr-x  1 root staff  91648 2004-11-01 00:06 libanonymous.so
> -rwxr-xr-x  1 root staff  91648 2004-11-01 00:06 libanonymous.so.2
> -rwxr-xr-x  1 root staff  91648 2004-11-01 00:06 libanonymous.so.2.0.20
> -rwxr-xr-x  1 root staff    674 2004-11-01 00:06 libcrammd5.la
> -rwxr-xr-x  1 root staff  94820 2004-11-01 00:06 libcrammd5.so
> -rwxr-xr-x  1 root staff  94820 2004-11-01 00:06 libcrammd5.so.2
> -rwxr-xr-x  1 root staff  94820 2004-11-01 00:06 libcrammd5.so.2.0.20
> -rwxr-xr-x  1 root staff    704 2004-11-01 00:06 libdigestmd5.la
> -rwxr-xr-x  1 root staff 143044 2004-11-01 00:06 libdigestmd5.so
> -rwxr-xr-x  1 root staff 143044 2004-11-01 00:06 libdigestmd5.so.2
> -rwxr-xr-x  1 root staff 143044 2004-11-01 00:06 libdigestmd5.so.2.0.20
> -rwxr-xr-x  1 root staff    670 2004-11-01 00:06 liblogin.la
> -rwxr-xr-x  1 root staff  90444 2004-11-01 00:06 liblogin.so
> -rwxr-xr-x  1 root staff  90444 2004-11-01 00:06 liblogin.so.2
> -rwxr-xr-x  1 root staff  90444 2004-11-01 00:06 liblogin.so.2.0.20
> -rwxr-xr-x  1 root staff    659 2004-11-01 00:06 libotp.la
> -rwxr-xr-x  1 root staff 158176 2004-11-01 00:06 libotp.so
> -rwxr-xr-x  1 root staff 158176 2004-11-01 00:06 libotp.so.2
> -rwxr-xr-x  1 root staff 158176 2004-11-01 00:06 libotp.so.2.0.20
> -rwxr-xr-x  1 root staff    670 2004-11-01 00:06 libplain.la
> -rwxr-xr-x  1 root staff  90210 2004-11-01 00:06 libplain.so
> -rwxr-xr-x  1 root staff  90210 2004-11-01 00:06 libplain.so.2
> -rwxr-xr-x  1 root staff  90210 2004-11-01 00:06 libplain.so.2.0.20
> -rwxr-xr-x  1 root staff    704 2004-11-01 00:06 libsasldb.la
> -rwxr-xr-x  1 root staff 142526 2004-11-01 00:06 libsasldb.so
> -rwxr-xr-x  1 root staff 142526 2004-11-01 00:06 libsasldb.so.2
> -rwxr-xr-x  1 root staff 142526 2004-11-01 00:06 libsasldb.so.2.0.20
> -rwxr-xr-x  1 root staff    685 2004-11-01 00:06 libsql.la
> -rwxr-xr-x  1 root staff 104408 2004-11-01 00:06 libsql.so
> -rwxr-xr-x  1 root staff 104408 2004-11-01 00:06 libsql.so.2
> -rwxr-xr-x  1 root staff 104408 2004-11-01 00:06 libsql.so.2.0.20
>
>
> -- mechanisms on localhost --
> /usr/bin/saslfinger: line 100: nc: command not found

@Pätrick: Das Script hört scheinbar an dieser Stelle auf, und zeigt die 
anderen Sachen nicht mehr an. Bugzilla #2 ;-)

> Kompilliert mit den folgenden Befehl;
> make -f Makefile.init makefiles CCARGS="-DHAS_MYSQL -I/usr/include/mysql
> -DUSE_SASL_AUTH -I/usr/local/include/sasl -DHAS_SSL -I/usr/include/openssl"
> AUXLIBS="-L/usr/lib -lmysqlclient -lz -lm -L/usr/local/lib -lsasl2
> -L/usr/lib -lssl -lcrypto"

> Wo habe ich den Fehler gemacht.
> CYRUS installiert:
> http://frost.ath.cx/software/cyrus-sasl-patches/dist/2.1.17/cyrus-sasl-2.1.
>17-checkpw.c.patch patch -p0 < ../cyrus-sasl-2.1.x-checkpw.c.patch |
> ./configure --enable-login --enable-plain --enable-digest --enable-sql
> --with- mysql=/usr/include/mysql make make install
> ln -s /usr/local/lib/sasl2 /usr/lib/sasl2 vi /etc/ld.so.conf und den Pfad
> /usr/local/lib/ hinzufügen danach ldconfig aufrufen
> Für Kurze Tips und Tricks würde ich mich freuen.

Evtl, so ganz nebenbei, wäre es auch sinnvoll, wenn Du schreiben würdest, WAS 
nicht funktioniert...

-- 
	Andreas



Mehr Informationen über die Mailingliste Postfixbuch-users