I hope somebody can help with this.
I have a shell, that in case of failure, sends an email (relaying through an Exchange Server). This Exchange server only offers NTLM authentication.
This is the configuration I have:
Postfix 2.1.1 as client.
Cyrus-SASL installed (without NTLM plugin):
linux:/usr/local/sbin # rpm -q cyrus-sasl
As this version of cyrus-sasl 2.1.18 did not have the cyrus-sasl-ntlm plugin, I had to download the cyrus-sasl-2.1.25 and compile with --enable-ntlm option.
So I got installed ntlm plugin in /usr/local/lib/sasl2/
rwxr-xr-x 1 root root 89921 Jun 24 22:55 libntlm.so.2.0.25
lrwxrwxrwx 1 root root 17 Jun 24 22:55 libntlm.so.2 -> libntlm.so.2.0.25
lrwxrwxrwx 1 root root 17 Jun 24 22:55 libntlm.so -> libntlm.so.2.0.25
But in test this error shows in maillog
warning: SASL authentication failure: No worthy mechs found
send attr reason = delivery via 184.108.40.206[220.127.116.11]: Authentication failed: cannot SASL authenticate to server 18.104.22.168[22.214.171.124]: no mechanism available
By the way, command "pluginviewer" does not show that ntlm plugin is loaded.
Any ideas, suggestions to this would be very appreciated. (I've been dealing with this issue many days)
Thanks in advance !!