Postfix als SASL Client: No worthy mechs found
Stefan Ulrich Hegner
stefan at hegner-online.de
Sun Feb 27 19:04:46 CET 2005
Moin Joern, Flo, *
danke für Euren Input. Leider hab' ich damit aber immer noch keinen
Start machen können. - Dabei ist SMTP_AUTH über MUA so simpel. Das muss
doch möglich sein, dass ich das dem Postfix beibiege ...
Am Freitag, den 25.02.2005, 15:53 +0100 schrieb Joern Stenkamp:
/etc/postfix/sasl/smtpd.conf
> >>
> >> pwcheck_method: saslauthd
> >> mech_list: PLAIN LOGIN
> mehr als diese beiden Eintäge kommen dort nicht rein. Die "mech-list"
> musst du natürlich an deine Config anpassen (je nach dem welche Methode
> du machen willst).
War ein heißer Tipp - hat aber leider keine Veränderung gebracht. -
Schade.
Am Freitag, den 25.02.2005, 18:47 +0100 schrieb Florian Lohoff:
> On Fri, Feb 25, 2005 at 11:10:22AM +0100, Stefan U. Hegner wrote:
> > > 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 - Fuer mich hoert sich das so an als koenne oder wolle dein postfix
> kein PLAIN oder LOGIN was ja auch ohne SSL sinnvoll ist.
Hmmmm. Lassen wir für den Moment die Sinnfrage mal außen vor. Es geht ja erstmal ums
verstehen. Und ich verstehe das auch so, dass mein Postfix ein Problem damit hat sich
beim remote Postfix zu authentifizieren.
> sasl module installieren fuer plaintext
Das habe ich:
Am Freitag, den 25.02.2005, 11:10 +0100 schrieb Stefan U. Hegner:
Debian-Sarge, postfix-tls & libsasl-modules-plain
^^^^^^^^^^^^^^^^^^^^^
> und mal nachsehen mit was du deinem postfix gestattest sich zu authentisieren.
Am Freitag, den 25.02.2005, 11:10 +0100 schrieb Stefan U. Hegner:
> smtp_sasl_security_options =
= "erlaube alles - auch plaintext und anonymous"
> smtp_sasl_mechanism_filter =
= "erlaube alle vom Remote-Server angebotenen Mechanismem"
Dennoch sagt mir mein Log:
Feb 27 18:39:03 tambala postfix/pickup[11539]: 7C9B2F7C8: uid=1000 from=<ich at meine.box>
Feb 27 18:39:03 tambala postfix/cleanup[11552]: 7C9B2F7C8: message-id=<1109525942.8814.4.camel at meine.box>
Feb 27 18:39:03 tambala postfix/qmgr[11540]: 7C9B2F7C8: from=<ich at meine.box>, size=465, nrcpt=1 (queue active)
Feb 27 18:39:04 tambala postfix/smtp[11542]: < smtp.myhosting.de[217.175.253.222]: 220 brain.myhosting.de ESMTP
Feb 27 18:39:04 tambala postfix/smtp[11542]: > smtp.myhosting.de[217.175.253.222]: EHLO meine.box
Feb 27 18:39:04 tambala postfix/smtp[11542]: < smtp.myhosting.de[217.175.253.222]: 250-brain.myhosting.de
Feb 27 18:39:04 tambala postfix/smtp[11542]: < smtp.myhosting.de[217.175.253.222]: 250-PIPELINING
Feb 27 18:39:04 tambala postfix/smtp[11542]: < smtp.myhosting.de[217.175.253.222]: 250-8BITMIME
Feb 27 18:39:04 tambala postfix/smtp[11542]: < smtp.myhosting.de[217.175.253.222]: 250-SIZE 0
Feb 27 18:39:04 tambala postfix/smtp[11542]: < smtp.myhosting.de[217.175.253.222]: 250 AUTH LOGIN PLAIN
... der Remote Postfix bietet mir PLAIN und LOGIN an ...
Feb 27 18:39:04 tambala postfix/smtp[11542]: server features: 0x2f size 0
Feb 27 18:39:04 tambala postfix/smtp[11542]: maps_find: smtp_sasl_passwd: hash:/etc/postfix/sasl_passwd(0,100): smtp.myhosting.de = <user>:<pass>
Feb 27 18:39:04 tambala postfix/smtp[11542]: smtp_sasl_passwd_lookup: host `smtp.myhosting.de' user `<user>' pass `<pass>'
... ich habe eine gültige Identität in der DB (habe ich nochmal mit swaks geprüft) ...
Feb 27 18:39:04 tambala postfix/smtp[11542]: starting new SASL client
Feb 27 18:39:04 tambala postfix/smtp[11542]: smtp_sasl_authenticate: smtp.myhosting.de[217.175.253.222]: SASL mechanisms LOGIN PLAIN
... ist das jetzt eine Wiederholung dessen, was die Remote-Site kann, oder das was der Client kann?
Feb 27 18:39:04 tambala postfix/smtp[11542]: warning: SASL authentication failure: No worthy mechs found
... wie auch immer, wir kommen nicht zusammen ... Schade.
Feb 27 18:39:04 tambala postfix/smtp[11542]: connect to subsystem private/defer
Feb 27 18:39:04 tambala postfix/smtp[11542]: send attr nrequest = 0
Feb 27 18:39:04 tambala postfix/smtp[11542]: send attr flags = 0
Feb 27 18:39:04 tambala postfix/smtp[11542]: send attr queue_id = 7C9B2F7C8
Feb 27 18:39:04 tambala postfix/smtp[11542]: send attr original_recipient = ich at andere.box
Feb 27 18:39:04 tambala postfix/smtp[11542]: send attr recipient = ich at andere.box
Feb 27 18:39:04 tambala postfix/smtp[11542]: send attr offset = 169
Feb 27 18:39:04 tambala postfix/smtp[11542]: send attr status = 4.0.0
Feb 27 18:39:04 tambala postfix/smtp[11542]: send attr action = delayed
Feb 27 18:39:04 tambala postfix/smtp[11542]: send attr reason = Authentication failed: cannot SASL authenticate to server smtp.myhosting.de[21
7.175.253.222]: no mechanism available
Irgendwie komme ich da immer noch nicht weiter.
Gruß
Stefan.
-------------- 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/20050227/b4ed282b/attachment.sig>
More information about the Linux
mailing list