[Postfixbuch-users] Postfix und SASL, /etc/sasldb2: No such file or directory

Patrick Ben Koetter p at state-of-mind.de
Mi Mai 14 23:16:43 CEST 2008


Hi Daniel,

* Daniel Schulz <postfixbuch-users at listi.jpberlin.de>:
> Am 14.05.08 um 19:55 schrieb Patrick Ben Koetter:
> > Bitte output von "saslfinger -s".
> 
> ok:
> 
> saslfinger - postfix Cyrus sasl configuration Mi 14. Mai 22:54:48 CEST 2008
> version: 1.0.2
> mode: server-side SMTP AUTH
> 
> -- basics --
> Postfix: 2.3.8
> System: Debian GNU/Linux 4.0 \n \l
> 
> -- smtpd is linked to --
> 	libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x00002af80b16b000)

Okay.

> 
> -- active SMTP AUTH and TLS parameters for smtpd --
> broken_sasl_auth_clients = yes
> smtpd_sasl_auth_enable = yes
> smtpd_sasl_local_domain = 
> smtpd_sasl_path = smtpd
> smtpd_sasl_security_options = noanonymous, noplaintext
> smtpd_tls_cert_file = $smtpd_tls_key_file
> smtpd_tls_key_file = /var/imap/server1.pem
> smtpd_tls_received_header = yes
> smtpd_use_tls = yes
> 

Okay.

> 
> -- listing of /usr/lib64/sasl2 --
> insgesamt 812
> drwxr-xr-x  2 root root  4096 2008-02-10 12:54 .
> drwxr-xr-x 48 root root 20480 2008-05-14 08:36 ..
> -rw-r--r--  1 root root 18868 2006-12-13 22:52 libanonymous.a
> -rw-r--r--  1 root root   855 2006-12-13 22:52 libanonymous.la
> -rw-r--r--  1 root root 15792 2006-12-13 22:52 libanonymous.so
> -rw-r--r--  1 root root 15792 2006-12-13 22:52 libanonymous.so.2
> -rw-r--r--  1 root root 15792 2006-12-13 22:52 libanonymous.so.2.0.22
> -rw-r--r--  1 root root 21754 2006-12-13 22:52 libcrammd5.a
> -rw-r--r--  1 root root   841 2006-12-13 22:52 libcrammd5.la
> -rw-r--r--  1 root root 19184 2006-12-13 22:52 libcrammd5.so
> -rw-r--r--  1 root root 19184 2006-12-13 22:52 libcrammd5.so.2
> -rw-r--r--  1 root root 19184 2006-12-13 22:52 libcrammd5.so.2.0.22
> -rw-r--r--  1 root root 60216 2006-12-13 22:52 libdigestmd5.a
> -rw-r--r--  1 root root   864 2006-12-13 22:52 libdigestmd5.la
> -rw-r--r--  1 root root 48504 2006-12-13 22:52 libdigestmd5.so
> -rw-r--r--  1 root root 48504 2006-12-13 22:52 libdigestmd5.so.2
> -rw-r--r--  1 root root 48504 2006-12-13 22:52 libdigestmd5.so.2.0.22
> -rw-r--r--  1 root root 19094 2006-12-13 22:52 liblogin.a
> -rw-r--r--  1 root root   835 2006-12-13 22:52 liblogin.la
> -rw-r--r--  1 root root 16424 2006-12-13 22:52 liblogin.so
> -rw-r--r--  1 root root 16424 2006-12-13 22:52 liblogin.so.2
> -rw-r--r--  1 root root 16424 2006-12-13 22:52 liblogin.so.2.0.22
> -rw-r--r--  1 root root 38700 2006-12-13 22:52 libntlm.a
> -rw-r--r--  1 root root   829 2006-12-13 22:52 libntlm.la
> -rw-r--r--  1 root root 32520 2006-12-13 22:52 libntlm.so
> -rw-r--r--  1 root root 32520 2006-12-13 22:52 libntlm.so.2
> -rw-r--r--  1 root root 32520 2006-12-13 22:52 libntlm.so.2.0.22
> -rw-r--r--  1 root root 19134 2006-12-13 22:52 libplain.a
> -rw-r--r--  1 root root   835 2006-12-13 22:52 libplain.la
> -rw-r--r--  1 root root 16392 2006-12-13 22:52 libplain.so
> -rw-r--r--  1 root root 16392 2006-12-13 22:52 libplain.so.2
> -rw-r--r--  1 root root 16392 2006-12-13 22:52 libplain.so.2.0.22
> -rw-r--r--  1 root root 29100 2006-12-13 22:52 libsasldb.a
> -rw-r--r--  1 root root   856 2006-12-13 22:52 libsasldb.la
> -rw-r--r--  1 root root 21456 2006-12-13 22:52 libsasldb.so
> -rw-r--r--  1 root root 21456 2006-12-13 22:52 libsasldb.so.2
> -rw-r--r--  1 root root 21456 2006-12-13 22:52 libsasldb.so.2.0.22
> 

