postfix smtp_sasl_auth
Alain Schroeder
alain at parkautomat.net
Mon Mar 11 12:05:07 CET 2002
On Mon, Mar 11, 2002 at 11:24:51AM +0100, Andre Landwehr wrote:
> Hi,
> der Host, den ich gerne als Relay verwenden möchte
> (mail.gmx.net) verlangt Authentifizierung nach rfc2554. In meiner
> main.cf steht:
> relayhost = mail.gmx.net
> smtp_sasl_auth_enable = yes
> smtp_sasl_security_options = noanonymous
> smtp_sasl_password_maps = hash:/etc/postfix/smtp_passwords
>
> und die smtp_passwords enthält:
> mail.gmx.net username:passwort
>
> Das db File hab ich natürlich auch erzeugt. Trotzdem bekomme ich
> keine Nachrichten raus:
> (Authentication failed: cannot SASL authenticate to server
> mail.gmx.net[213.165.64.20]: no mechanism available)
>
> Laut der Doku, die ich gefunden hab, sollte das aber so gehen..
> was mach ich also falsch?
>
Ich habe das ganze auch mal Debian gemacht. Wenn du Debian benutzt, dann
mußt du sasl erst selbst einkompilieren. Oh, moment... Es scheint
inzwischen zu reichen, wenn du postfix-tls installierst.
Bei mir hat das damals funktioniert, wenn ich als username die
Kundennummer benutzt habe (also nicht andre.landwehr at gmx.de). Allerdings
haben die dann immer nur eMail von <addresse at gmx.tld> angenommen, was
mir lange nicht ausreichte.
Ich habe mal ein Grep auf meine Konfigs gemacht, aber ob das jetzt
Einstellungen sind, die als Beispiel drin stehen, oder ob ich die
reingeschrieben habe und dann auskommentiert habe, weiß ich auch nicht
mehr...
main.cf:#smtp_sasl_auth_enable = yes
main.cf:#smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
main.cf:#smtp_sasl_security_options
master.cf:#smtps inet n - n - - smtpd -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
master.cf:#587 inet n - n - - smtpd -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
Weitere Tips kann ich dir leider auch nicht geben...
Ciao,
Alain
--
"I can't understand why people are frightened of new ideas. I'm frightened
of the old ones." -- John Cage
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://lug-owl.de/pipermail/linux/attachments/20020311/cac647c3/attachment.sig>
More information about the Linux
mailing list