[Postfixbuch-users] smtpd sasl_auth klemmt
Giuseppe Potenza
giuseppe at potenza.de
So Apr 4 00:41:04 CEST 2004
Andreas Winkelmann schrieb:
>Am Sonntag, 4. April 2004 00:25 schrieb Giuseppe Potenza:
>
>
>
>>>>ich versuche gerade krampfhaft den sasl_auth auf meiner testrübe zum
>>>>laufen zu kriegen.... aber irgendwie klappt das net. Hat vielleicht
>>>>jemand noch nen Tip für mich ???
>>>>
>>>>sasldblistusers2
>>>>test at meet2: userPassword (pw:test)
>>>>
>>>>/usr/lib/sasl2/smtpd.conf
>>>>pwcheck_method: saslauthd
>>>>mech_list: plain login
>>>>
>>>>/etc/sasldb2
>>>>-rw-r--r-- 1 root root 12288 Apr 4 01:40 /etc/sasldb2
>>>>
>>>>main.cf
>>>>smtpd_sasl_auth_enable = yes
>>>>smtpd_sasl_security_options = noanonymous
>>>>smtpd_tls_auth_only = no
>>>>smtpd_sasl_local_domain = meet2
>>>>broken_sasl_auth_clients = yes
>>>>
>>>>
>>>Du solltest Dich ersteinmal entscheiden, was Du benutzen möchtest.
>>>saslauthd und sasldb sind zwei total unterschiedliche Dinge. Willyts Du
>>>Deine User in der sasldb haben, oder in shadow/passwd oder pam ?
>>>
>>>
>>Ich dachte an die sasldb... da die ja unabhängig von den lokalen
>>benutzern ist - oder ?
>>
>>
>
>Yep, dann solltest Du in Deiner smtpd.conf folgendes schreiben:
>
>pwcheck_method: auxprop
>auxprop_plugin: sasldb
>mech_list: plain login cram-md5 digest-md5
>
>
>
Hi,
klappt leider auch nicht: ( passwort der übersicht halber geändert auf
"pass" )
Apr 4 02:40:32 tux postfix/smtpd[5779]: connection established
Apr 4 02:40:32 tux postfix/smtpd[5779]: master_notify: status 0
Apr 4 02:40:32 tux postfix/smtpd[5779]: name_mask: resource
Apr 4 02:40:32 tux postfix/smtpd[5779]: name_mask: software
Apr 4 02:40:32 tux postfix/smtpd[5779]: name_mask: noanonymous
Apr 4 02:40:32 tux postfix/smtpd[5779]: connect from gplan0[10.1.2.12]
Apr 4 02:40:32 tux postfix/smtpd[5779]: > gplan0[10.1.2.12]: 220 --=
MEET2 ESMTP MAIL SERVER =--
Apr 4 02:40:32 tux postfix/smtpd[5779]: watchdog_pat: 0x8090f80
Apr 4 02:40:32 tux postfix/smtpd[5779]: < gplan0[10.1.2.12]: EHLO
potenza.de
Apr 4 02:40:32 tux postfix/smtpd[5779]: > gplan0[10.1.2.12]:
250-mail.meet2.de
Apr 4 02:40:32 tux postfix/smtpd[5779]: > gplan0[10.1.2.12]: 250-PIPELINING
Apr 4 02:40:32 tux postfix/smtpd[5779]: > gplan0[10.1.2.12]: 250-SIZE
20480000
Apr 4 02:40:32 tux postfix/smtpd[5779]: > gplan0[10.1.2.12]: 250-VRFY
Apr 4 02:40:32 tux postfix/smtpd[5779]: > gplan0[10.1.2.12]: 250-ETRN
Apr 4 02:40:32 tux postfix/smtpd[5779]: > gplan0[10.1.2.12]: 250-AUTH
CRAM-MD5 DIGEST-MD5 LOGIN PLAIN
Apr 4 02:40:32 tux postfix/smtpd[5779]: > gplan0[10.1.2.12]:
250-AUTH=CRAM-MD5 DIGEST-MD5 LOGIN PLAIN
Apr 4 02:40:32 tux postfix/smtpd[5779]: match_hostname: gplan0 ~?
127.0.0.0/8
Apr 4 02:40:32 tux postfix/smtpd[5779]: match_hostaddr: 10.1.2.12 ~?
127.0.0.0/8
Apr 4 02:40:32 tux postfix/smtpd[5779]: match_list_match: gplan0: no match
Apr 4 02:40:32 tux postfix/smtpd[5779]: match_list_match: 10.1.2.12: no
match
Apr 4 02:40:32 tux postfix/smtpd[5779]: > gplan0[10.1.2.12]: 250 8BITMIME
Apr 4 02:40:32 tux postfix/smtpd[5779]: watchdog_pat: 0x8090f80
Apr 4 02:40:35 tux postfix/smtpd[5779]: < gplan0[10.1.2.12]: AUTH CRAM-MD5
Apr 4 02:40:35 tux postfix/smtpd[5779]: smtpd_sasl_authenticate:
sasl_method CRAM-MD5
Apr 4 02:40:35 tux postfix/smtpd[5779]: smtpd_sasl_authenticate:
uncoded challenge: <383000429.7297475 at mail.meet2.de>
Apr 4 02:40:35 tux postfix/smtpd[5779]: > gplan0[10.1.2.12]: 334
PDM4MzAwMDQyOS43Mjk3NDc1QG1haWwubWVldDIuZGU+
Apr 4 02:40:35 tux postfix/smtpd[5779]: < gplan0[10.1.2.12]:
dGVzdCA5ZGM0ZjZjMTIwYmVlODllMjg2YzBlMDZjMGJiZGJmNw==
Apr 4 02:40:35 tux postfix/smtpd[5779]: smtpd_sasl_authenticate:
decoded response: test 9dc4f6c120bee89e286c0e06c0bbdbf7
Apr 4 02:40:35 tux postfix/smtpd[5779]: warning: SASL authentication
failure: no secret in database
Apr 4 02:40:35 tux postfix/smtpd[5779]: warning: gplan0[10.1.2.12]:
SASL CRAM-MD5 authentication failed
Apr 4 02:40:35 tux postfix/smtpd[5779]: > gplan0[10.1.2.12]: 535 Error:
authentication failed
Apr 4 02:40:36 tux postfix/smtpd[5779]: watchdog_pat: 0x8090f80
Apr 4 02:40:36 tux postfix/smtpd[5779]: < gplan0[10.1.2.12]: AUTH PLAIN
AHRlc3QAcGFzcw==
Apr 4 02:40:36 tux postfix/smtpd[5779]: smtpd_sasl_authenticate:
sasl_method PLAIN, init_response AHRlc3QAcGFzcw==
Apr 4 02:40:36 tux postfix/smtpd[5779]: smtpd_sasl_authenticate:
decoded initial response
Apr 4 02:40:36 tux postfix/smtpd[5779]: warning: SASL authentication
failure: Password verification failed
Apr 4 02:40:36 tux postfix/smtpd[5779]: warning: gplan0[10.1.2.12]:
SASL PLAIN authentication failed
Apr 4 02:40:36 tux postfix/smtpd[5779]: > gplan0[10.1.2.12]: 535 Error:
authentication failed
Apr 4 02:40:37 tux postfix/smtpd[5779]: watchdog_pat: 0x8090f80
Apr 4 02:40:37 tux postfix/smtpd[5779]: < gplan0[10.1.2.12]: AUTH LOGIN
Apr 4 02:40:37 tux postfix/smtpd[5779]: smtpd_sasl_authenticate:
sasl_method LOGIN
Apr 4 02:40:37 tux postfix/smtpd[5779]: smtpd_sasl_authenticate:
uncoded challenge: Username:
Apr 4 02:40:37 tux postfix/smtpd[5779]: > gplan0[10.1.2.12]: 334
VXNlcm5hbWU6
Apr 4 02:40:37 tux postfix/smtpd[5779]: < gplan0[10.1.2.12]: dGVzdA==
Apr 4 02:40:37 tux postfix/smtpd[5779]: smtpd_sasl_authenticate:
decoded response: test
Apr 4 02:40:37 tux postfix/smtpd[5779]: smtpd_sasl_authenticate:
uncoded challenge: Password:
Apr 4 02:40:37 tux postfix/smtpd[5779]: > gplan0[10.1.2.12]: 334
UGFzc3dvcmQ6
Apr 4 02:40:37 tux postfix/smtpd[5779]: < gplan0[10.1.2.12]: cGFzcw==
Apr 4 02:40:37 tux postfix/smtpd[5779]: smtpd_sasl_authenticate:
decoded response: pass
Apr 4 02:40:37 tux postfix/smtpd[5779]: warning: gplan0[10.1.2.12]:
SASL LOGIN authentication failed
Apr 4 02:40:37 tux postfix/smtpd[5779]: > gplan0[10.1.2.12]: 535 Error:
authentication failed
Apr 4 02:40:38 tux postfix/smtpd[5779]: watchdog_pat: 0x8090f80
Apr 4 02:40:43 tux postfix/smtpd[5779]: smtp_get: EOF
Apr 4 02:40:43 tux postfix/smtpd[5779]: lost connection after AUTH from
gplan0[10.1.2.12]
Apr 4 02:40:43 tux postfix/smtpd[5779]: disconnect from gplan0[10.1.2.12]
Apr 4 02:40:43 tux postfix/smtpd[5779]: master_notify: status 1
Apr 4 02:40:43 tux postfix/smtpd[5779]: connection closed
Apr 4 02:40:43 tux postfix/smtpd[5779]: watchdog_stop: 0x8090f80
Apr 4 02:40:43 tux postfix/smtpd[5779]: watchdog_start: 0x8090f80
Mehr Informationen über die Mailingliste Postfixbuch-users