Okay.

> -- listing of /usr/lib/sasl2 --
> insgesamt 812
> drwxr-xr-x  2 root root  4096 2008-02-10 12:54 .
> drwxr-xr-x 48 root root 20480 2008-05-14 08:36 ..
> -rw-r--r--  1 root root 18868 2006-12-13 22:52 libanonymous.a
> -rw-r--r--  1 root root   855 2006-12-13 22:52 libanonymous.la
> -rw-r--r--  1 root root 15792 2006-12-13 22:52 libanonymous.so
> -rw-r--r--  1 root root 15792 2006-12-13 22:52 libanonymous.so.2
> -rw-r--r--  1 root root 15792 2006-12-13 22:52 libanonymous.so.2.0.22
> -rw-r--r--  1 root root 21754 2006-12-13 22:52 libcrammd5.a
> -rw-r--r--  1 root root   841 2006-12-13 22:52 libcrammd5.la
> -rw-r--r--  1 root root 19184 2006-12-13 22:52 libcrammd5.so
> -rw-r--r--  1 root root 19184 2006-12-13 22:52 libcrammd5.so.2
> -rw-r--r--  1 root root 19184 2006-12-13 22:52 libcrammd5.so.2.0.22
> -rw-r--r--  1 root root 60216 2006-12-13 22:52 libdigestmd5.a
> -rw-r--r--  1 root root   864 2006-12-13 22:52 libdigestmd5.la
> -rw-r--r--  1 root root 48504 2006-12-13 22:52 libdigestmd5.so
> -rw-r--r--  1 root root 48504 2006-12-13 22:52 libdigestmd5.so.2
> -rw-r--r--  1 root root 48504 2006-12-13 22:52 libdigestmd5.so.2.0.22
> -rw-r--r--  1 root root 19094 2006-12-13 22:52 liblogin.a
> -rw-r--r--  1 root root   835 2006-12-13 22:52 liblogin.la
> -rw-r--r--  1 root root 16424 2006-12-13 22:52 liblogin.so
> -rw-r--r--  1 root root 16424 2006-12-13 22:52 liblogin.so.2
> -rw-r--r--  1 root root 16424 2006-12-13 22:52 liblogin.so.2.0.22
> -rw-r--r--  1 root root 38700 2006-12-13 22:52 libntlm.a
> -rw-r--r--  1 root root   829 2006-12-13 22:52 libntlm.la
> -rw-r--r--  1 root root 32520 2006-12-13 22:52 libntlm.so
> -rw-r--r--  1 root root 32520 2006-12-13 22:52 libntlm.so.2
> -rw-r--r--  1 root root 32520 2006-12-13 22:52 libntlm.so.2.0.22
> -rw-r--r--  1 root root 19134 2006-12-13 22:52 libplain.a
> -rw-r--r--  1 root root   835 2006-12-13 22:52 libplain.la
> -rw-r--r--  1 root root 16392 2006-12-13 22:52 libplain.so
> -rw-r--r--  1 root root 16392 2006-12-13 22:52 libplain.so.2
> -rw-r--r--  1 root root 16392 2006-12-13 22:52 libplain.so.2.0.22
> -rw-r--r--  1 root root 29100 2006-12-13 22:52 libsasldb.a
> -rw-r--r--  1 root root   856 2006-12-13 22:52 libsasldb.la
> -rw-r--r--  1 root root 21456 2006-12-13 22:52 libsasldb.so
> -rw-r--r--  1 root root 21456 2006-12-13 22:52 libsasldb.so.2
> -rw-r--r--  1 root root 21456 2006-12-13 22:52 libsasldb.so.2.0.22
> 

Okay.

> 
> 
> 
> -- content of /etc/postfix/sasl/smtpd.conf --
> pwcheck_method: auxprop
> auxprop_plugin: sasldb
> mech_list: PLAIN LOGIN CRAM-MD5 DIGEST-MD5

PLAIN LOGIN brauchst Du nicht anbieten, wenn Du es eh nicht zuläßt
(noplaintext).

> autotransition: false

Okay.

> 
> 
> -- active services in /etc/postfix/master.cf --
> #                      (yes)   (yes)   (yes)   (never) (100)
> smtp      	inet  	n       -       -       -       -       smtpd

Nimm den smtpd bitte mal aus dem chroot.

> -- mechanisms on localhost --
> 250-AUTH DIGEST-MD5 CRAM-MD5
> 250-AUTH=DIGEST-MD5 CRAM-MD5

sieht alles sauber aus.
Chroot ändern und nochmal testen.

p at rick



-- 
Postfix - Einrichtung, Betrieb und Wartung
<http://www.postfix-buch.com>
saslfinger (debugging SMTP AUTH):
<http://postfix.state-of-mind.de/patrick.koetter/saslfinger/>



Mehr Informationen über die Mailingliste Postfixbuch-users