[Postfixbuch-users] Postfixadmin
Silvio Siefke
listen at silvio-siefke.de
Mo Nov 1 01:30:32 CET 2004
Hallo,
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
-- 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
h1908:/etc/postfix# saslfinger -c
saslfinger - postfix Cyrus sasl configuration Mo Nov 1 01:25:31 CET 2004
version: 0.9.6
mode: client-side SMTP AUTH
-- basics --
Postfix: 2.1.5
System: Debian GNU/Linux 3.1 \n \l
-- smtp is linked to --
libsasl2.so.2 => /usr/local/lib/libsasl2.so.2 (0x40091000)
-- active SMTP AUTH and TLS parameters for smtp --
No active SMTP AUTH and TLS parameters for smtp in main.cf!
SMTP AUTH can't work!
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.
MFG Silvio Siefke
Mehr Informationen über die Mailingliste Postfixbuch-users