Postfix als SASL Client: No worthy mechs found

Stefan U. Hegner stefan at hegner-online.de
Fri Feb 25 11:10:22 CET 2005


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)

Trotz Google und viel Testerei komme ich da irgendwie nicht weiter.

Any hints?

Danke

Stefan.



-- 
/ Stefan Ulrich Hegner aka "Hegi" - Loehne/ Westfalen - Germany \
| stefan at hegner-online.de, my Cyberhome http://www.hegner-web.de|
\ GPG-Fprint D9DB 51BD 2DA6 9B3A 41CB  0287 05A1 8D11 38BA CE91 /
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://lug-owl.de/pipermail/linux/attachments/20050225/2971a636/attachment.sig>


More information about the Linux mailing list