-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday, 2023-03-04 at 00:11 +0100, Freek de Kruijf wrote:
My new provider offers on port 587 "250-AUTH GSSAPI NTLM" I am trying to configure my postfix using as relayhost this smtp server. Using kmail I am able to simply provide the username, an email address, and a password. However I have a script that has to send an email. I use mailx to do that, which sends the message to postfix and postfix should send it to the server of my provider.
My previous provider offered LOGIN an PLAIN, for which it apparently was easy to configure Postfix.
I configured both NTLM and GSSAPI as mechanisms in Postfix. In /etc/postfix/ sasl_passwd the username and password are configured.
Error messages in /var/log/mail: postfix/smtp[14307]: warning: SASL authentication failure: GSSAPI Error: No credentials were supplied, or the credentials were unavailable or inaccessible (No Kerberos credentials available (default cache: KEYRING:persistent:51))
postfix/smtp[14307]: 92C8D101152: to=<xxxxx@yyyyy.nl>, relay=smtp.yyyyy.nl[212.113.64.zz]:587, delay=16453, delays=16453/0.02/0.14/0, dsn=4.7.0, status=deferred (SASL authentication failed; cannot authenticate to server smtp.delta.nl[212.113.64.82]: generic failure)
I am confused about why the need to configure for "NTLM and GSSAPI" as you say. I don't configure for any, I just let postfix figure it out on its own. But I don't seem to have any provider that uses those methods. cer@Telcontar:~> zgrep -i postfix /var/log/mail*z | grep -i "GSSAPI\|NTLM" cer@Telcontar:~> - -- Cheers, Carlos E. R. (from openSUSE 15.4 x86_64 at Telcontar) -----BEGIN PGP SIGNATURE----- iHoEARECADoWIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCZAKX1Rwccm9iaW4ubGlz dGFzQHRlbGVmb25pY2EubmV0AAoJELUzGBxtjUfVkbsAniD6u3frbbfo1UhrbxP+ Dv/NHDB/AJ4mXGsQVNbukqacvn2Qfeb7Pq0Vsg== =Ls8A -----END PGP SIGNATURE-----