Hello,
I have a problem with SMTP authentication.
Configured SMTP server is allowing: AUTH PLAIN LOGIN NTLM
For some reason NTLM method is not working (I tried with curl on the command line interface all available methods - PLAIN, LOGIN and NTLM and only NTLM is not working. Unfortunately I'm not sure whether the problem is with curl itself (curl 7.64.0) or with the SMTP server (didn't have a time to read how to simulate NTLM authentication with the old school way with telnet ...)
I would like to force zabbix-server/curl to use one of the other authentication methods - PLAIN or LOGIN. Is there any simple way to do that?
I've read about CURLOPT_LOGIN_OPTIONS, but obviously I don't understand it well. My assumption was that I have to do something like CURLOPT_LOGIN_OPTIONS="AUTH=PLAIN" which I added into EnvironmentFile=-/etc/default/zabbix-server, reloaded the zabbix daemon, checked CURLOPT_LOGIN_OPTIONS is properly set (cat /proc/<pid>/environ), but zabbix is still trying to use NTLM method.
Any help is highly appreciated!
Regards,
Plamen
I have a problem with SMTP authentication.
Configured SMTP server is allowing: AUTH PLAIN LOGIN NTLM
For some reason NTLM method is not working (I tried with curl on the command line interface all available methods - PLAIN, LOGIN and NTLM and only NTLM is not working. Unfortunately I'm not sure whether the problem is with curl itself (curl 7.64.0) or with the SMTP server (didn't have a time to read how to simulate NTLM authentication with the old school way with telnet ...)
I would like to force zabbix-server/curl to use one of the other authentication methods - PLAIN or LOGIN. Is there any simple way to do that?
I've read about CURLOPT_LOGIN_OPTIONS, but obviously I don't understand it well. My assumption was that I have to do something like CURLOPT_LOGIN_OPTIONS="AUTH=PLAIN" which I added into EnvironmentFile=-/etc/default/zabbix-server, reloaded the zabbix daemon, checked CURLOPT_LOGIN_OPTIONS is properly set (cat /proc/<pid>/environ), but zabbix is still trying to use NTLM method.
Any help is highly appreciated!
Regards,
Plamen
Comment