Postfix als SASL Client: No worthy mechs found
Sebastian Sporleder
sebastian.sporleder at uni-bielefeld.de
Fri Feb 25 11:15:23 CET 2005
Stefan U. Hegner wrote:
>Moin Liste,
>
>ich breche mir echt die Gräten dabei, Postfix beizubiegen, sich bei
>seinem Relay-Host zu authentifizieren.
>
>Debian-Sarge, postfix-tls & libsasl-modules-plain
>
>in der /etc/postfix/main.cf steht (u.a.)
>
>relayhost = smtp.myhosting.de
>smtp_sasl_auth_enable = yes
>smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
>smtp_sasl_security_options =
>smtp_sasl_mechanism_filter =
>debug_peer_list = 217.175.253.222 # habe ich zum Testen gesetzt
>
>Ich habe die richtigen (mit swaks getesteten Daten) in der /etc/postfix/sasl_passwd
>und habe auch
> # postmap hash:/etc/postfix/sasl_passwd
>ausgeführt ... (Daten hab ich im log durch [user] und [pass] ersetzt
>
>... und natürlich habe ich auch einen postfix reload gemacht.
>
>Im Log kriege ich aber :
>
>
>
>
>>Feb 14 12:22:16 kaya postfix/pickup[6909]: 35BED16248: uid=1000 from=<hegi at kaya.hegner.hn.org>
>>Feb 14 12:22:16 kaya postfix/cleanup[6971]: 35BED16248: message-id=<1108380135.3448.26.camel at kaya.hegner.hn.org>
>>Feb 14 12:22:17 kaya postfix/qmgr[6910]: 35BED16248: from=<hegi at kaya.hegner.hn.org>, size=523, nrcpt=1 (queue active)
>>Feb 14 12:22:17 kaya postfix/smtp[6973]: < smtp.myhosting.de[217.175.253.222]: 220 brain.myhosting.de ESMTP
>>Feb 14 12:22:17 kaya postfix/smtp[6973]: > smtp.myhosting.de[217.175.253.222]: EHLO localhost.localdomain
>>Feb 14 12:22:17 kaya postfix/smtp[6973]: < smtp.myhosting.de[217.175.253.222]: 250-brain.myhosting.de
>>Feb 14 12:22:17 kaya postfix/smtp[6973]: < smtp.myhosting.de[217.175.253.222]: 250-PIPELINING
>>Feb 14 12:22:17 kaya postfix/smtp[6973]: < smtp.myhosting.de[217.175.253.222]: 250-8BITMIME
>>Feb 14 12:22:17 kaya postfix/smtp[6973]: < smtp.myhosting.de[217.175.253.222]: 250-SIZE 0
>>Feb 14 12:22:17 kaya postfix/smtp[6973]: < smtp.myhosting.de[217.175.253.222]: 250 AUTH LOGIN PLAIN
>>Feb 14 12:22:17 kaya postfix/smtp[6973]: server features: 0x2f size 0
>>Feb 14 12:22:17 kaya postfix/smtp[6973]: maps_find: smtp_sasl_passwd: hash:/etc/postfix/sasl_passwd(0,100): smtp.myhosting.d
>>e = [user]:[pass]
>>Feb 14 12:22:17 kaya postfix/smtp[6973]: smtp_sasl_passwd_lookup: host `smtp.myhosting.de' user `[user]' pass `[pass]'
>>Feb 14 12:22:17 kaya postfix/smtp[6973]: starting new SASL client
>>Feb 14 12:22:17 kaya postfix/smtp[6973]: smtp_sasl_authenticate: smtp.myhosting.de[217.175.253.222]: SASL mechanisms LOGIN P
>>LAIN
>>Feb 14 12:22:17 kaya postfix/smtp[6973]: warning: SASL authentication failure: No worthy mechs found
>>Feb 14 12:22:17 kaya postfix/smtp[6973]: connect to subsystem private/defer
>>Feb 14 12:22:17 kaya postfix/smtp[6973]: send attr nrequest = 0
>>Feb 14 12:22:17 kaya postfix/smtp[6973]: send attr flags = 0
>>Feb 14 12:22:17 kaya postfix/smtp[6973]: send attr queue_id = 35BED16248
>>Feb 14 12:22:17 kaya postfix/smtp[6973]: send attr original_recipient = hegner at inprozess.de
>>Feb 14 12:22:17 kaya postfix/smtp[6973]: send attr recipient = hegner at inprozess.de
>>Feb 14 12:22:17 kaya postfix/smtp[6973]: send attr offset = 163
>>Feb 14 12:22:17 kaya postfix/smtp[6973]: send attr status = 4.0.0
>>Feb 14 12:22:17 kaya postfix/smtp[6973]: send attr action = delayed
>>Feb 14 12:22:17 kaya postfix/smtp[6973]: send attr reason = Authentication failed: cannot SASL authenticate to server smtp.m
>>yhosting.de[217.175.253.222]: no mechanism available
>>Feb 14 12:22:17 kaya postfix/smtp[6973]: private/defer socket: wanted attribute: status
>>Feb 14 12:22:17 kaya postfix/smtp[6973]: input attribute name: status
>>Feb 14 12:22:17 kaya postfix/smtp[6973]: input attribute value: 0
>>Feb 14 12:22:17 kaya postfix/smtp[6973]: private/defer socket: wanted attribute: (list terminator)
>>Feb 14 12:22:17 kaya postfix/smtp[6973]: input attribute name: (end)
>>Feb 14 12:22:17 kaya postfix/smtp[6973]: 35BED16248: to=<hegner at inprozess.de>, relay=smtp.myhosting.de[217.175.253.222], del
>>ay=1, status=deferred (Authentication failed: cannot SASL authenticate to server smtp.myhosting.de[217.175.253.222]: no mech
>>anism available)
>>
>>
Also bei mir hat es geholfen die Mechanismen die eingesetzt werden
sollten auch zu installieren, in meinem fall das paket
"Cyrus-sasl-plain" oder "cyrus-sasl-md5".
MfG
Sebastian
--
Sebastian Sporleder mailto:sebastian.sporleder at uni-bielefeld.de
Hochschulrechenzentrum
Universität Bielefeld http://www.uni-bielefeld.de/hrz
Postfach 100131
33501 Bielefeld
Raum: V0 - 271
Fon +49 (0)521 106 4953 (Sekr. 4951)
Fax +49 (0)521 106 2969
More information about the Linux
mailing list