Postfix als SASL Client: No worthy mechs found

Thomas Niesel thomas_n at freenet.de
Sun Feb 27 21:16:40 CET 2005


Hallo Stefan Ulrich Hegner
On Sun, 27 Feb 2005 19:04:46 +0100 you wrote:


Hier meine Anleitung nach laaaaaaangem probieren :(

Debian Packete rund um sasl
ii  libsasl2       2.1.18-4.1     Authentication abstraction library
ii  libsasl2-modules 2.1.18-4.1     Pluggable Authentication Modules for
SASL

dto. postfix
ii  postfix        2.1.3-1        A high-performance mail transport agent
ii  postfix-pcre   2.1.3-1        PCRE map support for Postfix
ii  postfix-tls    2.1.3-1        TLS and SASL support for Postfix

Eintraege in der main.cf
# sasl auth for outgoing mails
smtp_sasl_auth_enable=yes
smtp_sasl_password_maps=hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options=noanonymous

sasl_passwd anlegen und fuellen mit:
# server user:passwd
mx.freenet.de   thomas_n at freenet.de:SAG_ICH_NICHT
                     ^^^^^^^^^^^^^^^^^^^^!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Merke, alle ausgehenden mails, auch die fuer andere accounts, gehen ueber
diese authentifizierung!

Der Server muss der selbe sein den du in der main.cf als
relayhost angegeben hast.

Danach noch:
postmap sasl_passwd
postfix reload und probieren, sollte gehen.

Zum verbosen betrachten, bitte folgende Zeilen in die main.cf versenken:
debug_peer_level = 4
debug_peer_list=freenet.de (oder was immer du nutzt)
postfix reloaden und die mail.info studieren



-- 
Tho/\/\as



More information about the Linux mailing list