[Postfixbuch-users] SASL LOGIN authentication failed

Jaeckel, Bert - DSV/TVI Bert.Jaeckel at tvi-services.de
Do Aug 3 12:37:13 CEST 2006


>> Postfix: 2.3.1
>
>oha! Ganz neu!
>Du möchtest trotzdem 2.3.2 einspielen. Es behebt einige Milter-Bugs und
>gilt/wird wohl das STABLE für die 2.3er Linie...
>

Werd ich zu einem späteren Zeitpunkt noch machen.

>
>> -- listing of /usr/lib/sasl --
>
>Ist Cyrus-SASL.1.x und ignorieren wir...
>
>
>> -- listing of /usr/lib/sasl2 --
>> insgesamt 3528
>> drwxr-xr-x  6 root root   4096  3. Aug 10:33 .
>> drwxr-xr-x 75 root root  49152  3. Aug 10:42 ..
>> drwxr-xr-x  3 root root   4096 20. Sep 2005  etc
>
>Was macht das DIR hier?
>
Fehler meinerseits, ist weg.
>
>> drwxr-xr-x  2 root root   4096  3. Aug 10:20 install
>
>Was macht das DIR hier?
>
Fehler meinerseits, ist weg.
>
>> drwxr-xr-x  7 root root   4096 20. Sep 2005  usr
>
>Was macht das DIR hier?
>
Fehler meinerseits, ist weg.
>
>> drwxr-xr-x  3 root root   4096 20. Sep 2005  var
>
>Was macht das DIR hier?
>
Fehler meinerseits, ist weg.
>
>> -- content of /usr/lib/sasl2/smtpd.conf --
>> pwcheck_method: auxprop
>> auxprop_plugin: sql
>> mech_list: plain login cram-md5 digest-md5
>> sql_engine: mysql
>> sql_hostnames: tviweb01.tvi-services.de
>> sql_user: --- replaced ---
>> sql_passwd: --- replaced ---
>> sql_database: mailbase
>> sql_select: select password from mailusers where account='%u@%r'
>> log_level: 7
>
>Installier mal cyrus-sasl-devel und nutze von dort 
>sasl2-sample-server und
>sasl2-sample-client, um die Config zu verifizieren:
>
># ln -s /usr/lib/sasl2/smtpd.conf /usr/lib/sasl2/sample.conf
># sasl2-sample-server -s rcmd -p 8000 -m PLAIN
>

Bekomme folgendes:

Terminal1:
[root at mail01 cyrus-sasl-mysql]# /usr/bin/sasl2-sample-server -s rcmd -p 8000 -m PLAIN
trying 10, 1, 6
trying 2, 1, 6
bind: Address already in use
accepted new connection
send: {5}
PLAIN
client didn't choose mechanism
closing connection

>Und dann anderes Terminal:
># sasl2-sample-client -s rcmd -p 8000 -m PLAIN localhost

Terminal2:
[root at mail01 sasl2]# /usr/bin/sasl2-sample-client -s rcmd -p 8000 -m PLAIN localhost
receiving capability list... recv: {5}
PLAIN
PLAIN
starting SASL negotiation: no mechanism available
SASL(-4): no mechanism available: No worthy mechs found
closing connection

>
>Wenn Dir damit eine AUTH gelingt, ist der Fehler in Postfix. 
>Wenn nicht, dann
>ist der Fehler in Deinem Cyrus SASL Setup.
>
>> -----Ursprüngliche Nachricht-----
>> Von: postfixbuch-users-bounces at listi.jpberlin.de 
>[mailto:postfixbuch-users-bounces at listi.jpberlin.de] Im 
>Auftrag von Patrick Ben Koetter
>> Gesendet: Donnerstag, 3. August 2006 11:34
>> An: postfixbuch-users at listi.jpberlin.de
>> Betreff: Re: [Postfixbuch-users] SASL LOGIN authentication failed
>> 
>> * Kai Fürstenberg <postfix at fuerstenberg.ws>:
>> > Jaeckel, Bert - DSV/TVI wrote:
>> > > Hallo Liste,
>> > >
>> > > Nachdem mein Postfix soweit läuft und über 'telnet 
>localhost 25' und
>> > > 'telnet localhost 110' alles funktioniert will ich 
>natürlich auch über
>> > > eMail-Clients Mails versenden, Empfang funktioniert ohne 
>Probleme. Dies
>> > > funktioniert leider nicht, ich erhalte im Logfile immer 
>wieder diese
>> > > Meldung:
>> > >
>> > > --------
>> > > Aug  3 10:25:31 mail01 postfix/smtpd[9571]: connect from 
>pc0713[10.240.62.37]
>> > > Aug  3 10:25:31 mail01 postfix/smtpd[9571]: warning: 
>pc0713[10.240.62.37]: SASL LOGIN authentication failed: 
>authentication failure
>> > > Aug  3 10:25:31 mail01 postfix/smtpd[9571]: lost 
>connection after AUTH from pc0713[10.240.62.37]
>> > > Aug  3 10:25:31 mail01 postfix/smtpd[9571]: disconnect 
>from pc0713[10.240.62.37]
>> > > --------
>> > >
>> > > Im Mail-Client ist eingestellt 'Server erfordert 
>Authentifizierung' und
>> > > hierzu in den Einstellungen 'gleiche Einstellungen wie für den
>> > > Posteingangsserver verwenden'.
>> > >
>> > > Hat jemand irgendeinen Hinweis.
>> 
>> Einmal "saslfinger -s", bitte...
>> 
>> p at rick
>> 
>> 
>> -- 
>> _______________________________________________
>> Postfixbuch-users mailingliste
>> Heinlein Professional Linux Support GmbH
>> 
>> Postfixbuch-users at listi.jpberlin.de
>> http://listi.jpberlin.de/mailman/listinfo/postfixbuch-users
>
>-- 
>Das Postfix-Buch
><http://www.postfix-buch.com>
>saslfinger (debugging SMTP AUTH):
><http://postfix.state-of-mind.de/patrick.koetter/saslfinger/>
>-- 
>_______________________________________________
>Postfixbuch-users mailingliste
>Heinlein Professional Linux Support GmbH
>
>Postfixbuch-users at listi.jpberlin.de
>http://listi.jpberlin.de/mailman/listinfo/postfixbuch-users
>



Mehr Informationen über die Mailingliste Postfixbuch-users