Re: Postfix und smtp-auth
Am Donnerstag, 3. Februar 2005 09:48 schrieb Thomas Kosch:
> Hi,
>
> kann mir mal bitte jemand das Brett vorm Kopf wegnehmen?
>
> root@slytherin:~# grep sasl /etc/postfix/main.cf
> smtpd_sasl_auth_enable = yes
> smtpd_sasl_security_options = noanonymous
> broken_sasl_auth_clients = yes
> smtpd_recipient_restrictions =
> permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
> root@slytherin:~#
>
> root@slytherin:~# grep -v ^# /etc/default/saslauthd | sed /^$/d
> START=yes
> MECHANISMS="PAM"
> root@slytherin:~#
>
> root@slytherin:~# grep -v ^# /etc/postfix/sasl/smtpd.conf | sed /^$/d
> pwcheck_method: saslauthd
> mech_list: cram-md5 digest-md5 login
> root@slytherin:~#
>
> Das Problem ist das Postfix zwar "mech_list" beachtet aber
> "pwcheck_method" ignoriert, und versucht gegen sasldb2 zu
> authentifizieren.
>
> root@slytherin:~# dpkg -l | grep -e sasl
> ii libgsasl1 0.0.11-1 GNU SASL library
> ii libsasl2 2.1.19-1.5 Authentication abstraction library
> ii libsasl2-modul 2.1.19-1.5 Pluggable Authentication Modules
> for SASL ii sasl2-bin 2.1.19-1.5 Programs for manipulating
> the SASL users dat root@slytherin:~# dpkg -l | grep -e postfix
> ii postfix 2.1.5-5 A high-performance mail transport
> agent ii postfix-doc 2.1.5-5 Postfix documentation
> ii postfix-tls 2.1.5-5 TLS and SASL support for Postfix
> root@slytherin:~#
hmmm sieht eigentlich alles ganz gut aus, außer das du dort noch ne GNU
Sasl1 Lib (libgsasl1) installiert hast, die braucht man eigentlich
nicht.
Was sagt denn ein:
testsaslauthd -u <user> -p <pass> -s smtp
Und steht im Auth-Log noch etwas hilfreiches?
--
Markus Schulz
Reply to: