On Thu, Jul 06, 2023 at 08:10:39AM +0200, Ede Wolf via Postfix-users wrote:
> > BINGO! The server is advertising CRAM-MD5, and unless you filter it out
> > SASL will attempt to use that instead of plain. Therefore, in the
> > proposed "master.cf" entry you also need:
> >
> > -o { smtp_sasl_mechanism_filter = plain }
>
> Well, I did not before my last post. Doing telnet style mail
> communication with TLS came up during my try to fixing this this.
>
> However, smtp_sasl_mechanism = plain
> did not work either, but "login" made my day.
Of course not, it should be:
smtp_sasl_mechanism_filter = plain
I am surprised to hear that "login" works and "plain" does not, are you
sure about that? You can also set the filter to:
smtp_sasl_mechanism_filter = plain, login
and let SASL choose whichever it prefers when both are offered.
> > See: https://www.postfix.org/postconf.5.html#smtp_sasl_mechanism_filter
>
> Thanks, I misread this one, I have misunderstood the sasl mechanisms as
> in password, gssapi.. I guess I'll never understand sasl.
The mechanism name is "PLAIN" or "plain" (case insensitive). Both
"PLAIN" and "LOGIN" use cleartext passwords, there is no mechanism
named "password".
--
Viktor.
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]